Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

pyapi_framework-0.0.1-py3-none-any.whl (28.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page