Skip to main content

A python package template

Project description

Python Package Template

Latest Release latest release
latest release
latest release
Package Status status
License license
Build Status gitlab pipeline status
Coverage coverage
Conda conda downloads
Documentation readthedocs documentation

This is an opinionated attempt to document how I deploy a python application with documentation, testing, pypi, and continuous deployment. This project will be updated as I change my python development practices. Number one this is a learning experience.

Assumptions:

Gitlab will be used for the continuous deployment. It is a great project that is open source and comes with many nice features not available for Github. You should consider it! Features used:

If you would like a custom domain setup with gitlab pages for the documentation you will need to use cloudflare. I have a blog written on how to do this or you can look at the gitlab cloudflare documentation.

Steps

This project is a python package itself and full documentation is available on readthedocs. Each of the steps below includes a link to the section in the documentation.

  1. setup a bare python package with git repo (setup.py, README.md, .gitignore, <package>)
  2. setup pypi deployment with git tags vX.X.X
  3. setup testing on each commit with pytest
  4. setup documentation with sphinx on readthedocs and self hosted

Requirements

None!

Contributing

All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.

The goal of this project is to in an opinionated way guide modern python packaging development for myself.

License

MIT

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

pypkgtemp-1.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

pypkgtemp-1.2.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file pypkgtemp-1.2.0.tar.gz.

File metadata

  • Download URL: pypkgtemp-1.2.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypkgtemp-1.2.0.tar.gz
Algorithm Hash digest
SHA256 022c0d0a187b549dfaf375b637128e4c3925359f8438fe391c3f1b0d538993ef
MD5 9f09bfd68a452665e6a9a3a66596167d
BLAKE2b-256 836a078f35909bbad794a8d5c985ecf5fc10f075a2d3a006c89010f57e005213

See more details on using hashes here.

File details

Details for the file pypkgtemp-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pypkgtemp-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9d8fb34eb856f805d6990ef39991a19acbf98c4a12e79c4becce603bfa5a914
MD5 f85d951d957541f724e1eabf3ac2c7c2
BLAKE2b-256 c664d90c0a4b5f9842decca2fa077b67d964b94f1b6315ac072f5594201b25c6

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