Lightweight plotting to the terminal. 4x resolution via Unicode. This is a fork of Uniplot, please use that library instead.
Project description
Please do not use this library
This is a fork of Uniplot and attempts to see if my CI/CD can replace the approach taken by Uniplot. I do not pretent this mine and it is merely an experiment.
Lessions learnt
Setup.py and Setup.cfg work together
Alongside pipenv
they automatically create and destroy the pyproject.toml
.
In addition, I could set extra_dependencies
in setup.cfg
and they need to remain in setup.py
inorder for pip -e .[dev]
to install development dependencies.
Version release process
- Given you have just published
v0.0.1
, create aH3
heading inCHANGELOG.md
forv0.0.2
. - Commit away!
- When ready to announce a version bump, with all modified files commited, run
make patch
to bump version and create a draft release note. ⚠️ At this point further commits won't be part of this release. - publish the draft release with changelogs when ready.
- All commits from the version patch will belong to the next version bump.
How to reset a library version
make sure .bumpversion.cfg
and setup.py
have their versions set to 0.0.0
To Manually Publish do the following
Ensure make build-check is run Then run make publish
I have adjusted Makefile
to run build-check
before running publish
.
Library folder name must match the module name
This ensures __init__.py
belong to the module name not src
.
On setting up CI/CD
You must depoy version 0.0.0
manually, that will create a project instance on PyPi. Create a token against that project and add it as a GitHub Actions Secret under the key PYPI_API_TOKEN
.
On Testing
tox
command for tests must be following or the incorrect file will be targetted. SO-Link. Uniplot author interesting does the same thing!
python -m pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bhawick.looniplot-0.0.8.tar.gz
.
File metadata
- Download URL: bhawick.looniplot-0.0.8.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1dbb4d721351cf62ef06daff550134250e922ebe99aee46e5268b1f27a7ecbc |
|
MD5 | 48a69a9205f3d673709924ee521b836f |
|
BLAKE2b-256 | 4f6002b48f6fe5af4a42240e04beff6fd115daa1c831cebff06a4fd1a563f8c4 |
File details
Details for the file bhawick.looniplot-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: bhawick.looniplot-0.0.8-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b0e817f1ec3042432eb13eaacda727a167d6945526ee96141575a05c4fb831 |
|
MD5 | f85c057a4b999ce59007c29242aafca8 |
|
BLAKE2b-256 | 5d478e4c75b0b33b80cdc179c49fbc442ce770f36eb196437963d271b8b090de |