METADATA 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Metadata-Version: 2.0
  2. Name: characteristic
  3. Version: 14.1.0
  4. Summary: Python attributes without boilerplate.
  5. Home-page: https://characteristic.readthedocs.org/
  6. Author: Hynek Schlawack
  7. Author-email: hs@ox.cx
  8. License: MIT
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Intended Audience :: Developers
  12. Classifier: Natural Language :: English
  13. Classifier: License :: OSI Approved :: MIT License
  14. Classifier: Operating System :: OS Independent
  15. Classifier: Programming Language :: Python
  16. Classifier: Programming Language :: Python :: 2
  17. Classifier: Programming Language :: Python :: 2.6
  18. Classifier: Programming Language :: Python :: 2.7
  19. Classifier: Programming Language :: Python :: 3
  20. Classifier: Programming Language :: Python :: 3.3
  21. Classifier: Programming Language :: Python :: 3.4
  22. Classifier: Programming Language :: Python :: Implementation :: CPython
  23. Classifier: Programming Language :: Python :: Implementation :: PyPy
  24. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  25. characteristic: Python attributes without boilerplate.
  26. ======================================================
  27. .. image:: https://pypip.in/version/characteristic/badge.svg
  28. :target: https://pypi.python.org/pypi/characteristic/
  29. :alt: Latest Version
  30. .. image:: https://travis-ci.org/hynek/characteristic.svg
  31. :target: https://travis-ci.org/hynek/characteristic
  32. :alt: CI status
  33. .. image:: https://coveralls.io/repos/hynek/characteristic/badge.png?branch=master
  34. :target: https://coveralls.io/r/hynek/characteristic?branch=master
  35. :alt: Current coverage
  36. .. begin
  37. ``characteristic`` is an `MIT <http://choosealicense.com/licenses/mit/>`_-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols.
  38. You just specify the attributes to work with and ``characteristic`` gives you any or all of:
  39. - a nice human-readable ``__repr__``,
  40. - a complete set of comparison methods,
  41. - immutability for attributes,
  42. - and a kwargs-based initializer (that cooperates with your existing one and optionally even checks the types of the arguments)
  43. *without* writing dull boilerplate code again and again.
  44. This gives you the power to use actual classes with actual types in your code instead of confusing ``tuple``\ s or confusingly behaving ``namedtuple``\ s.
  45. So put down that type-less data structures and welcome some class into your life!
  46. ``characteristic``\ ’s documentation lives at `Read the Docs <https://characteristic.readthedocs.org/>`_, the code on `GitHub <https://github.com/hynek/characteristic>`_.
  47. It’s rigorously tested on Python 2.6, 2.7, 3.3+, and PyPy.
  48. Authors
  49. -------
  50. ``characteristic`` is written and maintained by `Hynek Schlawack <https://hynek.me/>`_.
  51. The development is kindly supported by `Variomedia AG <https://www.variomedia.de/>`_.
  52. It’s inspired by Twisted’s `FancyEqMixin <http://twistedmatrix.com/documents/current/api/twisted.python.util.FancyEqMixin.html>`_ but is implemented using class decorators because `sub-classing is bad for you <https://www.youtube.com/watch?v=3MNVP9-hglc>`_, m’kay?
  53. The following folks helped forming ``characteristic`` into what it is now:
  54. - `Adam Dangoor <https://github.com/adamtheturtle>`_
  55. - `Glyph <https://github.com/glyph>`_
  56. - `Itamar Turner-Trauring <https://github.com/itamarst>`_
  57. - `Jean-Paul Calderone <https://github.com/exarkun>`_
  58. - `Julian Berman <https://github.com/julian>`_
  59. - `Richard Wall <https://github.com/wallrj>`_