Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joacod/python-playground-api
Python playground Web API
https://github.com/joacod/python-playground-api
Last synced: 21 days ago
JSON representation
Python playground Web API
- Host: GitHub
- URL: https://github.com/joacod/python-playground-api
- Owner: joacod
- License: gpl-3.0
- Created: 2023-03-16T16:59:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T15:39:36.000Z (almost 2 years ago)
- Last Synced: 2024-11-05T09:33:15.458Z (2 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Playground
Python playground Web API using [Flask](https://flask.palletsprojects.com/en/2.2.x/)
## Prerequisites
- [Install Python](https://www.python.org/downloads/)## Setup
- At root of project, create a virtual environment:
- `python3 -m venv .venv` (macOS/Linux)
- `python -m venv .venv` (Windows)- Activate the virtual environment:
- `. .venv/bin/activate` (macOS/Linux)
- `.venv\Scripts\activate` (Windows)- Install dependencies:
- `pip install -r requirements.txt`## Run the application
At root folder run:
- `flask --app=app run`## Run Tests
At root folder run:
- `python -m unittest discover -p "*_test.py" -vv`