Skip to content

JoseAngelMartinB/runn

Repository files navigation

runn

RUNN: Random Utility Neural Network

Daily CI Build Documentation

Documentation

For more detailed instructions, see our documentation.

Installation

To install runn, we recommend using the mamba package manager:

As a user

mamba create -n runn -c conda-forge -c JoseAngelMartinB runn

As a developer

git clone [email protected]:JoseAngelMartinB/runn.git
cd runn
mamba create -n runn -c conda-forge --file requirements/base.txt --file requirements/dev.txt
mamba activate runn
pip install --no-deps -e .
python -m ipykernel install --user --name runn

This will install ruun in editable mode. For more detailed instructions, see our documentation.

Contributing

There are many ways to contribute to runn. Before making contributions to the runn source code, see our contribution guidelines and follow the development install instructions.

If you plan to make changes to the code then please make regular use of the following tools to verify the codebase while you work:

  • pre-commit: run pre-commit install in your command line to load inbuilt checks that will run every time you commit your changes. The checks are: 1. check no large files have been staged, 2. lint python files for major errors, 3. format python files to conform with the pep8 standard. You can also run these checks yourself at any time to ensure staged changes are clean by simple calling pre-commit.
  • pytest - run the unit test suite and check test coverage.
  • pytest -p memray -m "high_mem" --no-cov (not available on Windows) - after installing memray (mamba install memray pytest-memray), test that memory and time performance does not exceed benchmarks.

For more information, see our documentation.

Building the documentation

If you are unable to access the online documentation, you can build the documentation locally. First, install a development environment of runn, then deploy the documentation using mike:

mike deploy develop
mike serve

Then you can view the documentation in a browser at http://localhost:8000/.

Credits

The runn package is distributed under the MIT License. See LICENSE for more information.

This package was created with Cookiecutter and the arup-group/cookiecutter-pypackage project template.

About

RUNN: Random Utility Neural Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published