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.11

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.11
File Size Uploaded
moat_lib_repl-0.1.11.tar.gz 65.5 kB Details

Built distribution (wheel)

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

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.9

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