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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file chembee-0.1.0.tar.gz.

File metadata

  • Download URL: chembee-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for chembee-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9aee6a7ef1fe66e6b014559bc7c9e348af58ccc071843a48d9cc90cb404c67ec
MD5 b2a8c108dff6d95c5c9d9752bc9c068c
BLAKE2b-256 408ec08c95cca9f7d0319e915aeb9b41d9b4427d4f6b15b1b5c473cebf487130

See more details on using hashes here.

File details

Details for the file chembee-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chembee-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for chembee-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6686637065e07f71e8e6f421af3b199ef31d2e853b9ccaeabd72e795ffc9629f
MD5 d5b2dfc529d2ec2e2daf97c19f809ee4
BLAKE2b-256 4ef3cf6bcfacebb17980d00a01db3a330edc3aebc6bbd7189ac5e72f3cdd9c14

See more details on using hashes here.

Supported by

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