Codegen tooling to maintain synchronous and asynchronous Django APIs
Project description
django-unasyncify is a project to help maintain sync and async implementations of APIs, focused on code relying on Django’s asynchronous API design.
It uses code generation to create separate sets of functions, that have no runtime dependencies on django-unasyncify nor do they rely on any wrappers to manage functionality, meaning there are no runtime costs to using this tool.
It helps you to transform code like:
def asave_instance(qs): await (await qs.aget()).asave()
into:
def save_instance(qs): qs.get().save()
Please check out the documentation for more details on how this project works and tips on how to use it.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_unasyncify-0.1.1.tar.gz.
File metadata
- Download URL: django_unasyncify-0.1.1.tar.gz
- Upload date:
- Size: 245.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2c78255e69e0e24cd3264d9f087836d714fda2053427547caf191fe453521c4
|
|
| MD5 |
fef9f1d28e89251dfb5d86d3411cb1b7
|
|
| BLAKE2b-256 |
475a7fbd3b8722eafdc75f74692b9eedabfeb4407064a14aa3cbe560dbac2d7b
|
File details
Details for the file django_unasyncify-0.1.1-py3-none-any.whl.
File metadata
- Download URL: django_unasyncify-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a57b1e2aa9585c8c0ab87480277dfc46dc0ef421f4c5efcd8f4b0114b2a36b9
|
|
| MD5 |
98ed89f2cf3b2996fbedbdd769e8eebc
|
|
| BLAKE2b-256 |
06b2725c45af8b6cafd89ad7c1251e3dcededea5753bcae221d44fc93ffe01cc
|