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.
| Image | Python version | TF Version | PyTorch Version | GPU support |
|---|---|---|---|---|
cmsml/cmsml:3.7 |
3.7 | 2.11.1 | 1.13.1 | ✘ |
cmsml/cmsml:3.8 |
3.8 | 2.13.1 | latest (~2.3.0) | ✘ |
cmsml/cmsml:3.9cmsml/cmsml:3cmsml/cmsml:latest |
3.9 | latest (~2.16.1) | latest (~2.3.0) | ✘ |
cmsml/cmsml:3.10 |
3.10 | latest (~2.16.1) | latest (~2.3.0) | ✘ |
cmsml/cmsml:3.11 |
3.11 | latest (~2.16.1) | latest (~2.3.0) | ✘ |
cmsml/cmsml:3.11-cuda |
3.11 | latest (~2.16.1) | latest (~2.3.0) | ✔︎ |
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
- Source hosted at GitHub
- Report issues, questions, feature requests on GitHub Issues
Metadata
Release files for cmsml 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cmsml-0.2.7.tar.gz | 24.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmsml-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.3 kB
Release files / cmsml-0.2.7.tar.gz
| Download URL | cmsml-0.2.7.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d02d46e46119f4c1f21e476c034e80cc39671bf73766f4ea20087eaec1605b82
|
|
BLAKE2b-256 checksum How to use checksums |
91a7b366f71cb19abe35fe6cc8ef36498e55300b5f881366862a78371f4438f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / cmsml-0.2.7-py3-none-any.whl
| Download URL | cmsml-0.2.7-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c1d379533c20fc40c791f4a4680a0f6c4cb1f937a0f8de49c4162622f52f69c
|
|
BLAKE2b-256 checksum How to use checksums |
9f8409c3dd9f59ec2af62f158e26503b8936f50593aab8ccdec5605ecca53c89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for cmsml 0.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.