A collection of scikit-learn compatible utilities that implement methods developed in the COSMO laboratory
Project description
scikit-cosmo
A collection of scikit-learn compatible utilities that implement methods developed in the COSMO laboratory
Installation
pip install skcosmo
You can then import skcosmo
in your code!
Developing the package
Start by installing the development dependencies:
pip install tox black flake8
Then this package itself
git clone https://github.com/cosmo-epfl/scikit-cosmo
cd scikit-cosmo
pip install -e .
This install the package in development mode, making is import
able globally
and allowing you to edit the code and directly use the updated version.
Running the tests
cd <scikit-cosmo PATH>
# run unit tests
tox
# run the code formatter
black --check .
# run the linter
flake8
You may want to setup your editor to automatically apply the black code formatter when saving your files, there are plugins to do this with all major editors.
License and developers
This project is distributed under the BSD-3-Clauses license. By contributing to it you agree to distribute your changes under the same license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.