Plotting functionality for common experimental datasets
Project description
Template Github Repository
This is a template repository for python projects which use sphinx for documentation, github actions for building, pytest and codecov for test coverage.
Getting Started
Installation via pip
pip install sugarplot
Features
- Github actions unit test integration via pytest
- Github actions package management with conda
- Github actions documentation build using sphinx and reST/markdown, with auto self-push to repository after successful build
- Github pages documentation hosting/integration
- Local commits hooks run full test suite
- Coverage uploaded automatically to codecov after successful build
- [FUTURE] Auto-deploy to pyPi/testpyPi after successful build
Common Issues
- Re-running builds on github actions will cause them to fail, as the build number deployed to PyPi depends on the github run number, which does not change if you restart a build.
- Pypi deploy is a little slower than test pypi, so it may not always be downloading the latest version.
How to Use
Adding Additional Unit Tests
- Any time you want to add additional unit tests just add them to those in the
tests/
directory and prepend with the nametest
. These will be automatically found by pytest and run during local commits and remote builds.
Writing the Documentation
- The documentation source is located in
docs/source
and is written in restructured text (markdown is also available).
Building the Documentation
Simply run make html
from the docs/
directory. This will compile the
files in the docs/source/
directory, and place them in the main docs/
directory where github pages can find them.
Dependencies / Technologies Used
Acknowledgements
Thanks to all the great people on stack overflow and github, for their seemingly boundless tolerance to my and others' questions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sugarplot-0.1.10.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file sugarplot-0.1.10.tar.gz
.
File metadata
- Download URL: sugarplot-0.1.10.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5958d6f6c2dad0dcac1375b3bdfa5b12068d7f2e9685d6f5925a8c7a2d225abd |
|
MD5 | a04332d7801a0fb4b8e9807036041915 |
|
BLAKE2b-256 | 60da131d75d116ed87c1a4a01c585f044b255e284e603421254f7e87d54e5f2d |
File details
Details for the file sugarplot-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: sugarplot-0.1.10-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9cee6ea49a8515929b4bf24691a3db65d750d217b740372b56b828c74bb8244 |
|
MD5 | 5b328132799973403ab0da0bee1804fc |
|
BLAKE2b-256 | b71501114dc0de4842c4c288d8b41f0adf7196b2ff7b9cdc7141b90e18368d7c |