Metadata-Version: 2.4
Name: expyry
Version: 0.2.0
Summary: A lightweight CLI tool to track and monitor credential & token expiry dates across your stack.
License: MIT License
        
        Copyright (c) 2026 ClockHash
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: pyyaml
Dynamic: license-file

# expyry

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

[![asciicast](https://asciinema.org/a/LI36NGf6J2gpv4dX.svg)](https://asciinema.org/a/LI36NGf6J2gpv4dX)

## Install
```
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

Contributions welcome. To add a new service, create a file in `services/`
and wire it into `main.py`. See `services/ssl.py` for a simple example.

## License

MIT
