Skip to main content

Python package of the CMS Machine Learning Group

Project description

Lint and test Deploy images Documentation status Python version Package version License

CMS Machine Learning Group Python package.

The documentation of this Python package is hosted on readthedocs.

However, note that this documentation only covers the API and technical aspects of the package itself. Usage examples and further techniques for working with machine learning tools in CMS, alongside a collection of useful guidelines can be found in the general CMS ML group documentation.

Click here to submit a feature suggestion!

Docker images

To use the cmsml package via docker, checkout our DockerHub which contains tags for several Python versions.

Testing

The tests can be triggered with

pytest -n auto tests

and in general, they should be run for Python 3.7 to 3.11. To run tests in a docker container, do

# run the tests
./tests/docker.sh cmsml/cmsml

# or interactively by adding a flag "i" to the command
./tests/docker.sh cmsml/cmsml i
> python -m unittest tests

In addition, before pushing to the repository, PEP 8 compatibility should be checked with flake8 via

./tests/lint.sh

or using the docker container

# run the tests
./tests/docker.sh cmsml/cmsml tests/lint.sh

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

cmsml-0.2.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

cmsml-0.2.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file cmsml-0.2.1.tar.gz.

File metadata

  • Download URL: cmsml-0.2.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for cmsml-0.2.1.tar.gz
Algorithm Hash digest
SHA256 20a66e17b482c830c8c3fd9b9ef2c6b425ca8453018a9668742e54ed5160dc86
MD5 d430f70cafe03de0194c493da67e82b9
BLAKE2b-256 26dda9ac6afb24fb756988727f6a46b00828157f2546545988b6c7e4d8250494

See more details on using hashes here.

Provenance

File details

Details for the file cmsml-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: cmsml-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for cmsml-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87d98bdbc73426fc37204632db13edc588eac1a01ae83af28f90bbc7753e81cf
MD5 6d5eb01e0dd3ef7be37c27f194179a50
BLAKE2b-256 f6271bfb77df61552b70a2460bd1bc15f897c0757fb5dcaac70659de99f18042

See more details on using hashes here.

Provenance

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