Skip to main content

A lightweight CLI tool to track and monitor credential & token expiry dates across your stack.

Project description

expyry

PyPI version

A lightweight CLI tool to track and monitor credential & token expiry dates across your stack.

asciicast

Requirements

  • Python 3.10+
  • pip

Install

📦 PyPI

pip install expyry

Usage

expyry add              — add a credential
expyry list             — list all credentials  
expyry notify enable    — enable shell notifications
expyry notify disable   — disable shell notifications
expyry remove <name>    — remove a credential
expyry update <name>    — update a credential

Supported Services

Service How expiry is detected
GitHub PAT API response header
SSL Certificate Direct TLS connection
GitLab PAT API response header
Custom Manual date entry

Shell Notifications

Expyry can silently check your credential expiry dates every time you open a terminal and warns you only when something is expiring soon.

expyry notify enable

Contributing

Adding a new service

  1. Create expyry/services/yourservice.py
  2. Implement check_yourservice() and add_yourservice()
  3. Wire it into main.py and add()
  4. Open a PR

See services/ssl.py for a simple example.

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

expyry-0.2.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

expyry-0.2.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file expyry-0.2.1.tar.gz.

File metadata

  • Download URL: expyry-0.2.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for expyry-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5e553d8d51b50e49ef63cb477d69c0d3db9edb9821bd4cca23401c1c5296b958
MD5 1f94d97ad5a6af0c40c3a0e8194a5aca
BLAKE2b-256 a518a6e4a3046cf66ee3abbaba1f522742ad418a2d934ce54f72385df94b9218

See more details on using hashes here.

File details

Details for the file expyry-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: expyry-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for expyry-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54c732080af2578580516b8a4913bd26cbeac41331f3979530fe45d2c502b830
MD5 e32cd4cbab3a208c58e4b19698d0b487
BLAKE2b-256 0d9ffd741e5e504b8ea82ea4a71d371c6cdfdbf5d47c57d2255a40e508cf1e5b

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