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-1.0.7.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comet_maths-1.0.7-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: comet_maths-1.0.7.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for comet_maths-1.0.7.tar.gz
Algorithm Hash digest
SHA256 7a69a40c4b6678b5dac8c9f014dde583971bb55ec5af02d79ba327dc6a5bb8f7
MD5 edcef6fa98c0c557be21ff74dc87f23e
BLAKE2b-256 e024d1d09ef8da710549cbcfdba3fa0ab4c9f52b37380e96e62f725104b3058c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: comet_maths-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 33.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for comet_maths-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0453d49f873dbbf81dd91edafa4890c016ef5ab2da4ccc0a517fa0152b64aadf
MD5 3d4f35f085ab6b5314684e965e64ca9c
BLAKE2b-256 33719c7a8ec0216aa26db67045d4197c78a2a74d81e6d2c4309685eeeb2096ad

See more details on using hashes here.

Supported by

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