Metadata-Version: 2.4
Name: pyx-keyring
Version: 0.1.0
Summary: A keyring plugin for pyx.
Keywords: pyx,keyring
Author-email: "Astral Software Inc." <hey@astral.sh>
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-Expression: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
License-File: LICENSE
Requires-Dist: keyring

# pyx-keyring

Authenticates with `pyx` using a `keyring` plugin.

Retrieves a token from `PYX_AUTH_TOKEN` or `PYX_API_KEY` if set. Otherwise, fetches a token from `uv auth token pyx.dev`.

To install with pip:

```
# Create a virtual environment.
python -m venv .venv
source .venv/bin/activate

# Install keyring and the pyx-keyring plugin.
pip install keyring
pip install git+https://github.com/astral-sh/pyx-keyring

# Install from pyx.
pip install fastapi --index-url https://api.pyx.dev/simple/pypi
```

