Metadata-Version: 2.1
Name: wemulate-api
Version: 2.0.0
Summary: API for the modern WAN Emulator (WEmulate)
Home-page: https://wemulate.github.io/wemulate
License: GNU General Public License v3.0
Author: Julian Klaiber
Author-email: julian.klaiber@ost.ch
Requires-Python: >=3.8,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: Jinja2 (==3.1.2)
Requires-Dist: MarkupSafe (==2.1.1)
Requires-Dist: Werkzeug (==2.1.2)
Requires-Dist: aniso8601 (==9.0.1)
Requires-Dist: attrs (==21.4.0)
Requires-Dist: click (==8.1.3)
Requires-Dist: fastapi (==0.70.0)
Requires-Dist: itsdangerous (==2.1.2)
Requires-Dist: jsonschema (==4.7.2)
Requires-Dist: pyrsistent (==0.18.1)
Requires-Dist: pytz (==2022.1)
Requires-Dist: six (==1.16.0)
Requires-Dist: uvicorn (==0.15.0)
Requires-Dist: wemulate (>=2.0.0,<3.0.0)
Project-URL: Documentation, https://wemulate.github.io/wemulate
Project-URL: Repository, https://github.io/wemulate/wemulate
Description-Content-Type: text/markdown

**A modern WAN Emulator developed by the Institute for Networked Solutions**
# WEmulate API Module
This is the API module which builds on the [CLI module](https://github.com/wemulate/wemulate).

Have a look at the [documentation](https://wemulate.github.io/wemulate) for detailed information.

## Installation
Install the API module via the install script:
```bash
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/wemulate/wemulate/main/install/install.sh)"
```

## Development
Configure poetry to create the environment inside the project path, in order that VSCode can recognize the virtual environment.
```
$ poetry config virtualenvs.in-project true
```
Install the virtualenv.
```
$ poetry install
```
Start the application with the following command:
```
$ uvicorn api.app:app --host 0.0.0.0 --port 8080 --reload
```
