Ratio
The Python web framework for developers who want to get shit done.
Ratio is currently being developed and all releases in this phase may introduce breaking changes until further notice. Please do not use Ratio in production without carefully considering the consequences.
What is Ratio?
Ratio is an asynchronous Python web framework that was built with developer experience in mind. Quick to learn for those who just start out with programming and powerful so that senior developers can build high performance web applications with it. The framework is designed with the Goldilocks principle in mind: just enough. Enough power to run high performance web applications, enough intuitive design, so that developers can easily pick up on the principles.
Ratio borrows ideas from great frameworks, like Django, FastAPI and Next.js. It combines those ideas with original concepts to improve the life of a developer when building web applications for any purpose.
Ready out of the box
Ratio will be shipped with a custom and extensible command line interface, which can be used to perform actions within a project.
This is what we aim Ratio to do:
- File based routing: Intuitive routing for each incoming request, based on file system.
- Integrates with databases: Connect to SQL or SQLite databases from within the application controllers.
- Write once, use everywhere: Do not repeat yourself, by defining models, routes and actions you can use them throughout the application.
- Adheres to standards: API views are based on OpenAPI and the JSON schema standard.
This list is not complete and will be extended after certain releases in the pre-release phase.
Minimal external dependencies
Currently, Ratio only requires the rich package from outside the Python standard library, which is used
for rendering beautiful output to the command line. In a future version of Ratio, we might want to remove this direct
dependency for users who really want to have no external dependencies.
Metadata
Release files for ratio 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ratio-0.4.0.tar.gz | 36.8 kB | Without provenance | Details for ratio-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ratio-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for ratio-0.4.0-py3-none-any.whl |
Total release size: 54.1 kB
Release files / ratio-0.4.0.tar.gz
| Download URL | ratio-0.4.0.tar.gz |
|---|---|
| Size | 36.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73794ee0e33b4fb73b0570644b2092587a969d861bd0974940ad5d5be6b3ccde
|
|
BLAKE2b-256 checksum How to use checksums |
685cfe6711b97a5f9eed61910ab6936ea548a48eba7f0d3c8388e9f052f17de6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.11.1 Darwin/22.5.0
|
Release files / ratio-0.4.0-py3-none-any.whl
| Download URL | ratio-0.4.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac8e833873b7147da5517b86c2f88537fc08232276836273a087444ef4e15d43
|
|
BLAKE2b-256 checksum How to use checksums |
74033e7a6a3c68149b16309a77552ab40c3a6f8c8507217dd618b680c9956c58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.1 CPython/3.11.1 Darwin/22.5.0
|
Security for ratio 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.