Generalized Object based Dispatch mechanism for use across frameworks.
License
Crank is licensed under an MIT-style license (see LICENSE.txt). Other incorporated projects may be licensed under different licenses. All licenses allow for non-commercial and commercial use.
ChangeLog
0.9.0
Codebase modernized, dropped Python 2 support (now requires Python >= 3.10)
Raise Bad Request on missing REST parameters
0.8.1
Improved support for decorated functions that provide __wrapped__.
0.8.0
New DispatchState api ( See http://turbogears.readthedocs.io/en/tg2.3.8/reference/classes.html#crank.dispatchstate.DispatchState )
Support for flattening function arguments through crank.utils.flatten_arguments
crank.utils.remove_argspec_params_from_params deprecated
0.7.3
Add initial support for Python 3.5
0.7.2
Fix issue with parameters with None value when preparing positional arguments for dispatch.
0.7.1
Fix issue that in some cased caused _lookup to not be called for RestDispatcher
Speedup permission checks, in some conditions they were performed twice
Python 3.4 is now officially supported
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 crank-0.9.0.tar.gz.
File metadata
- Download URL: crank-0.9.0.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
823df091e2d694bb4fba83ff921e590be3c106494eaac9c8a8c150b617e8b827
|
|
| MD5 |
b45f1dfe2937c829aa79426b3b5773e7
|
|
| BLAKE2b-256 |
8dbcf8703633c4d4263bc7caefd2621452204c73ce94348bd6c34e504fa99e51
|
File details
Details for the file crank-0.9.0-py3-none-any.whl.
File metadata
- Download URL: crank-0.9.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a00c506f0003a7e7c1f14d4e9f1388737aee19b1397e78ef0fd37386a740e1
|
|
| MD5 |
3266ec8bf25a4a03137d0f1ba3b68ede
|
|
| BLAKE2b-256 |
010e50e27edd996a817521ed1265c29b5f7d7785a5fa39937b8d36f72f6dcaf6
|