Skip to main content

Cursy

Little and simple wrapper for curses application.

Getting started

The @curses_application decorator is a util built upon curses.wrapper function. This decorator adds stdscr to self object on execution time of start method of the class under @curses_application decorator, so it can be used within the method to access the initialized curses screen.

Installation

pip install cursy

Usage

@cursy.curses_application
class Application:
    def start(self):
        self.stdscr.clear()
        self.stdscr.addstr(0, 0, 'Hello world')
        self.stdscr.getch()

if __name__ == "__main__":
    app = Application()
    app.start()

License

MIT

Metadata

Release files for cursy 1.0.1

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

Source distribution (sdist)

Source distribution for cursy 1.0.1
File Size Uploaded Provenance Actions
cursy-1.0.1.tar.gz 2.2 kB Without provenance Details for cursy-1.0.1.tar.gz

Release files / cursy-1.0.1.tar.gz

Download URL cursy-1.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0c4a30121c496dc255f936eeae3dd27deee66da3b9a5e3f0adf66ab900c2bb90
BLAKE2b-256 checksum
How to use checksums
9951050f9cccc26005f5b1759e13b179b321fd8d895fa6787d35242304290c71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.3

Security for cursy 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

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