Skip to main content

Plotting functionality for common experimental datasets

Project description

sugarplot - Making pretty data analysis easier

Build docs codecov

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 name test. 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


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.20.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

sugarplot-0.1.20-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file sugarplot-0.1.20.tar.gz.

File metadata

  • Download URL: sugarplot-0.1.20.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.3

File hashes

Hashes for sugarplot-0.1.20.tar.gz
Algorithm Hash digest
SHA256 00c56f4c06a927db12e7a709843161351c3698aefaaa0fd2460d8f77e98bf51f
MD5 94aa8beb9a35c4bba4d69601b0f33d94
BLAKE2b-256 3dc87d85301881ff95cf386ada36746f4207ca1d1309bccc1181b05b1bdd11e4

See more details on using hashes here.

File details

Details for the file sugarplot-0.1.20-py3-none-any.whl.

File metadata

  • Download URL: sugarplot-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.3

File hashes

Hashes for sugarplot-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 8ed1d4d430a0dc7afaba67d42e4a7c3216f41da24820d5fc9962a17182ebdb96
MD5 d7899e5e0a1d6ffaedd405d6e9cbca4d
BLAKE2b-256 5e3fd7f9a813b76fd9667fc897fb1b78520a0d075f78dbc08fa2397ee9ae8441

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page