Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.51 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.51 KB

scikit-cosmo

Test codecov

A collection of scikit-learn compatible utilities that implement methods developed in the COSMO laboratory

Installation

pip install git+https://github.com/cosmo-epfl/scikit-cosmo

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 importable 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.