Skip to main content

The CLI for adopting the python3-pip-skeleton framework

Project description

Code CI Docs CI Test Coverage Latest PyPI version Apache License

This skeleton module (inspired by jaraco/skeleton) is a generic Python project structure which provides a means to keep tools and techniques in sync between multiple Python projects.

PyPI

pip install python3-pip-skeleton

Source code

https://github.com/DiamondLightSource/python3-pip-skeleton-cli

Documentation

https://DiamondLightSource.github.io/python3-pip-skeleton-cli

Releases

https://github.com/DiamondLightSource/python3-pip-skeleton-cli/releases

It integrates the following tools:

  • pip and setuptools_scm for version management

  • Pre-commit with black, flake8 and isort for static analysis

  • Pytest for code and coverage

  • Sphinx for tutorials, how-to guides, explanations and reference documentation

  • GitHub Actions for code and docs CI and deployment to PyPI and GitHub Pages

  • tox -p: runs pre-commit, pytest, mypy and make docs - which verifies all the things that CI does

  • If you use VSCode, it will run black, flake8, isort and mypy on save

The the related skeleton repo for this module contains the source code that can be merged into new or existing projects, and pulled from to keep them up to date. It can also serve as a working example for those who would prefer to cherry-pick.

This python3-pip-skeleton-cli repo contains the docs and a command line tool to ease the adoption of this skeleton into a new project like this:

python3-pip-skeleton new /path/to/be/created --org my_github_user_or_org

and existing projects:

python3-pip-skeleton existing /path/to/existing/repo --org my_github_user_or_org

See https://DiamondLightSource.github.io/python3-pip-skeleton-cli for more detailed documentation.

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

python3-pip-skeleton-0.0.3.tar.gz (77.2 kB view details)

Uploaded Source

Built Distribution

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

python3_pip_skeleton-0.0.3-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file python3-pip-skeleton-0.0.3.tar.gz.

File metadata

  • Download URL: python3-pip-skeleton-0.0.3.tar.gz
  • Upload date:
  • Size: 77.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for python3-pip-skeleton-0.0.3.tar.gz
Algorithm Hash digest
SHA256 98ead8bc4606b626beb344f7de28cf37d128d01d6b9660528a1bcea40f123eb7
MD5 2e4a4b9ff0e16470253ea3671c06aa1b
BLAKE2b-256 c590f05d8a0f490f7742aa6faa00ce3cd386a938a976e3bde17e5c1bd8132921

See more details on using hashes here.

File details

Details for the file python3_pip_skeleton-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for python3_pip_skeleton-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8f1bec58d7cad0a9c50aa20a0eb3047df27ac13dc061daa0b5c4f46956d41959
MD5 9f72762ae682c1ec520131a7d91c5dc1
BLAKE2b-256 146842008b6c037e64323a8d73fef2fd85e3e95bfdd965e26f9b017d88c02d79

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