comet_maths
Mathematical algorithms and tools to use within CoMet toolkit.
Usage
Virtual environment
It’s always recommended to make a virtual environment for each of your python projects. Use your preferred virtual environment manager if you want and activate it for the rest of these commands.
If you are using conda you can create and activate your environment using:
conda create -n yourenvname -k python=3.x
followed by:
conda activate yourenvname (activate environment in windows)
or:
source activate yourenvname (activate environment on a UNIX operating system)
You can also use venv. If you’re unfamiliar, read https://realpython.com/python-virtual-environments-a-primer/. You can set one up using:
python -m venv venv
and then activate it on Windows by using venv/Scripts/activate.
Installation
Install your package and its dependancies by using:
pip install -e .
Development
For developing the package, you’ll want to install the pre-commit hooks as well. Type:
pre-commit install
Note that from now on when you commit, black will check your code for styling errors. If it finds any it will correct them, but the commit will be aborted. This is so that you can check its work before you continue. If you’re happy, just commit again.
Running the test suite is possible by running pytest.
Compatibility
Licence
Metadata
Release files for comet-maths 1.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| comet_maths-1.0.10.tar.gz | 48.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comet_maths-1.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.2 kB
Release files / comet_maths-1.0.10.tar.gz
| Download URL | comet_maths-1.0.10.tar.gz |
|---|---|
| Size | 48.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0725f25d42e6d5d5e7b3d75746e9506d4e79bf02adeaf3d15c30b637e2006219
|
|
BLAKE2b-256 checksum How to use checksums |
cfcc3066d21ad2ecab190364580748af67dddc408775b57b2da536745fc498f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / comet_maths-1.0.10-py3-none-any.whl
| Download URL | comet_maths-1.0.10-py3-none-any.whl |
|---|---|
| Size | 35.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e59a928489b864be1f493e1a62473ee54a1a998d555207149f9154d5066d5769
|
|
BLAKE2b-256 checksum How to use checksums |
303f06e39d40abd1381d13448686142d56f71097865bd9f79e08652fb0568a91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|