-
-
Notifications
You must be signed in to change notification settings - Fork 947
Complementary Packages
Vytautas Liuolia edited this page Dec 2, 2024
·
17 revisions
If you have found a package particularly helpful in your project, and you don't see it below, please consider editing this page and adding it. Thanks!
This page provides examples of general-purpose (i.e., not Falcon-specific) Python packages that complement the Falcon web framework. This list is not meant to be exhaustive, or to be interpreted as any kind of endorsement of these packages. Rather, it simply provides a starting point from which to begin your own exploration of potentially useful projects from the Python community.
- Sessions and caching
- Cryptography
- Plugin Management
- Configuration
- Forms
-
streaming-form-data
- Use to parse
multipart/form-data
in chunks (Editor's Note: As of 3.0+, Falcon supports efficient parsing of multipart forms out of the box.)
- Use to parse
-
streaming-form-data
- Serialization
- alchemize
-
ijson
- Iterative JSON parser
- jsonschema
- marshmallow
- msgpack
-
msgspec
- One of the fastest data serialization and validation libraries; supports JSON, Msgpack and YAML
-
orjson
- A fast JSON library wrapping Rust's Serde
- python-rapidjson
-
ujson
- Warning: Only use with CPython (ujson is actually slower than json on PyPy)
- Request validation
- Databases
- Files
-
aiofiles
- For use with Falcon's ASGI apps
-
aiofiles
- Rate Limiting
- Testing
- pytest
- specter
- pretend
- testing.postgresql
-
pifpaf
- Similar to
testing.postgresql
, but supports many popular databases
- Similar to
👉 In addition to the above Python packages, you may want to check out OAuth, rate-limiting, and other features offered by popular open-source API gateways: