jaraco.text


Namejaraco.text JSON
Version 3.12.0 PyPI version JSON
download
home_pagehttps://github.com/jaraco/jaraco.text
SummaryModule for text manipulation
upload_time2023-11-27 16:46:31
maintainer
docs_urlNone
authorJason R. Coombs
requires_python>=3.8
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            .. image:: https://img.shields.io/pypi/v/jaraco.text.svg
   :target: https://pypi.org/project/jaraco.text

.. image:: https://img.shields.io/pypi/pyversions/jaraco.text.svg

.. image:: https://github.com/jaraco/jaraco.text/workflows/tests/badge.svg
   :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Code style: Black

.. image:: https://readthedocs.org/projects/jaracotext/badge/?version=latest
   :target: https://jaracotext.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2023-informational
   :target: https://blog.jaraco.com/skeleton

.. image:: https://tidelift.com/badges/package/pypi/jaraco.text
   :target: https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=readme


This package provides handy routines for dealing with text, such as
wrapping, substitution, trimming, stripping, prefix and suffix removal,
line continuation, indentation, comment processing, identifier processing,
values parsing, case insensitive comparison, and more. See the docs
(linked in the badge above) for the detailed documentation and examples.

Layouts
=======

One of the features of this package is the layouts module, which
provides a simple example of translating keystrokes from one keyboard
layout to another::

    echo qwerty | python -m jaraco.text.to-dvorak
    ',.pyf
    echo  "',.pyf" | python -m jaraco.text.to-qwerty
    qwerty

Newline Reporting
=================

Need to know what newlines appear in a file?

::

    $ python -m jaraco.text.show-newlines README.rst
    newline is '\n'

For Enterprise
==============

Available as part of the Tidelift Subscription.

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.

`Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=referral&utm_campaign=github>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jaraco/jaraco.text",
    "name": "jaraco.text",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Jason R. Coombs",
    "author_email": "jaraco@jaraco.com",
    "download_url": "https://files.pythonhosted.org/packages/53/30/52edc6c9997d48b0d9fbedb6a29edab2b397968f637b76aae299a9128c34/jaraco.text-3.12.0.tar.gz",
    "platform": null,
    "description": ".. image:: https://img.shields.io/pypi/v/jaraco.text.svg\n   :target: https://pypi.org/project/jaraco.text\n\n.. image:: https://img.shields.io/pypi/pyversions/jaraco.text.svg\n\n.. image:: https://github.com/jaraco/jaraco.text/workflows/tests/badge.svg\n   :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22\n   :alt: tests\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Ruff\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n   :alt: Code style: Black\n\n.. image:: https://readthedocs.org/projects/jaracotext/badge/?version=latest\n   :target: https://jaracotext.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/badge/skeleton-2023-informational\n   :target: https://blog.jaraco.com/skeleton\n\n.. image:: https://tidelift.com/badges/package/pypi/jaraco.text\n   :target: https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=readme\n\n\nThis package provides handy routines for dealing with text, such as\nwrapping, substitution, trimming, stripping, prefix and suffix removal,\nline continuation, indentation, comment processing, identifier processing,\nvalues parsing, case insensitive comparison, and more. See the docs\n(linked in the badge above) for the detailed documentation and examples.\n\nLayouts\n=======\n\nOne of the features of this package is the layouts module, which\nprovides a simple example of translating keystrokes from one keyboard\nlayout to another::\n\n    echo qwerty | python -m jaraco.text.to-dvorak\n    ',.pyf\n    echo  \"',.pyf\" | python -m jaraco.text.to-qwerty\n    qwerty\n\nNewline Reporting\n=================\n\nNeed to know what newlines appear in a file?\n\n::\n\n    $ python -m jaraco.text.show-newlines README.rst\n    newline is '\\n'\n\nFor Enterprise\n==============\n\nAvailable as part of the Tidelift Subscription.\n\nThis 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.\n\n`Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=referral&utm_campaign=github>`_.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Module for text manipulation",
    "version": "3.12.0",
    "project_urls": {
        "Homepage": "https://github.com/jaraco/jaraco.text"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1bfc0e21f86eb44357cdfbff4c860fb2198027552fbeaf4ec301b67f11379b25",
                "md5": "dd2c9a0727464bef10d212a4406dac4b",
                "sha256": "1472f5a04a4cf77a0a3867495c24736ed9dc406070634934455323fa3a2c63de"
            },
            "downloads": -1,
            "filename": "jaraco.text-3.12.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd2c9a0727464bef10d212a4406dac4b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 11424,
            "upload_time": "2023-11-27T16:46:30",
            "upload_time_iso_8601": "2023-11-27T16:46:30.515099Z",
            "url": "https://files.pythonhosted.org/packages/1b/fc/0e21f86eb44357cdfbff4c860fb2198027552fbeaf4ec301b67f11379b25/jaraco.text-3.12.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "533052edc6c9997d48b0d9fbedb6a29edab2b397968f637b76aae299a9128c34",
                "md5": "9f63a5cdd56061ebd84d8175d1df3b70",
                "sha256": "389e25c8d4b32e9715bf530596fab0f5cd3aa47296e43969392e18a541af592c"
            },
            "downloads": -1,
            "filename": "jaraco.text-3.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9f63a5cdd56061ebd84d8175d1df3b70",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 16329,
            "upload_time": "2023-11-27T16:46:31",
            "upload_time_iso_8601": "2023-11-27T16:46:31.665680Z",
            "url": "https://files.pythonhosted.org/packages/53/30/52edc6c9997d48b0d9fbedb6a29edab2b397968f637b76aae299a9128c34/jaraco.text-3.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-27 16:46:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jaraco",
    "github_project": "jaraco.text",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "jaraco.text"
}
        
Elapsed time: 0.26651s