Skip to main content

Biolerplate for Python packaging

Project description

serial-sphinx

License: AGPL v3 Python Versions Style Black status-badge

Why?

Rapid prototyping requires boilerplate code

What?

serial-sphinx distills field knowledge about using sphinx for uploading your documentation to readthedocs.org. Follow the blog for more useful info.

Command snippets

rm -r docs 
cd docs
sphinx-quickstart

Copy the config file from the repository. Then, in the docs folder

sphinx-apidoc -o source/ ../<package_name>
make html

Make sure you follow the appropriate file structure outlined in the repository.

Push it to you repo with the configured webhook, and you are done.

Proper testing

Please make sure to setup some CI/CD pipeline. If you are avoiding commercial setups, then this is a problem.

For code quality, make sure you have great coverage by using pytest-cov. Check out the provided setup.cfg file.

Woodpecker CI

Open-source CI. But not like Github-actions. Check the .woodpecker.yml for a tested standard workflow.

Code-Coverage

The passing goal for the code-coverage should be edited in the setup.cfg under the key addopts

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

chembee-0.1.0.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

chembee-0.1.0-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

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