METADATA 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Metadata-Version: 2.1
  2. Name: jaraco.text
  3. Version: 4.0.0
  4. Summary: Module for text manipulation
  5. Author-email: "Jason R. Coombs" <jaraco@jaraco.com>
  6. Project-URL: Source, https://github.com/jaraco/jaraco.text
  7. Classifier: Development Status :: 5 - Production/Stable
  8. Classifier: Intended Audience :: Developers
  9. Classifier: License :: OSI Approved :: MIT License
  10. Classifier: Programming Language :: Python :: 3
  11. Classifier: Programming Language :: Python :: 3 :: Only
  12. Requires-Python: >=3.8
  13. Description-Content-Type: text/x-rst
  14. License-File: LICENSE
  15. Requires-Dist: jaraco.functools
  16. Requires-Dist: jaraco.context >=4.1
  17. Requires-Dist: autocommand
  18. Requires-Dist: more-itertools
  19. Requires-Dist: importlib-resources ; python_version < "3.9"
  20. Provides-Extra: doc
  21. Requires-Dist: sphinx >=3.5 ; extra == 'doc'
  22. Requires-Dist: jaraco.packaging >=9.3 ; extra == 'doc'
  23. Requires-Dist: rst.linker >=1.9 ; extra == 'doc'
  24. Requires-Dist: furo ; extra == 'doc'
  25. Requires-Dist: sphinx-lint ; extra == 'doc'
  26. Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'doc'
  27. Provides-Extra: inflect
  28. Requires-Dist: inflect ; extra == 'inflect'
  29. Provides-Extra: test
  30. Requires-Dist: pytest !=8.1.*,>=6 ; extra == 'test'
  31. Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'test'
  32. Requires-Dist: pytest-cov ; extra == 'test'
  33. Requires-Dist: pytest-mypy ; extra == 'test'
  34. Requires-Dist: pytest-enabler >=2.2 ; extra == 'test'
  35. Requires-Dist: pathlib2 ; (python_version < "3.10") and extra == 'test'
  36. Requires-Dist: pytest-ruff >=0.2.1 ; (sys_platform != "cygwin") and extra == 'test'
  37. .. image:: https://img.shields.io/pypi/v/jaraco.text.svg
  38. :target: https://pypi.org/project/jaraco.text
  39. .. image:: https://img.shields.io/pypi/pyversions/jaraco.text.svg
  40. .. image:: https://github.com/jaraco/jaraco.text/actions/workflows/main.yml/badge.svg
  41. :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22
  42. :alt: tests
  43. .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
  44. :target: https://github.com/astral-sh/ruff
  45. :alt: Ruff
  46. .. image:: https://readthedocs.org/projects/jaracotext/badge/?version=latest
  47. :target: https://jaracotext.readthedocs.io/en/latest/?badge=latest
  48. .. image:: https://img.shields.io/badge/skeleton-2024-informational
  49. :target: https://blog.jaraco.com/skeleton
  50. .. image:: https://tidelift.com/badges/package/pypi/jaraco.text
  51. :target: https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=readme
  52. This package provides handy routines for dealing with text, such as
  53. wrapping, substitution, trimming, stripping, prefix and suffix removal,
  54. line continuation, indentation, comment processing, identifier processing,
  55. values parsing, case insensitive comparison, and more. See the docs
  56. (linked in the badge above) for the detailed documentation and examples.
  57. Layouts
  58. =======
  59. One of the features of this package is the layouts module, which
  60. provides a simple example of translating keystrokes from one keyboard
  61. layout to another::
  62. echo qwerty | python -m jaraco.text.to-dvorak
  63. ',.pyf
  64. echo "',.pyf" | python -m jaraco.text.to-qwerty
  65. qwerty
  66. Newline Reporting
  67. =================
  68. Need to know what newlines appear in a file?
  69. ::
  70. $ python -m jaraco.text.show-newlines README.rst
  71. newline is '\n'
  72. For Enterprise
  73. ==============
  74. Available as part of the Tidelift Subscription.
  75. This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
  76. `Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=referral&utm_campaign=github>`_.