Skip to main content

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)

Source distribution for moat-lib-repl 0.1.9
File Size Uploaded
moat_lib_repl-0.1.9.tar.gz 65.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for moat-lib-repl 0.1.9
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page