Skip to main content

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 a H3 heading in CHANGELOG.md for v0.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

bhawick.looniplot-0.0.8.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

bhawick.looniplot-0.0.8-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

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

Hashes for bhawick.looniplot-0.0.8.tar.gz
Algorithm Hash digest
SHA256 a1dbb4d721351cf62ef06daff550134250e922ebe99aee46e5268b1f27a7ecbc
MD5 48a69a9205f3d673709924ee521b836f
BLAKE2b-256 4f6002b48f6fe5af4a42240e04beff6fd115daa1c831cebff06a4fd1a563f8c4

See more details on using hashes here.

File details

Details for the file bhawick.looniplot-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for bhawick.looniplot-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 28b0e817f1ec3042432eb13eaacda727a167d6945526ee96141575a05c4fb831
MD5 f85c057a4b999ce59007c29242aafca8
BLAKE2b-256 5d478e4c75b0b33b80cdc179c49fbc442ce770f36eb196437963d271b8b090de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page