METADATA 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Metadata-Version: 2.1
  2. Name: pathlib2
  3. Version: 2.3.7.post1
  4. Summary: Object-oriented filesystem paths
  5. Home-page: https://github.com/jazzband/pathlib2
  6. Author: Matthias C. M. Troffaes
  7. Author-email: matthias.troffaes@gmail.com
  8. License: MIT
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: MIT License
  13. Classifier: Operating System :: OS Independent
  14. Classifier: Programming Language :: Python
  15. Classifier: Programming Language :: Python :: 2
  16. Classifier: Programming Language :: Python :: 3
  17. Classifier: Programming Language :: Python :: 2.7
  18. Classifier: Programming Language :: Python :: 3.5
  19. Classifier: Programming Language :: Python :: 3.6
  20. Classifier: Programming Language :: Python :: 3.7
  21. Classifier: Programming Language :: Python :: 3.8
  22. Classifier: Programming Language :: Python :: 3.9
  23. Classifier: Topic :: Software Development :: Libraries
  24. Classifier: Topic :: System :: Filesystems
  25. Requires-Dist: six
  26. Requires-Dist: scandir ; python_version<"3.5"
  27. Requires-Dist: typing ; python_version<"3.5"
  28. The `old pathlib <https://web.archive.org/web/20181106215056/https://bitbucket.org/pitrou/pathlib/>`_
  29. module on bitbucket is no longer maintained.
  30. The goal of pathlib2 is to provide a backport of
  31. `standard pathlib <http://docs.python.org/dev/library/pathlib.html>`_
  32. module which tracks the standard library module,
  33. so all the newest features of the standard pathlib can be
  34. used also on older Python versions.
  35. Download
  36. --------
  37. Standalone releases are available on PyPI:
  38. http://pypi.python.org/pypi/pathlib2/
  39. Development
  40. -----------
  41. The main development takes place in the Python standard library: see
  42. the `Python developer's guide <http://docs.python.org/devguide/>`_.
  43. In particular, new features should be submitted to the
  44. `Python bug tracker <http://bugs.python.org/>`_.
  45. Issues that occur in this backport, but that do not occur not in the
  46. standard Python pathlib module can be submitted on
  47. the `pathlib2 bug tracker <https://github.com/jazzband/pathlib2/issues>`_.
  48. Documentation
  49. -------------
  50. Refer to the
  51. `standard pathlib <http://docs.python.org/dev/library/pathlib.html>`_
  52. documentation.
  53. Known Issues
  54. ------------
  55. For historic reasons, pathlib2 still uses bytes to represent file paths internally.
  56. Unfortunately, on Windows with Python 2.7, the file system encoder (``mcbs``)
  57. has only poor support for non-ascii characters,
  58. and can silently replace non-ascii characters without warning.
  59. For example, ``u'тест'.encode(sys.getfilesystemencoding())`` results in ``????``
  60. which is obviously completely useless.
  61. Therefore, on Windows with Python 2.7, until this problem is fixed upstream,
  62. unfortunately you cannot rely on pathlib2 to support the full unicode range for filenames.
  63. See `issue #56 <https://github.com/jazzband/pathlib2/issues/56>`_ for more details.
  64. .. |github| image:: https://github.com/jazzband/pathlib2/actions/workflows/python-package.yml/badge.svg
  65. :target: https://github.com/jazzband/pathlib2/actions/workflows/python-package.yml
  66. :alt: github
  67. .. |codecov| image:: https://codecov.io/gh/jazzband/pathlib2/branch/develop/graph/badge.svg
  68. :target: https://codecov.io/gh/jazzband/pathlib2
  69. :alt: codecov
  70. .. |jazzband| image:: https://jazzband.co/static/img/badge.svg
  71. :alt: Jazzband
  72. :target: https://jazzband.co/