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.10
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.10.tar.gz | 65.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moat_lib_repl-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 145.8 kB
Release files / moat_lib_repl-0.1.10.tar.gz
| Download URL | moat_lib_repl-0.1.10.tar.gz |
|---|---|
| Size | 65.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d1c8b718714720eb76c54722be5a46086e4ae44973ff7509c81dc0a8bc72285
|
|
BLAKE2b-256 checksum How to use checksums |
d4da814f5301509c7c2892090cf8025de3c69e29d00e0c341331830fde97a4f8
|
| 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.10-py3-none-any.whl
| Download URL | moat_lib_repl-0.1.10-py3-none-any.whl |
|---|---|
| Size | 80.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5895829d98c6f526056567c4d67b5c7b6850b9cb5ad55c8cf651922c8415b8e
|
|
BLAKE2b-256 checksum How to use checksums |
366d6ab3a0b0acd66b6ef126c80462fa35704460577dba7e2e6c528c39351b92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|