Skip to main content

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.

Metadata

Release files for pyapi-framework 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyapi-framework 0.0.1
File Size Uploaded
pyapi-framework-0.0.1.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyapi-framework 0.0.1
File Interpreter ABI Platform
pyapi_framework-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 42.7 kB

Release files / pyapi-framework-0.0.1.tar.gz

Download URL pyapi-framework-0.0.1.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f2ff780cdf846a5bd404707424eb7d59190958bc55868d30d89f7e5d550ce63c
BLAKE2b-256 checksum
How to use checksums
8fc9dd0703772606a5b41e90e023fb1f379a8118f635298c3ea8b4805c7b97cc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pyapi_framework-0.0.1-py3-none-any.whl

Download URL pyapi_framework-0.0.1-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a2006a2f29a4aaf5e2378200cb99864fcb65903b323de9b5789e698707891aa
BLAKE2b-256 checksum
How to use checksums
0abcbf911de3e254e5b721e4e5876cb8dc6528466edadc8b517de61d4d452ca7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page