nccsv
nccsv - Ncurses CSV Editor written in Python
Install Dev (on windows)
$ python3 -m venv venv$ . venv/bin/activate(venv) $ pip install -r windows-curses
Install Prod
$ pip install nccsv
Usage
- Dev:
(venv) $ python run.py [Filename]
- Prod:
python -m nccsv
Screenshots
TODO:
- Architecture
- Wireframes
- Home / Menu
- File selector
- Open
- Close
- Editor
- Layout Grid
- Entry
- Wireframes
- Multiple views
- Home / Menu
- File selector
- Editor
- Custom widgets
- Layout Grid
- Entry (text editor with box)
- Scroll down / right
- [.] Delete contents of cell when you hit "DEL"
- Row / Col bars (A,B,C, 1,2,3)
- [.] Actually handle CSVs
- Color
- Documentation
- Publish to pip
- Tests
Misc folder is for miscellaneous test files to add features (pad scrolling, etc)
Notes
How the Textbox should work:
- Is an Object
- Constr:
- Has x, y coord on the master screen?
- Do we want this?
- Can we make it have it's own coordinates, so we don't have to worry about the master screen?
- Has size definition
- Custom callback if wanted
- Default text (to load in)
- Has x, y coord on the master screen?
- Props:
- Text to display
- Is it highlighted
- Input:
- When calling edit_text(), it will edit the text and return it back on Enter
- When calling clear_text(), it will remove the text that is rendered + saved
- Features:
- Editable text field
- Box surrounding text field so we can see it
- Highlight-able (on hover)
- Easy to get the text programmatically
How the grid should work:
- Is an Object
- Constr:
- Has x, y coord on the master screen
- Has rows / cols
- Props:
- 2D Matrix of Textboxes
- Keeps track of which box is selected
- Input:
- Can scroll up/down/left/right
- On Enter, send input to Textbox object to handle
- On Del, clear the input of the Textbox
- On Ctrl + S, it saves
- On Q, it quits
- Features:
- Load a 2D matrix from a file (csv)
- Save a 2D matrix from a file (csv)
- Add rows and columns if user scrolls past what currently exists
LICENSE
MIT © 2020 Sebastian Safari
Metadata
Release files for nccsv 0.2
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 |
|---|---|---|---|---|
| nccsv-0.2.tar.gz | 8.4 kB | Without provenance | Details for nccsv-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nccsv-0.2-py3-none-any.whl | Python 3 | none | any | Details for nccsv-0.2-py3-none-any.whl |
Total release size: 17.3 kB
Release files / nccsv-0.2.tar.gz
| Download URL | nccsv-0.2.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56d5ec7cac28d78fd27680333f044b9862a979cc541cd82867273b0fccbda57e
|
|
BLAKE2b-256 checksum How to use checksums |
0de093f115b3ce154dbdb402056156dde2a3dbf07e5239229da1716c7bfe205b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.2
|
Release files / nccsv-0.2-py3-none-any.whl
| Download URL | nccsv-0.2-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7031333e6af1bda44b4d9e6ad1a672ddc0cbf27426e2feabcfce3a8100c1463
|
|
BLAKE2b-256 checksum How to use checksums |
8bd0b88b5ec6563ab25ace3d50d5b751dfd3ee6164bf525563689b65b5ba8583
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.2
|
Security for nccsv 0.2
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.