Skip to main content

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)

Source distribution for ratio 0.4.0
File Size Uploaded
ratio-0.4.0.tar.gz 36.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ratio 0.4.0
File Interpreter ABI Platform
ratio-0.4.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page