A Python library containing useful functions and classes
Version 0.0.6
There are two ways to get the code:
Download the latest release (the ‘Source code (zip)’ file should work an all platforms).
Or you can clone the git repo to get the latest (and often broken) code from the main branch:
$ git clone https://github.com/cyclopticnerve/CNLib
There are also two ways to get CNLib into your project. Run these commands from your project directory.
First make sure you have a venv and it is active:
$ python -m venv .venv
$ . .venv/bin/activate
If you downloaded the zip file:
$ python -m pip install /path/to//CNLib-<version>.zip
where <version> is the version number included in the file name.
Or if you cloned the repo:
$ python -m pip install /path/to/CNLib
Add this line to your project’s ‘requirements.txt’ file:
CNLib @ git+https://github.com/cyclopticnerve/CNLib@<tag>
where <tag> is the tag you want, such as ‘v0.0.1’, etc.
Then run:
$ python -m pip install -r requirements.txt
Read the documentation.
In your project folder:
$ . .venv/bin/activate
$ python -m pip uninstall cnlib
10/10, no notes.
-)