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.
Metadata
Release files for replize 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| replize-0.1.8.tar.gz | 14.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| replize-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.5 kB
Release files / replize-0.1.8.tar.gz
| Download URL | replize-0.1.8.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6fb997e8a26511a3377a1e62fe1dd911e2e363dc8c11292df8fb4c6e33e4e31
|
|
BLAKE2b-256 checksum How to use checksums |
5f3977bf8f491eb00af66aa3de346ea1427c71e6c977a7c35da4642ee50443cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / replize-0.1.8-py3-none-any.whl
| Download URL | replize-0.1.8-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f61060d480a4c20f5444c34843ee53609b286af7e792e2dbed3f44161ba47e4f
|
|
BLAKE2b-256 checksum How to use checksums |
701d060efa80bd4c04d98478d03040c8384a7d8a9ddb025c5ae4ae5d55b9b5be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for replize 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.