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
Release files for moat-lib-repl 0.1.7
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.7.tar.gz | 64.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moat_lib_repl-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 144.9 kB
Release files / moat_lib_repl-0.1.7.tar.gz
| Download URL | moat_lib_repl-0.1.7.tar.gz |
|---|---|
| Size | 64.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83c65cfd0c2ead75e2c5e476070df3fbdfacdda751551ed8eb5dc36ebd691e7b
|
|
BLAKE2b-256 checksum How to use checksums |
17d39d781c17fcb911f5f6f99b0966fbec74fc12004603500d21f841bf01d97b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Release files / moat_lib_repl-0.1.7-py3-none-any.whl
| Download URL | moat_lib_repl-0.1.7-py3-none-any.whl |
|---|---|
| Size | 80.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
640d13ec680b8ce401d4bfebaa77aa7c26fd87834a795a56e1a52e39c4603752
|
|
BLAKE2b-256 checksum How to use checksums |
ba3eeb1f0f2010f04845a4948ace418fedbc21d98f448074b889ddb4e2135517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|