Skip to main content

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.

Metadata

Release files for sugarplot 0.1.34

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sugarplot 0.1.34
File Size Uploaded
sugarplot-0.1.34.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sugarplot 0.1.34
File Interpreter ABI Platform
sugarplot-0.1.34-py3-none-any.whl Python 3 none any Details

Total release size: 39.1 kB

Release files / sugarplot-0.1.34.tar.gz

Download URL sugarplot-0.1.34.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f00ec2524575ec9c7918d24052c14d884873241499e37f98fc693f07a86f6ea4
BLAKE2b-256 checksum
How to use checksums
3422376408530fe45786031565a69be32ee392efb4fbe8e0c190a0f235d11a13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / sugarplot-0.1.34-py3-none-any.whl

Download URL sugarplot-0.1.34-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39158434a5c0a54fa39888396ffbc94a5581f2d8315d4ed1530c7c49a4e21639
BLAKE2b-256 checksum
How to use checksums
21b420ac6d0e5b63b5e8a6eaea95f4d916c7a1858d9097cc1bcf58c27ebd650b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.1.34 This release

2 release files

0.1.10

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page