pyp3


Namepyp3 JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/donno2048/pyp3
SummaryPyp is a linux command line text manipulation tool similar to awk or sed, but which uses standard python string and list methods as well as custom functions evolved to generate fast results in an intense production environment.
upload_time2021-08-06 13:43:13
maintainer
docs_urlNone
authorElisha Hollander
requires_python>=3.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyp3

A minified [pyp](https://code.google.com/archive/p/pyp/) compatible with python3

Pyp is a linux command line text manipulation tool similar to awk or sed, but which uses standard python string and list methods as well as custom functions evolved to generate fast results in an intense production environment.

## Installation

### From PyPI

```sh
pip3 install pyp3
```

### From GitHub

```sh
pip3 install git+https://github.com/donno2048/pyp3
```

## Usage

Because pyp employs it's own internal piping syntax ("|") similar to unix pipes, complex operations can be proceduralized by feeding the output of one python command to the input of the next.

This greatly simplifies the generation and troubleshooting of multistep operations without the use of temporary variables or nested parentheses. The variable "p" represents each line as a string, while "pp" is entire input as python list

### Use it directly

```sh
ls | pyp3 "p[0] | pp.sort()" #gives sorted list of first letters of every line
```

## Use it as a python module

```sh
ls | python3 -m pyp3 "p.replace('.', ',')" #replaces . with ,
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/donno2048/pyp3",
    "name": "pyp3",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Elisha Hollander",
    "author_email": "just4now666666@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b0/c5/edb9ac1830d65d70cc339abfcdb33aee3ad7527b54240bd2121eff254002/pyp3-1.0.0.tar.gz",
    "platform": "",
    "description": "# pyp3\n\nA minified [pyp](https://code.google.com/archive/p/pyp/) compatible with python3\n\nPyp is a linux command line text manipulation tool similar to awk or sed, but which uses standard python string and list methods as well as custom functions evolved to generate fast results in an intense production environment.\n\n## Installation\n\n### From PyPI\n\n```sh\npip3 install pyp3\n```\n\n### From GitHub\n\n```sh\npip3 install git+https://github.com/donno2048/pyp3\n```\n\n## Usage\n\nBecause pyp employs it's own internal piping syntax (\"|\") similar to unix pipes, complex operations can be proceduralized by feeding the output of one python command to the input of the next.\n\nThis greatly simplifies the generation and troubleshooting of multistep operations without the use of temporary variables or nested parentheses. The variable \"p\" represents each line as a string, while \"pp\" is entire input as python list\n\n### Use it directly\n\n```sh\nls | pyp3 \"p[0] | pp.sort()\" #gives sorted list of first letters of every line\n```\n\n## Use it as a python module\n\n```sh\nls | python3 -m pyp3 \"p.replace('.', ',')\" #replaces . with ,\n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Pyp is a linux command line text manipulation tool similar to awk or sed, but which uses standard python string and list methods as well as custom functions evolved to generate fast results in an intense production environment.",
    "version": "1.0.0",
    "project_urls": {
        "Bug Reports": "https://github.com/donno2048/pyp3/issues",
        "Documentation": "https://github.com/donno2048/pyp3#readme",
        "Homepage": "https://github.com/donno2048/pyp3",
        "Source Code": "https://github.com/donno2048/pyp3"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ed3175576c9d0ed6693cc306c079ed54ca3bc2c8d752c5fcc667a5d2527fc6aa",
                "md5": "1eb57d88d3f3f6402bd961b156fcbc20",
                "sha256": "1ede6529538b43fd6ab04dac2aefe7c07d56e4758fa863666b78dabcf5720d22"
            },
            "downloads": -1,
            "filename": "pyp3-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1eb57d88d3f3f6402bd961b156fcbc20",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 20674,
            "upload_time": "2021-08-06T13:43:11",
            "upload_time_iso_8601": "2021-08-06T13:43:11.630540Z",
            "url": "https://files.pythonhosted.org/packages/ed/31/75576c9d0ed6693cc306c079ed54ca3bc2c8d752c5fcc667a5d2527fc6aa/pyp3-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b0c5edb9ac1830d65d70cc339abfcdb33aee3ad7527b54240bd2121eff254002",
                "md5": "ddfbca5665f6bedc7c6f91c353709ccc",
                "sha256": "8517c74d34827e811a921f35ea00b81cc800b676d9c147679e48d673173b81cc"
            },
            "downloads": -1,
            "filename": "pyp3-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ddfbca5665f6bedc7c6f91c353709ccc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0",
            "size": 20433,
            "upload_time": "2021-08-06T13:43:13",
            "upload_time_iso_8601": "2021-08-06T13:43:13.254562Z",
            "url": "https://files.pythonhosted.org/packages/b0/c5/edb9ac1830d65d70cc339abfcdb33aee3ad7527b54240bd2121eff254002/pyp3-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-08-06 13:43:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "donno2048",
    "github_project": "pyp3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pyp3"
}
        
Elapsed time: 0.35957s