Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PKG-INFO 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Metadata-Version: 1.1
  2. Name: lazy-object-proxy
  3. Version: 1.3.1
  4. Summary: A fast and thorough lazy object proxy.
  5. Home-page: https://github.com/ionelmc/python-lazy-object-proxy
  6. Author: Ionel Cristian Mărieș
  7. Author-email: contact@ionelmc.ro
  8. License: BSD
  9. Description: ========
  10. Overview
  11. ========
  12. A fast and thorough lazy object proxy.
  13. * Free software: BSD license
  14. Note that this is based on `wrapt`_'s ObjectProxy with one big change: it calls a function the first time the proxy object is
  15. used, while `wrapt.ObjectProxy` just forwards the method calls to the target object.
  16. In other words, you use `lazy-object-proxy` when you only have the object way later and you use `wrapt.ObjectProxy` when you
  17. want to override few methods (by subclassing) and forward everything else to the target object.
  18. Example::
  19. def expensive_func():
  20. # create expensive object
  21. return stuff
  22. obj = lazy_object_proxy.Proxy(expensive_func)
  23. # function is called only when object is actually used
  24. print(obj.foobar) # now expensive_func is called
  25. Installation
  26. ============
  27. ::
  28. pip install lazy-object-proxy
  29. Documentation
  30. =============
  31. https://python-lazy-object-proxy.readthedocs.io/
  32. Development
  33. ===========
  34. To run the all tests run::
  35. tox
  36. Acknowledgements
  37. ================
  38. This project is based on some code from `wrapt`_ as you can see in the git history.
  39. .. _wrapt: https://github.com/GrahamDumpleton/wrapt
  40. Changelog
  41. =========
  42. 1.3.1 (2017-05-05)
  43. ------------------
  44. * Fix broken release (``sdist`` had a broken ``MANIFEST.in``).
  45. 1.3.0 (2017-05-02)
  46. ------------------
  47. * Speed up arithmetic operations involving ``cext.Proxy`` subclasses.
  48. 1.2.2 (2016-04-14)
  49. ------------------
  50. * Added `manylinux <https://www.python.org/dev/peps/pep-0513/>`_ wheels.
  51. * Minor cleanup in readme.
  52. 1.2.1 (2015-08-18)
  53. ------------------
  54. * Fix a memory leak (the wrapped object would get bogus references). Contributed by Astrum Kuo in
  55. `#10 <https://github.com/ionelmc/python-lazy-object-proxy/pull/10>`_.
  56. 1.2.0 (2015-07-06)
  57. ------------------
  58. * Don't instantiate the object when __repr__ is called. This aids with debugging (allows one to see exactly in
  59. what state the proxy is).
  60. 1.1.0 (2015-07-05)
  61. ------------------
  62. * Added support for pickling. The pickled value is going to be the wrapped object *without* any Proxy container.
  63. * Fixed a memory management issue in the C extension (reference cycles weren't garbage collected due to improper
  64. handling in the C extension). Contributed by Alvin Chow in
  65. `#8 <https://github.com/ionelmc/python-lazy-object-proxy/pull/8>`_.
  66. 1.0.2 (2015-04-11)
  67. -----------------------------------------
  68. * First release on PyPI.
  69. Platform: UNKNOWN
  70. Classifier: Development Status :: 5 - Production/Stable
  71. Classifier: Intended Audience :: Developers
  72. Classifier: License :: OSI Approved :: BSD License
  73. Classifier: Operating System :: Unix
  74. Classifier: Operating System :: POSIX
  75. Classifier: Operating System :: Microsoft :: Windows
  76. Classifier: Programming Language :: Python
  77. Classifier: Programming Language :: Python :: 2.6
  78. Classifier: Programming Language :: Python :: 2.7
  79. Classifier: Programming Language :: Python :: 3
  80. Classifier: Programming Language :: Python :: 3.3
  81. Classifier: Programming Language :: Python :: 3.4
  82. Classifier: Programming Language :: Python :: 3.5
  83. Classifier: Programming Language :: Python :: 3.6
  84. Classifier: Programming Language :: Python :: Implementation :: CPython
  85. Classifier: Programming Language :: Python :: Implementation :: PyPy
  86. Classifier: Topic :: Utilities