A simple python REST api framework.
Project description
pyapi Framework
A simple python REST api framework.
Requirements
- python >= 3
- pip
How to Run pyapi
Navigate to project folder and run the following to start the server:
python3 main.py
Default pyapi architecture
-
main.py:
Includes http server where server url and port are set. -
routes.py:
Includes methods for routes set in service_handler.py. -
service_handler.py:
Services required for headers, routes dictionary and GET/POST/PUT/DELETE methods.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyapi-framework-0.0.1.tar.gz
(14.5 kB
view details)
Built Distribution
File details
Details for the file pyapi-framework-0.0.1.tar.gz
.
File metadata
- Download URL: pyapi-framework-0.0.1.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ff780cdf846a5bd404707424eb7d59190958bc55868d30d89f7e5d550ce63c |
|
MD5 | e82231dbaf05cefee5750a21b7691f1e |
|
BLAKE2b-256 | 8fc9dd0703772606a5b41e90e023fb1f379a8118f635298c3ea8b4805c7b97cc |
File details
Details for the file pyapi_framework-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyapi_framework-0.0.1-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2006a2f29a4aaf5e2378200cb99864fcb65903b323de9b5789e698707891aa |
|
MD5 | 4975346fabee6451b73563349c4c8421 |
|
BLAKE2b-256 | 0abcbf911de3e254e5b721e4e5876cb8dc6528466edadc8b517de61d4d452ca7 |