We enthusiastically welcome contributions to DE-Sim
!
Before getting started, please contact the lead developers at info@karrlab.org and Arthur Goldberg to coordinate your planned contributions with other ongoing efforts. Please also use GitHub issues to announce your plans to the community so that other developers can provide input into your plans and coordinate their own work. As the development community grows, we will institute additional infrastructure as needed such as a leadership committee and regular online meetings.
DE-Sim
follows standard Python conventions:
README.md
: Overview ofDE-Sim
de_sim/
: Source codedocs/
: Documentationtests/
: Unit testspytest.ini
: pytest configurationsetup.py
: pip installation scriptsetup.cfg
: Configuration for the pip installationrequirements.txt
: Dependenciesrequirements.optional.txt
: Optional dependenciesmanifest.in
: List of files to include in packagecodemeta.json
: Package metadataLICENSE
: LicenseCONTRIBUTING.md
: Guide to contributing toDE-Sim
(this document)CODE_OF_CONDUCT.md
: Code of conduct for developers
DE-Sim
follows standard Python style conventions:
- Class names:
UpperCamelCase
- Function names:
lower_snake_case
- Variable names:
lower_snake_case
We strive to have complete test coverage of DE-Sim
. As such, all contributions to DE-Sim
should be tested.
The tests depend on additional Python packages. These can be installed by running one of the following commands:
pip install /path/to/de_sim[tests]
pip install -r /path/to/de_sim/tests/requirements.txt
The tests are located in the tests
directory. The tests can be executed by running the following commands.
Note that the current directory must be on the PYTHONPATH
environment variable.
git clone https://github.com/KarrLab/de_sim.git
cd de_sim
pip install pytest
python -m pytest tests
The coverage of the tests can be evaluated by running the following commands and then opening /path/to/de_sim/htmlcov/index.html
with your browser.
pip install pytest pytest-cov coverage
python -m pytest tests --cov de_sim
coverage html
Upon each push to GitHub, GitHub will trigger CircleCI to execute all of the tests. All test results are available at CircleCI. And all coverage reports are available at Coveralls.
DE-Sim
is documented using reStructuredText and the napoleon Sphinx plugin. The documentation can be compiled with Sphinx by running sphinx-build docs docs/_build/html
. The compiled documentation is available at https://docs.karrlab.org/de_sim/.
Please use GitHub pull requests to submit changes. Each request should include a brief description of the new and/or modified features.
Contact info@karrlab.org to request release and deployment of new changes.
Please use GitHub issues to report any issues to the development community.
Please use GitHub issues to post questions or contact the lead developers at info@karrlab.org and Arthur Goldberg.