Skip to main content

(pre-release) PagerDuty Public Support Scripts CLI App

Project description

CircleCI

Automatic Dev Docs

Installation & Use (note: Pre-Release)

PyPi Index Link

Install:

pip install pdsupp_cli

Use:

pspdbeta --help

Goal:

1 - User Accessibility

Move the hard work represented in PagerDuty Public Support Scripts to an accessible, user-friendly, but low-maintenance CLI framework.

Offer basic help, parsing, and a pip install ... option for users.

2 - Developer Confidence

Add unit and integration tests to the varous script conversions to make extension and maintenance feel (and be) safer!

3 - Developer Acessibility

Add developer documentation (alongside auto-doc publication and in-IDE registration) to the scripts to make maintenance and extension (and inspiration) more fun and efficient!

4 - Shared Learning

Offer a learning project to share with anyone who wants to work with CLI apps, small-scale automated CI/CD processes, and modern Python idioms.

General Repo characteristics:

Python Skeleton Repo

This repo is derived from an in-progress Python+Poetry Skeleton. All code there is functional. However some knowledge of what variables to populate is still required.

Supported Virtual Environoment, Dependency, and Publication Mgmgt Environment:

This repo is designed for use with the Poetry environment. The code it runs assumes that .venv's are local. Set with:

poetry config virtualenvs.in-project true

Check with:

poetry config --list

The repo also uses pre-commit hooks (download separately, as .git/ is not automatically synched) that auto-populate a requirements.txt & requirements-dev.txt so Poetry is NOT required for building and exploration. (However the CI/CD scripts will use the Poetry system.)

Dev-Dependencies Specified

  • formatting: isort & black
  • linting: pylint
  • lsp & typechecking: pyright
  • testing: pytest + coverage (via pytest-cov)
  • auto-documentation: pdoc (not "pdoc3", which should be strongly avoided)

Run Pre-Commit Hook Manually

from anywhere in project:

git hook run pre-commit

Note:

Due to runner environment caching in GitHub Workflow environment renaming needs to be accompanied by explicit cache deletion. And possible other maintenance.

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

pdsupp_cli-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

pdsupp_cli-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pdsupp_cli-0.1.1.tar.gz.

File metadata

  • Download URL: pdsupp_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Darwin/22.3.0

File hashes

Hashes for pdsupp_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 194e3019b2e4728f26bd29c5fedcc5ac00ffdb3993238b69bb26ff1c71976d19
MD5 c69bea831653abb6f7f74cae335acbf5
BLAKE2b-256 c1bbd863f0de4bb55825fb2b2194ec11e25a83bf3d53f5f57ad8736c3871c334

See more details on using hashes here.

File details

Details for the file pdsupp_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pdsupp_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Darwin/22.3.0

File hashes

Hashes for pdsupp_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 281a80b59da713305a81c09d6291a19ed96d1b99d833bd7f57a001606da3129d
MD5 9c489e7fb331fdf1b89bdb6fc11f3888
BLAKE2b-256 ee3763945b60401fe8d44f49c876b443bcd4009ce8423dfb98a523f5eaa2bcc4

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