replize


Namereplize JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/i2mint/replize
SummaryTools to create REPL interfaces
upload_time2023-07-19 03:26:31
maintainer
docs_urlNone
authorOtoSense
requires_python
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": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "REPL",
    "author": "OtoSense",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/8c/26/f74ccc14c19be9bd87c1a6a0537be33ed980b983e6a275ad2b815d1557f5/replize-0.1.2.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``.",
    "bugtrack_url": null,
    "license": "apache-2.0",
    "summary": "Tools to create REPL interfaces",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/i2mint/replize"
    },
    "split_keywords": [
        "repl"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c26f74ccc14c19be9bd87c1a6a0537be33ed980b983e6a275ad2b815d1557f5",
                "md5": "18a046945eea08a7d4d675ab469e854d",
                "sha256": "134477a3032bcde5af420906c6d8a25894ed944e2ccf03fd88d56bf892dfd735"
            },
            "downloads": -1,
            "filename": "replize-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "18a046945eea08a7d4d675ab469e854d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6736,
            "upload_time": "2023-07-19T03:26:31",
            "upload_time_iso_8601": "2023-07-19T03:26:31.487729Z",
            "url": "https://files.pythonhosted.org/packages/8c/26/f74ccc14c19be9bd87c1a6a0537be33ed980b983e6a275ad2b815d1557f5/replize-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-19 03:26:31",
    "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: 0.10132s