funcsigs


Namefuncsigs JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttp://funcsigs.readthedocs.org
SummaryPython function signatures from PEP362 for Python 2.6, 2.7 and 3.2+
upload_time2016-04-25 22:22:33
maintainerNone
docs_urlNone
authorTesting Cabal
requires_pythonNone
licenseASL
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. funcsigs documentation master file, created by
   sphinx-quickstart on Fri Apr 20 20:27:52 2012.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Introducing funcsigs
====================

The Funcsigs Package
--------------------

``funcsigs`` is a backport of the `PEP 362`_ function signature features from
Python 3.3's `inspect`_ module. The backport is compatible with Python 2.6, 2.7
as well as 3.3 and up. 3.2 was supported by version 0.4, but with setuptools and
pip no longer supporting 3.2, we cannot make any statement about 3.2
compatibility.

Compatibility
`````````````

The ``funcsigs`` backport has been tested against:

* CPython 2.6
* CPython 2.7
* CPython 3.3
* CPython 3.4
* CPython 3.5
* CPython nightlies
* PyPy and PyPy3(currently failing CI)

Continuous integration testing is provided by `Travis CI`_.

Under Python 2.x there is a compatibility issue when a function is assigned to
the ``__wrapped__`` property of a class after it has been constructed.
Similiarily there under PyPy directly passing the ``__call__`` method of a
builtin is also a compatibility issues.  Otherwise the functionality is
believed to be uniform between both Python2 and Python3.

Issues
``````

Source code for ``funcsigs`` is hosted on `GitHub`_. Any bug reports or feature
requests can be made using GitHub's `issues system`_. |build_status| |coverage|

Example
-------

To obtain a `Signature` object, pass the target function to the
``funcsigs.signature`` function.

.. code-block:: python

    >>> from funcsigs import signature
    >>> def foo(a, b=None, *args, **kwargs):
    ...     pass
    ...
    >>> sig = signature(foo)
    >>> sig
    <funcsigs.Signature object at 0x...>
    >>> sig.parameters
    OrderedDict([('a', <Parameter at 0x... 'a'>), ('b', <Parameter at 0x... 'b'>), ('args', <Parameter at 0x... 'args'>), ('kwargs', <Parameter at 0x... 'kwargs'>)])
    >>> sig.return_annotation
    <class 'funcsigs._empty'>

Introspecting callables with the Signature object
-------------------------------------------------

.. note::

   This section of documentation is a direct reproduction of the Python
   standard library documentation for the inspect module.

The Signature object represents the call signature of a callable object and its
return annotation.  To retrieve a Signature object, use the :func:`signature`
function.

.. function:: signature(callable)

   Return a :class:`Signature` object for the given ``callable``::

      >>> from funcsigs import signature
      >>> def foo(a, *, b:int, **kwargs):
      ...     pass

      >>> sig = signature(foo)

      >>> str(sig)
      '(a, *, b:int, **kwargs)'

      >>> str(sig.parameters['b'])
      'b:int'

      >>> sig.parameters['b'].annotation
      <class 'int'>

   Accepts a wide range of python callables, from plain functions and classes to
   :func:`functools.partial` objects.

   .. note::

      Some callables may not be introspectable in certain implementations of
      Python.  For example, in CPython, built-in functions defined in C provide
      no metadata about their arguments.


.. class:: Signature

   A Signature object represents the call signature of a function and its return
   annotation.  For each parameter accepted by the function it stores a
   :class:`Parameter` object in its :attr:`parameters` collection.

   Signature objects are *immutable*.  Use :meth:`Signature.replace` to make a
   modified copy.

   .. attribute:: Signature.empty

      A special class-level marker to specify absence of a return annotation.

   .. attribute:: Signature.parameters

      An ordered mapping of parameters' names to the corresponding
      :class:`Parameter` objects.

   .. attribute:: Signature.return_annotation

      The "return" annotation for the callable.  If the callable has no "return"
      annotation, this attribute is set to :attr:`Signature.empty`.

   .. method:: Signature.bind(*args, **kwargs)

      Create a mapping from positional and keyword arguments to parameters.
      Returns :class:`BoundArguments` if ``*args`` and ``**kwargs`` match the
      signature, or raises a :exc:`TypeError`.

   .. method:: Signature.bind_partial(*args, **kwargs)

      Works the same way as :meth:`Signature.bind`, but allows the omission of
      some required arguments (mimics :func:`functools.partial` behavior.)
      Returns :class:`BoundArguments`, or raises a :exc:`TypeError` if the
      passed arguments do not match the signature.

   .. method:: Signature.replace(*[, parameters][, return_annotation])

      Create a new Signature instance based on the instance replace was invoked
      on.  It is possible to pass different ``parameters`` and/or
      ``return_annotation`` to override the corresponding properties of the base
      signature.  To remove return_annotation from the copied Signature, pass in
      :attr:`Signature.empty`.

      ::

         >>> def test(a, b):
         ...     pass
         >>> sig = signature(test)
         >>> new_sig = sig.replace(return_annotation="new return anno")
         >>> str(new_sig)
         "(a, b) -> 'new return anno'"


.. class:: Parameter

   Parameter objects are *immutable*.  Instead of modifying a Parameter object,
   you can use :meth:`Parameter.replace` to create a modified copy.

   .. attribute:: Parameter.empty

      A special class-level marker to specify absence of default values and
      annotations.

   .. attribute:: Parameter.name

      The name of the parameter as a string.  Must be a valid python identifier
      name (with the exception of ``POSITIONAL_ONLY`` parameters, which can have
      it set to ``None``).

   .. attribute:: Parameter.default

      The default value for the parameter.  If the parameter has no default
      value, this attribute is set to :attr:`Parameter.empty`.

   .. attribute:: Parameter.annotation

      The annotation for the parameter.  If the parameter has no annotation,
      this attribute is set to :attr:`Parameter.empty`.

   .. attribute:: Parameter.kind

      Describes how argument values are bound to the parameter.  Possible values
      (accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):

      +------------------------+----------------------------------------------+
      |    Name                | Meaning                                      |
      +========================+==============================================+
      | *POSITIONAL_ONLY*      | Value must be supplied as a positional       |
      |                        | argument.                                    |
      |                        |                                              |
      |                        | Python has no explicit syntax for defining   |
      |                        | positional-only parameters, but many built-in|
      |                        | and extension module functions (especially   |
      |                        | those that accept only one or two parameters)|
      |                        | accept them.                                 |
      +------------------------+----------------------------------------------+
      | *POSITIONAL_OR_KEYWORD*| Value may be supplied as either a keyword or |
      |                        | positional argument (this is the standard    |
      |                        | binding behaviour for functions implemented  |
      |                        | in Python.)                                  |
      +------------------------+----------------------------------------------+
      | *VAR_POSITIONAL*       | A tuple of positional arguments that aren't  |
      |                        | bound to any other parameter. This           |
      |                        | corresponds to a ``*args`` parameter in a    |
      |                        | Python function definition.                  |
      +------------------------+----------------------------------------------+
      | *KEYWORD_ONLY*         | Value must be supplied as a keyword argument.|
      |                        | Keyword only parameters are those which      |
      |                        | appear after a ``*`` or ``*args`` entry in a |
      |                        | Python function definition.                  |
      +------------------------+----------------------------------------------+
      | *VAR_KEYWORD*          | A dict of keyword arguments that aren't bound|
      |                        | to any other parameter. This corresponds to a|
      |                        | ``**kwargs`` parameter in a Python function  |
      |                        | definition.                                  |
      +------------------------+----------------------------------------------+

      Example: print all keyword-only arguments without default values::

         >>> def foo(a, b, *, c, d=10):
         ...     pass

         >>> sig = signature(foo)
         >>> for param in sig.parameters.values():
         ...     if (param.kind == param.KEYWORD_ONLY and
         ...                        param.default is param.empty):
         ...         print('Parameter:', param)
         Parameter: c

   .. method:: Parameter.replace(*[, name][, kind][, default][, annotation])

      Create a new Parameter instance based on the instance replaced was invoked
      on.  To override a :class:`Parameter` attribute, pass the corresponding
      argument.  To remove a default value or/and an annotation from a
      Parameter, pass :attr:`Parameter.empty`.

      ::

         >>> from funcsigs import Parameter
         >>> param = Parameter('foo', Parameter.KEYWORD_ONLY, default=42)
         >>> str(param)
         'foo=42'

         >>> str(param.replace()) # Will create a shallow copy of 'param'
         'foo=42'

         >>> str(param.replace(default=Parameter.empty, annotation='spam'))
         "foo:'spam'"


.. class:: BoundArguments

   Result of a :meth:`Signature.bind` or :meth:`Signature.bind_partial` call.
   Holds the mapping of arguments to the function's parameters.

   .. attribute:: BoundArguments.arguments

      An ordered, mutable mapping (:class:`collections.OrderedDict`) of
      parameters' names to arguments' values.  Contains only explicitly bound
      arguments.  Changes in :attr:`arguments` will reflect in :attr:`args` and
      :attr:`kwargs`.

      Should be used in conjunction with :attr:`Signature.parameters` for any
      argument processing purposes.

      .. note::

         Arguments for which :meth:`Signature.bind` or
         :meth:`Signature.bind_partial` relied on a default value are skipped.
         However, if needed, it is easy to include them.

      ::

        >>> def foo(a, b=10):
        ...     pass

        >>> sig = signature(foo)
        >>> ba = sig.bind(5)

        >>> ba.args, ba.kwargs
        ((5,), {})

        >>> for param in sig.parameters.values():
        ...     if param.name not in ba.arguments:
        ...         ba.arguments[param.name] = param.default

        >>> ba.args, ba.kwargs
        ((5, 10), {})


   .. attribute:: BoundArguments.args

      A tuple of positional arguments values.  Dynamically computed from the
      :attr:`arguments` attribute.

   .. attribute:: BoundArguments.kwargs

      A dict of keyword arguments values.  Dynamically computed from the
      :attr:`arguments` attribute.

   The :attr:`args` and :attr:`kwargs` properties can be used to invoke
   functions::

      def test(a, *, b):
         ...

      sig = signature(test)
      ba = sig.bind(10, b=20)
      test(*ba.args, **ba.kwargs)


.. seealso::

   :pep:`362` - Function Signature Object.
      The detailed specification, implementation details and examples.

Copyright
---------

*funcsigs* is a derived work of CPython under the terms of the `PSF License
Agreement`_. The original CPython inspect module, its unit tests and
documentation are the copyright of the Python Software Foundation. The derived
work is distributed under the `Apache License Version 2.0`_.

.. _PSF License Agreement: http://docs.python.org/3/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python
.. _Apache License Version 2.0: http://opensource.org/licenses/Apache-2.0
.. _GitHub: https://github.com/testing-cabal/funcsigs
.. _PSF License Agreement: http://docs.python.org/3/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python
.. _Travis CI: http://travis-ci.org/
.. _Read The Docs: http://funcsigs.readthedocs.org/
.. _PEP 362: http://www.python.org/dev/peps/pep-0362/
.. _inspect: http://docs.python.org/3/library/inspect.html#introspecting-callables-with-the-signature-object
.. _issues system: https://github.com/testing-cabal/funcsigs/issues

.. |build_status| image:: https://secure.travis-ci.org/aliles/funcsigs.png?branch=master
   :target: http://travis-ci.org/#!/aliles/funcsigs
   :alt: Current build status

.. |coverage| image:: https://coveralls.io/repos/aliles/funcsigs/badge.png?branch=master
   :target: https://coveralls.io/r/aliles/funcsigs?branch=master
   :alt: Coverage status

.. |pypi_version| image:: https://pypip.in/v/funcsigs/badge.png
   :target: https://crate.io/packages/funcsigs/
   :alt: Latest PyPI version
            

Raw data

            {
    "_id": null,
    "home_page": "http://funcsigs.readthedocs.org",
    "name": "funcsigs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Testing Cabal",
    "author_email": "testing-in-python@lists.idyll.org",
    "download_url": "https://files.pythonhosted.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz",
    "platform": "UNKNOWN",
    "description": ".. funcsigs documentation master file, created by\n   sphinx-quickstart on Fri Apr 20 20:27:52 2012.\n   You can adapt this file completely to your liking, but it should at least\n   contain the root `toctree` directive.\n\nIntroducing funcsigs\n====================\n\nThe Funcsigs Package\n--------------------\n\n``funcsigs`` is a backport of the `PEP 362`_ function signature features from\nPython 3.3's `inspect`_ module. The backport is compatible with Python 2.6, 2.7\nas well as 3.3 and up. 3.2 was supported by version 0.4, but with setuptools and\npip no longer supporting 3.2, we cannot make any statement about 3.2\ncompatibility.\n\nCompatibility\n`````````````\n\nThe ``funcsigs`` backport has been tested against:\n\n* CPython 2.6\n* CPython 2.7\n* CPython 3.3\n* CPython 3.4\n* CPython 3.5\n* CPython nightlies\n* PyPy and PyPy3(currently failing CI)\n\nContinuous integration testing is provided by `Travis CI`_.\n\nUnder Python 2.x there is a compatibility issue when a function is assigned to\nthe ``__wrapped__`` property of a class after it has been constructed.\nSimiliarily there under PyPy directly passing the ``__call__`` method of a\nbuiltin is also a compatibility issues.  Otherwise the functionality is\nbelieved to be uniform between both Python2 and Python3.\n\nIssues\n``````\n\nSource code for ``funcsigs`` is hosted on `GitHub`_. Any bug reports or feature\nrequests can be made using GitHub's `issues system`_. |build_status| |coverage|\n\nExample\n-------\n\nTo obtain a `Signature` object, pass the target function to the\n``funcsigs.signature`` function.\n\n.. code-block:: python\n\n    >>> from funcsigs import signature\n    >>> def foo(a, b=None, *args, **kwargs):\n    ...     pass\n    ...\n    >>> sig = signature(foo)\n    >>> sig\n    <funcsigs.Signature object at 0x...>\n    >>> sig.parameters\n    OrderedDict([('a', <Parameter at 0x... 'a'>), ('b', <Parameter at 0x... 'b'>), ('args', <Parameter at 0x... 'args'>), ('kwargs', <Parameter at 0x... 'kwargs'>)])\n    >>> sig.return_annotation\n    <class 'funcsigs._empty'>\n\nIntrospecting callables with the Signature object\n-------------------------------------------------\n\n.. note::\n\n   This section of documentation is a direct reproduction of the Python\n   standard library documentation for the inspect module.\n\nThe Signature object represents the call signature of a callable object and its\nreturn annotation.  To retrieve a Signature object, use the :func:`signature`\nfunction.\n\n.. function:: signature(callable)\n\n   Return a :class:`Signature` object for the given ``callable``::\n\n      >>> from funcsigs import signature\n      >>> def foo(a, *, b:int, **kwargs):\n      ...     pass\n\n      >>> sig = signature(foo)\n\n      >>> str(sig)\n      '(a, *, b:int, **kwargs)'\n\n      >>> str(sig.parameters['b'])\n      'b:int'\n\n      >>> sig.parameters['b'].annotation\n      <class 'int'>\n\n   Accepts a wide range of python callables, from plain functions and classes to\n   :func:`functools.partial` objects.\n\n   .. note::\n\n      Some callables may not be introspectable in certain implementations of\n      Python.  For example, in CPython, built-in functions defined in C provide\n      no metadata about their arguments.\n\n\n.. class:: Signature\n\n   A Signature object represents the call signature of a function and its return\n   annotation.  For each parameter accepted by the function it stores a\n   :class:`Parameter` object in its :attr:`parameters` collection.\n\n   Signature objects are *immutable*.  Use :meth:`Signature.replace` to make a\n   modified copy.\n\n   .. attribute:: Signature.empty\n\n      A special class-level marker to specify absence of a return annotation.\n\n   .. attribute:: Signature.parameters\n\n      An ordered mapping of parameters' names to the corresponding\n      :class:`Parameter` objects.\n\n   .. attribute:: Signature.return_annotation\n\n      The \"return\" annotation for the callable.  If the callable has no \"return\"\n      annotation, this attribute is set to :attr:`Signature.empty`.\n\n   .. method:: Signature.bind(*args, **kwargs)\n\n      Create a mapping from positional and keyword arguments to parameters.\n      Returns :class:`BoundArguments` if ``*args`` and ``**kwargs`` match the\n      signature, or raises a :exc:`TypeError`.\n\n   .. method:: Signature.bind_partial(*args, **kwargs)\n\n      Works the same way as :meth:`Signature.bind`, but allows the omission of\n      some required arguments (mimics :func:`functools.partial` behavior.)\n      Returns :class:`BoundArguments`, or raises a :exc:`TypeError` if the\n      passed arguments do not match the signature.\n\n   .. method:: Signature.replace(*[, parameters][, return_annotation])\n\n      Create a new Signature instance based on the instance replace was invoked\n      on.  It is possible to pass different ``parameters`` and/or\n      ``return_annotation`` to override the corresponding properties of the base\n      signature.  To remove return_annotation from the copied Signature, pass in\n      :attr:`Signature.empty`.\n\n      ::\n\n         >>> def test(a, b):\n         ...     pass\n         >>> sig = signature(test)\n         >>> new_sig = sig.replace(return_annotation=\"new return anno\")\n         >>> str(new_sig)\n         \"(a, b) -> 'new return anno'\"\n\n\n.. class:: Parameter\n\n   Parameter objects are *immutable*.  Instead of modifying a Parameter object,\n   you can use :meth:`Parameter.replace` to create a modified copy.\n\n   .. attribute:: Parameter.empty\n\n      A special class-level marker to specify absence of default values and\n      annotations.\n\n   .. attribute:: Parameter.name\n\n      The name of the parameter as a string.  Must be a valid python identifier\n      name (with the exception of ``POSITIONAL_ONLY`` parameters, which can have\n      it set to ``None``).\n\n   .. attribute:: Parameter.default\n\n      The default value for the parameter.  If the parameter has no default\n      value, this attribute is set to :attr:`Parameter.empty`.\n\n   .. attribute:: Parameter.annotation\n\n      The annotation for the parameter.  If the parameter has no annotation,\n      this attribute is set to :attr:`Parameter.empty`.\n\n   .. attribute:: Parameter.kind\n\n      Describes how argument values are bound to the parameter.  Possible values\n      (accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):\n\n      +------------------------+----------------------------------------------+\n      |    Name                | Meaning                                      |\n      +========================+==============================================+\n      | *POSITIONAL_ONLY*      | Value must be supplied as a positional       |\n      |                        | argument.                                    |\n      |                        |                                              |\n      |                        | Python has no explicit syntax for defining   |\n      |                        | positional-only parameters, but many built-in|\n      |                        | and extension module functions (especially   |\n      |                        | those that accept only one or two parameters)|\n      |                        | accept them.                                 |\n      +------------------------+----------------------------------------------+\n      | *POSITIONAL_OR_KEYWORD*| Value may be supplied as either a keyword or |\n      |                        | positional argument (this is the standard    |\n      |                        | binding behaviour for functions implemented  |\n      |                        | in Python.)                                  |\n      +------------------------+----------------------------------------------+\n      | *VAR_POSITIONAL*       | A tuple of positional arguments that aren't  |\n      |                        | bound to any other parameter. This           |\n      |                        | corresponds to a ``*args`` parameter in a    |\n      |                        | Python function definition.                  |\n      +------------------------+----------------------------------------------+\n      | *KEYWORD_ONLY*         | Value must be supplied as a keyword argument.|\n      |                        | Keyword only parameters are those which      |\n      |                        | appear after a ``*`` or ``*args`` entry in a |\n      |                        | Python function definition.                  |\n      +------------------------+----------------------------------------------+\n      | *VAR_KEYWORD*          | A dict of keyword arguments that aren't bound|\n      |                        | to any other parameter. This corresponds to a|\n      |                        | ``**kwargs`` parameter in a Python function  |\n      |                        | definition.                                  |\n      +------------------------+----------------------------------------------+\n\n      Example: print all keyword-only arguments without default values::\n\n         >>> def foo(a, b, *, c, d=10):\n         ...     pass\n\n         >>> sig = signature(foo)\n         >>> for param in sig.parameters.values():\n         ...     if (param.kind == param.KEYWORD_ONLY and\n         ...                        param.default is param.empty):\n         ...         print('Parameter:', param)\n         Parameter: c\n\n   .. method:: Parameter.replace(*[, name][, kind][, default][, annotation])\n\n      Create a new Parameter instance based on the instance replaced was invoked\n      on.  To override a :class:`Parameter` attribute, pass the corresponding\n      argument.  To remove a default value or/and an annotation from a\n      Parameter, pass :attr:`Parameter.empty`.\n\n      ::\n\n         >>> from funcsigs import Parameter\n         >>> param = Parameter('foo', Parameter.KEYWORD_ONLY, default=42)\n         >>> str(param)\n         'foo=42'\n\n         >>> str(param.replace()) # Will create a shallow copy of 'param'\n         'foo=42'\n\n         >>> str(param.replace(default=Parameter.empty, annotation='spam'))\n         \"foo:'spam'\"\n\n\n.. class:: BoundArguments\n\n   Result of a :meth:`Signature.bind` or :meth:`Signature.bind_partial` call.\n   Holds the mapping of arguments to the function's parameters.\n\n   .. attribute:: BoundArguments.arguments\n\n      An ordered, mutable mapping (:class:`collections.OrderedDict`) of\n      parameters' names to arguments' values.  Contains only explicitly bound\n      arguments.  Changes in :attr:`arguments` will reflect in :attr:`args` and\n      :attr:`kwargs`.\n\n      Should be used in conjunction with :attr:`Signature.parameters` for any\n      argument processing purposes.\n\n      .. note::\n\n         Arguments for which :meth:`Signature.bind` or\n         :meth:`Signature.bind_partial` relied on a default value are skipped.\n         However, if needed, it is easy to include them.\n\n      ::\n\n        >>> def foo(a, b=10):\n        ...     pass\n\n        >>> sig = signature(foo)\n        >>> ba = sig.bind(5)\n\n        >>> ba.args, ba.kwargs\n        ((5,), {})\n\n        >>> for param in sig.parameters.values():\n        ...     if param.name not in ba.arguments:\n        ...         ba.arguments[param.name] = param.default\n\n        >>> ba.args, ba.kwargs\n        ((5, 10), {})\n\n\n   .. attribute:: BoundArguments.args\n\n      A tuple of positional arguments values.  Dynamically computed from the\n      :attr:`arguments` attribute.\n\n   .. attribute:: BoundArguments.kwargs\n\n      A dict of keyword arguments values.  Dynamically computed from the\n      :attr:`arguments` attribute.\n\n   The :attr:`args` and :attr:`kwargs` properties can be used to invoke\n   functions::\n\n      def test(a, *, b):\n         ...\n\n      sig = signature(test)\n      ba = sig.bind(10, b=20)\n      test(*ba.args, **ba.kwargs)\n\n\n.. seealso::\n\n   :pep:`362` - Function Signature Object.\n      The detailed specification, implementation details and examples.\n\nCopyright\n---------\n\n*funcsigs* is a derived work of CPython under the terms of the `PSF License\nAgreement`_. The original CPython inspect module, its unit tests and\ndocumentation are the copyright of the Python Software Foundation. The derived\nwork is distributed under the `Apache License Version 2.0`_.\n\n.. _PSF License Agreement: http://docs.python.org/3/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python\n.. _Apache License Version 2.0: http://opensource.org/licenses/Apache-2.0\n.. _GitHub: https://github.com/testing-cabal/funcsigs\n.. _PSF License Agreement: http://docs.python.org/3/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python\n.. _Travis CI: http://travis-ci.org/\n.. _Read The Docs: http://funcsigs.readthedocs.org/\n.. _PEP 362: http://www.python.org/dev/peps/pep-0362/\n.. _inspect: http://docs.python.org/3/library/inspect.html#introspecting-callables-with-the-signature-object\n.. _issues system: https://github.com/testing-cabal/funcsigs/issues\n\n.. |build_status| image:: https://secure.travis-ci.org/aliles/funcsigs.png?branch=master\n   :target: http://travis-ci.org/#!/aliles/funcsigs\n   :alt: Current build status\n\n.. |coverage| image:: https://coveralls.io/repos/aliles/funcsigs/badge.png?branch=master\n   :target: https://coveralls.io/r/aliles/funcsigs?branch=master\n   :alt: Coverage status\n\n.. |pypi_version| image:: https://pypip.in/v/funcsigs/badge.png\n   :target: https://crate.io/packages/funcsigs/\n   :alt: Latest PyPI version",
    "bugtrack_url": null,
    "license": "ASL",
    "summary": "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+",
    "version": "1.0.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "701d58358171f34b6d1197de2923a35a",
                "sha256": "330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca"
            },
            "downloads": -1,
            "filename": "funcsigs-1.0.2-py2.py3-none-any.whl",
            "has_sig": true,
            "md5_digest": "701d58358171f34b6d1197de2923a35a",
            "packagetype": "bdist_wheel",
            "python_version": "2.7",
            "requires_python": null,
            "size": 17697,
            "upload_time": "2016-04-25T22:22:05",
            "upload_time_iso_8601": "2016-04-25T22:22:05.222685Z",
            "url": "https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "7e583285b1fb8a76305d6d68f4ccc14e",
                "sha256": "a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"
            },
            "downloads": -1,
            "filename": "funcsigs-1.0.2.tar.gz",
            "has_sig": true,
            "md5_digest": "7e583285b1fb8a76305d6d68f4ccc14e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 27947,
            "upload_time": "2016-04-25T22:22:33",
            "upload_time_iso_8601": "2016-04-25T22:22:33.882246Z",
            "url": "https://files.pythonhosted.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2016-04-25 22:22:33",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "funcsigs"
}
        
Elapsed time: 0.03423s