Skip to main content

Mathematical algorithms and tools to use within CoMet toolkit.

Project description

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

Authors

comet_maths was written by Pieter De Vis.

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

comet_maths-0.22.0.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

comet_maths-0.22.0-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file comet_maths-0.22.0.tar.gz.

File metadata

  • Download URL: comet_maths-0.22.0.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for comet_maths-0.22.0.tar.gz
Algorithm Hash digest
SHA256 319b1e8624dcea322496aa1d8cf414f64c0b9d09553a105b6ff9c8cdcc5e29a4
MD5 fba24381331c2793879a2febfecd7ccb
BLAKE2b-256 088e8a1c22249d757f0461e4f76afd56271fe0d101c7b21d247103e6b710e88d

See more details on using hashes here.

File details

Details for the file comet_maths-0.22.0-py3-none-any.whl.

File metadata

File hashes

Hashes for comet_maths-0.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3a46cc7f20ee448b87284fef23cdaaf29100053e0ca3c4f8aee4fc5e5600f32
MD5 a1834264d9e805e968cb89189f084388
BLAKE2b-256 e1f220234788e04adbb729b9dc643bb8d02b5cbbef082c722f5b139006f9006b

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