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