PunkEditor
Framework for flexible and powerful curses-based applications.
Installation
For command line version only: pipx install punkeditor
To use the code library: pip3 install punkeditor (or add to your requirements.txt etc).
Use
We only have a prototype at the moment. It's a variation on the curses TextBox class. If you seek word wrapping, or even character mapping, or copy/paste, or basically anything, look elsewhere.
The command is:
punke
Optionally, provide --width and --height options for an edit box smaller than the full terminal window.
The editor will open with an empty buffer. Try keys:
| Key | Action |
|---|---|
| <arrows> | move |
| ctrl-a | left end of line |
| ctrl-e | right end of line |
| ctrl-d | delete character |
| ctrl-k | delete remainder of line |
| <backspace> | backspace |
Hit Tab to quit. The command will dump the contents of the buffer to the output after quitting.
We're still missing the concept of a newline character. The editor ignores the Return key, and only inserts a space between output
Logo by Freepik
Metadata
Release files for punkeditor 0.2.5
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 |
|---|---|---|---|---|
| punkeditor-0.2.5.tar.gz | 3.3 kB | Without provenance | Details for punkeditor-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| punkeditor-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for punkeditor-0.2.5-py3-none-any.whl |
Total release size: 8.3 kB
Release files / punkeditor-0.2.5.tar.gz
| Download URL | punkeditor-0.2.5.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
564e7474eceb41af4a0b1f8794867ded4a0f069f1e9786b63c31203afce64960
|
|
BLAKE2b-256 checksum How to use checksums |
a64976e9513c058ed481694f49fc1f70dea9bdbc05424c648a5ab01f2ee2777c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.8 Linux/5.4.109+
|
Release files / punkeditor-0.2.5-py3-none-any.whl
| Download URL | punkeditor-0.2.5-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c5af48e114e8d46b1331ebd8201e3159625cfb3576bf429a752f5cf66b067a7
|
|
BLAKE2b-256 checksum How to use checksums |
5172c6930ea012674fd04906026374126ce1bbfe354683b7f6fc64e58e0f264b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.8 Linux/5.4.109+
|
Security for punkeditor 0.2.5
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.