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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cmsml-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5c8e6f32e256d373a9924d667b37fd70f1e1d9da0e2e8df0bcc7cca5712b1607
MD5 6f2f71985cbb117a8440f7535c87dea5
BLAKE2b-256 5883618e24346c2eb7d6cd9f5566ac698de95394ace1fdc32336fc01e82ab96c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cmsml-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce127341753378268071ce9d6ab80dea56db0c14af514bd8b09a040978efb02e
MD5 16c0152a113db242e87bebf14d42c94b
BLAKE2b-256 a75c1bdb76b2de97701f7c5196673d4b6b398603f4a6ccc5cd23c0e9cc50cffb

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