Metadata-Version: 2.4
Name: crank
Version: 0.9.0
Summary: Generalization of dispatch mechanism for use across frameworks
Author-email: Christopher Perkins <chris@percious.com>
License: MIT
Project-URL: Homepage, https://github.com/TurboGears/crank
Project-URL: Documentation, https://github.com/TurboGears/crank
Project-URL: Repository, https://github.com/TurboGears/crank
Project-URL: Issues, https://github.com/TurboGears/crank/issues
Keywords: dispatch,web,turbogears
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
Requires-Dist: webob>=1.8.0
Provides-Extra: testing
Requires-Dist: pytest>=7.0; extra == "testing"
Requires-Dist: pytest-cov; extra == "testing"
Dynamic: license-file

Crank
==============

.. image:: https://travis-ci.org/TurboGears/crank.png
    :target: https://travis-ci.org/TurboGears/crank

.. image:: https://coveralls.io/repos/TurboGears/crank/badge.png
    :target: https://coveralls.io/r/TurboGears/crank

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
