Skip to main content

A minimal REST API framework using simple Python function decorators.

Project description

apieasy

A tiny, simple REST API framework for Python using decorators.
No Flask. No FastAPI.
Define endpoints using clean, minimal code.

Example

from apieasy import get, post, run

@get("/hello") def hello(): return {"message": "Hello World"}

run()

Installation

pip install apieasy

Usage

apieasy run

Features

  • Define routes with decorators
  • Auto JSON response
  • Minimal routing engine

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

apieasy-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apieasy-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file apieasy-0.1.0.tar.gz.

File metadata

  • Download URL: apieasy-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for apieasy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac170fba4f21f484e00d6ff4ee1b16ea617eccaa31e984c5b8e85c75cc410d81
MD5 24653a05778f4f4efa302a104f1bb635
BLAKE2b-256 3423e900113b9739345031cfa09577467d68ab112b19b6753e871e7c204cbd2c

See more details on using hashes here.

File details

Details for the file apieasy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: apieasy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for apieasy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 819cf3b3a4665065c7862676c4f86a1d68862bc71319ba4c3b8accbfe9933ff6
MD5 2cfb05b13e9876787c6c9b689a4325b2
BLAKE2b-256 b1067097ece0fd68c4038e1e5d301a25c5354725422bd4329b0351966f71d103

See more details on using hashes here.

Supported by

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