The Python Web Framework for developers who like to get shit done
Project description
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.
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
Built Distribution
File details
Details for the file ratio-0.4.0.tar.gz
.
File metadata
- Download URL: ratio-0.4.0.tar.gz
- Upload date:
- Size: 36.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Darwin/22.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73794ee0e33b4fb73b0570644b2092587a969d861bd0974940ad5d5be6b3ccde |
|
MD5 | cc581bb477b7e1ed6a0298598bbca1cc |
|
BLAKE2b-256 | 685cfe6711b97a5f9eed61910ab6936ea548a48eba7f0d3c8388e9f052f17de6 |
File details
Details for the file ratio-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: ratio-0.4.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Darwin/22.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac8e833873b7147da5517b86c2f88537fc08232276836273a087444ef4e15d43 |
|
MD5 | fa55f0d41055a3025486765215712dde |
|
BLAKE2b-256 | 74033e7a6a3c68149b16309a77552ab40c3a6f8c8507217dd618b680c9956c58 |