Skip to main content

xyfny - a z-machine intepreter

This is based closely upon theinternetftw's xyppy.

Where that is geared towards an interactive simulation of a good ol'-fashioned Z-machine experience, this is intended to be plugging into event-driven systems (for instance, chat systems like Slack).

All of the terminal handling is stripped out. Rather, the z-machine runs until it attempts to read input from the user. At that point, it'll exit with an interrupt - unless there is user input pending in its buffer.

The basic gist of how this might be used:

# Initialise
env = make_env(file)
intro = do_step(env, line)

# Output the introductory text to the user
output(intro)

# On receiving an input event from the user:
response = do_step(env, event_text)
output(response)

References

Metadata

Release files for xyfny 0.0.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 xyfny 0.0.11
File Size Uploaded Provenance Actions
xyfny-0.0.11.tar.gz 33.9 kB Without provenance Details for xyfny-0.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xyfny 0.0.11
File Interpreter ABI Platform Actions
xyfny-0.0.11-py3-none-any.whl Python 3 none any Details for xyfny-0.0.11-py3-none-any.whl

Total release size: 72.6 kB

Release files / xyfny-0.0.11.tar.gz

Download URL xyfny-0.0.11.tar.gz
Size 33.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c12cf9ba44edf43dd8d673223125a06ab0a321045f50d6d31b0e093afade5ba0
BLAKE2b-256 checksum
How to use checksums
c81454b8834fbe600f5e0ef26d208102f668f7e5dbe8b8a9efc9c4ad2fa1e257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / xyfny-0.0.11-py3-none-any.whl

Download URL xyfny-0.0.11-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07a7a50f7daba1d865ede862af96cb1ef6533758094f5ed2f762ada20089cae1
BLAKE2b-256 checksum
How to use checksums
b9b9ce21d6cb7c8b8d089faaed67c0e8e7a417fa86ba50d878ff198f816672e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for xyfny 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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