Skip to main content

wrecked_bindings

Python bindings for the wrecked terminal interface library.
PyPI - Downloads PyPI PyPI - License

Installation

Can be installed through pip

pip install wrecked

Usage

import wrecked

# Instantiates the environment. Turns off input echo.
top_rect = wrecked.init()

# create a rectangle to put text in.
new_rect = top_rect.new_rect(width=16, height=5)

# Add a string to the center of the rectangle
new_rect.set_string(2, 3, "Hello World!")

# Make that rectangle blue
new_rect.set_bg_color(wrecked.BLUE)

# And finally underline the text of the rectangle
new_rect.set_underline_flag()

# Draw the environment
top_rect.draw()

# take down the environment, and turn echo back on.
wrecked.kill()

Metadata

Release files for wrecked 1.0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wrecked 1.0.21
File Size Uploaded Provenance Actions
wrecked-1.0.21.tar.gz 1.0 MB Without provenance Details for wrecked-1.0.21.tar.gz

Release files / wrecked-1.0.21.tar.gz

Download URL wrecked-1.0.21.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
33f930dd46fec5fc05c6688a09c9299d35854075a6be2817827154afca0d6727
BLAKE2b-256 checksum
How to use checksums
d6e71547655ca47fab5e91519e884a16d77865fb17e715b6e03ef685cb64b403
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for wrecked 1.0.21

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