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