Skip to main content

fastapi rip-off

Project description

sypy.

the barely working fastapi-inspired HTTP API server!1

why?

why not? i wanted to learn some stuff, and also i kinda didnt like the overhead of fastapi either (come on, 25 function calls to get to the callback? i know in my case it aint better really, the packet goes through... 3 queues iirc? and also, wrk reports that in 1% of cases latency is like 1s :skull: and sometimes server doesnt even respond(???))

why dont you use xxx builtin lib or smth

i wanted to be (1) dependency-free (2) written in (as much as it goes) pure python from complete scratch

ps

it is still in very WIP state, codebase is a mess, documentation is basically non-existant (only example.py lmfao) and it may break sometimes

license

its gpl2

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

sypy-0.0.2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

sypy-0.0.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file sypy-0.0.2.tar.gz.

File metadata

  • Download URL: sypy-0.0.2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for sypy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6f37f4da10c6be138a464e86d6726961a0a61a26a65560d25fee31dc03f0c70c
MD5 2d5f4daab443f8133ff4fc1dc877c222
BLAKE2b-256 ac88c5ed40c79060465094fa1c5ea8ac8b76e08db590e6c2528712952746914f

See more details on using hashes here.

File details

Details for the file sypy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: sypy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for sypy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b84096f3754810ffd5b78b69deccbfe5980c47273f87f265b0f12ae581c8a95
MD5 e389f4ae9fe561c46b7c7f8b90ffae32
BLAKE2b-256 39d1bb3902a864c5e8dc15024535531ee53c6984c9399cb4850cfc1c1ed855d5

See more details on using hashes here.

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