moat-lib-repl
% start main % start synopsis
A straightforward async-ization of pyrepl.
% end synopsis
This module was copied from CPython v3.13.9 and anyio-ized.
Usage
from moat.lib.repl import multiline_input
async def main():
inp = await multiline_input(lambda s: "\n" not in s, "=== ","--- ")
print("RES:",repr(inp))
anyio.run(main)
% end main
License
Licensed under (something like) the MIT License
Metadata
Release files for moat-lib-repl 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moat_lib_repl-0.1.11.tar.gz | 65.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moat_lib_repl-0.1.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 145.9 kB
Release files / moat_lib_repl-0.1.11.tar.gz
| Download URL | moat_lib_repl-0.1.11.tar.gz |
|---|---|
| Size | 65.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e39087721bb2511d8e282dea252df95c6f7d64b18163b2eede61d8894af7663
|
|
BLAKE2b-256 checksum How to use checksums |
4b4181bcfc9ab2868e5b0019f47b996db385b5b953bd26e87ec9b4313ac7fbe2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / moat_lib_repl-0.1.11-py3-none-any.whl
| Download URL | moat_lib_repl-0.1.11-py3-none-any.whl |
|---|---|
| Size | 80.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86fd66c12f5ca3f43688d51f8f6335fa2be8373175281c41671fb3ef48b02e51
|
|
BLAKE2b-256 checksum How to use checksums |
9b0e55a530ee75d9d884aa43c825ef5878c5db8f1cff16b12a6336a6deeef0eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|