replize


Namereplize JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://github.com/i2mint/replize
SummaryTools to create REPL interfaces
upload_time2025-10-16 21:57:30
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseapache-2.0
keywords repl
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # replize

Tools to create REPL interfaces.

To install:	```pip install replize```


# Example usage

## `replize` system command

Converts a command line into a REPL.

Usage:

    $ replize <command>

Example:

    $ replize ls
    ls >>> -l
    total 8
    -rw-r--r-- 1 user group  0 Jan  1 00:00 __init__.py
    -rw-r--r-- 1 user group  0 Jan  1 00:00 __main__.py
    -rw-r--r-- 1 user group  0 Jan  1 00:00 __pycache__
    -rw-r--r-- 1 user group  0 Jan  1 00:00 replize.py
    ls >>> exit
    $

### Recipes

`replize` is meant to be used with `functools.partial` to make the kind of REPL
factory YOU want, by changing the defaults.

If you want a given stdout or stderr value to have the effect of exiting the REPL,
you can set the callback to raise an exception that is in the ``exit_exceptions``.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/i2mint/replize",
    "name": "replize",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "REPL",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/17/66/11db010ce733f19a79d5fe0bb5ac510aa81b419df9b209fadacdc20cea2e/replize-0.1.5.tar.gz",
    "platform": null,
    "description": "# replize\n\nTools to create REPL interfaces.\n\nTo install:\t```pip install replize```\n\n\n# Example usage\n\n## `replize` system command\n\nConverts a command line into a REPL.\n\nUsage:\n\n    $ replize <command>\n\nExample:\n\n    $ replize ls\n    ls >>> -l\n    total 8\n    -rw-r--r-- 1 user group  0 Jan  1 00:00 __init__.py\n    -rw-r--r-- 1 user group  0 Jan  1 00:00 __main__.py\n    -rw-r--r-- 1 user group  0 Jan  1 00:00 __pycache__\n    -rw-r--r-- 1 user group  0 Jan  1 00:00 replize.py\n    ls >>> exit\n    $\n\n### Recipes\n\n`replize` is meant to be used with `functools.partial` to make the kind of REPL\nfactory YOU want, by changing the defaults.\n\nIf you want a given stdout or stderr value to have the effect of exiting the REPL,\nyou can set the callback to raise an exception that is in the ``exit_exceptions``.\n",
    "bugtrack_url": null,
    "license": "apache-2.0",
    "summary": "Tools to create REPL interfaces",
    "version": "0.1.5",
    "project_urls": {
        "Homepage": "https://github.com/i2mint/replize"
    },
    "split_keywords": [
        "repl"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "176611db010ce733f19a79d5fe0bb5ac510aa81b419df9b209fadacdc20cea2e",
                "md5": "3ba5b0646fcd1f970ad32e82d5b049d1",
                "sha256": "927a3384d917b83b65a5da6ff152bd9f824f333537f0de0ff1ee94aa681e7d74"
            },
            "downloads": -1,
            "filename": "replize-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "3ba5b0646fcd1f970ad32e82d5b049d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6665,
            "upload_time": "2025-10-16T21:57:30",
            "upload_time_iso_8601": "2025-10-16T21:57:30.387350Z",
            "url": "https://files.pythonhosted.org/packages/17/66/11db010ce733f19a79d5fe0bb5ac510aa81b419df9b209fadacdc20cea2e/replize-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-16 21:57:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "i2mint",
    "github_project": "replize",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "replize"
}
        
Elapsed time: 8.08783s