``sigtools``: utilities to manipulate callable objects' signatures
==================================================================
The ``sigtools`` python library provides:
* ``sigtools.signature`` to resolve function signatures,
taking into account parameters added or removed by decorators.
* Decorators to specify keyword-only parameters, annotations and
positional-only parameters, even on python2: ``sigtools.modifiers``
* Decorators to specify how ``*args, **kwargs`` are handled, in a way
that can be introspected: ``sigtools.specifiers``
* Function combination routines that preserve signatures: ``sigtools.wrappers``
* Functions to manipulate signature objects likewise: ``sigtools.signatures``
The documentation can be found at Read The Docs:
https://sigtools.readthedocs.org
Installing
----------
Within a `virtualenv
<https://virtualenv.readthedocs.org/en/latest/virtualenv.html>`_::
$ pip install sigtools
Or for a user-wide install::
$ pip install --user sigtools
Raw data
{
"_id": null,
"home_page": "https://sigtools.readthedocs.io/",
"name": "sigtools",
"maintainer": "",
"docs_url": "https://pythonhosted.org/sigtools/",
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "introspection signature",
"author": "Yann Kaiser",
"author_email": "kaiser.yann@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5f/db/669ca14166814da187b3087b908ca924cf83f5b504fe23b3859a3ef67d4f/sigtools-4.0.1.tar.gz",
"platform": null,
"description": "``sigtools``: utilities to manipulate callable objects' signatures\n==================================================================\n\nThe ``sigtools`` python library provides:\n\n* ``sigtools.signature`` to resolve function signatures,\n taking into account parameters added or removed by decorators.\n* Decorators to specify keyword-only parameters, annotations and\n positional-only parameters, even on python2: ``sigtools.modifiers``\n* Decorators to specify how ``*args, **kwargs`` are handled, in a way\n that can be introspected: ``sigtools.specifiers``\n* Function combination routines that preserve signatures: ``sigtools.wrappers``\n* Functions to manipulate signature objects likewise: ``sigtools.signatures``\n\nThe documentation can be found at Read The Docs:\nhttps://sigtools.readthedocs.org\n\nInstalling\n----------\n\nWithin a `virtualenv\n<https://virtualenv.readthedocs.org/en/latest/virtualenv.html>`_::\n\n $ pip install sigtools\n\nOr for a user-wide install::\n\n $ pip install --user sigtools\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Utilities for working with inspect.Signature objects.",
"version": "4.0.1",
"project_urls": {
"Homepage": "https://sigtools.readthedocs.io/"
},
"split_keywords": [
"introspection",
"signature"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1f91853dbf6ec096197dba9cd5fd0c836c5fc19142038b7db60ebe6332b1bab1",
"md5": "e87e8ab4a5a04f13e00cbf95049f2e09",
"sha256": "d216b4cf920bbab0fce636ddc429ed8463a5b533d9e1492acb45a2a1bc36ac6c"
},
"downloads": -1,
"filename": "sigtools-4.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "e87e8ab4a5a04f13e00cbf95049f2e09",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 76419,
"upload_time": "2022-10-13T07:03:52",
"upload_time_iso_8601": "2022-10-13T07:03:52.658736Z",
"url": "https://files.pythonhosted.org/packages/1f/91/853dbf6ec096197dba9cd5fd0c836c5fc19142038b7db60ebe6332b1bab1/sigtools-4.0.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5fdb669ca14166814da187b3087b908ca924cf83f5b504fe23b3859a3ef67d4f",
"md5": "09e35fa5064f3b5d355e4f7d33a087b1",
"sha256": "4b8e135a9cd4d2ea00da670c093372d74e672ba3abb87f4c98d8e73dea54445c"
},
"downloads": -1,
"filename": "sigtools-4.0.1.tar.gz",
"has_sig": false,
"md5_digest": "09e35fa5064f3b5d355e4f7d33a087b1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 71910,
"upload_time": "2022-10-13T07:03:54",
"upload_time_iso_8601": "2022-10-13T07:03:54.149117Z",
"url": "https://files.pythonhosted.org/packages/5f/db/669ca14166814da187b3087b908ca924cf83f5b504fe23b3859a3ef67d4f/sigtools-4.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-10-13 07:03:54",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "sigtools"
}