Metadata-Version: 2.4
Name: cntm-nucleus
Version: 0.3.0
Summary: Nucleus authentication SDK for Python.
Project-URL: Homepage, https://github.com/cntm-labs/nucleus
Project-URL: Repository, https://github.com/cntm-labs/nucleus
Project-URL: Issues, https://github.com/cntm-labs/nucleus/issues
Author-email: cntm-labs <dev@cntm-labs.dev>
License: MIT
License-File: LICENSE
Keywords: auth,authentication,jwt,nucleus,oauth,sdk
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: FastAPI
Classifier: Framework :: Flask
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security
Requires-Python: >=3.10
Requires-Dist: cryptography>=43.0
Requires-Dist: httpx>=0.27
Requires-Dist: pyjwt[crypto]>=2.9
Provides-Extra: django
Requires-Dist: django>=4.2; extra == 'django'
Provides-Extra: fastapi
Requires-Dist: fastapi>=0.115; extra == 'fastapi'
Provides-Extra: flask
Requires-Dist: flask>=3.0; extra == 'flask'
Provides-Extra: test
Requires-Dist: pytest>=8.0; extra == 'test'
Requires-Dist: respx>=0.22; extra == 'test'
Description-Content-Type: text/markdown

<div align="center">

# cntm-nucleus

**Nucleus authentication SDK for Python.**

> **Warning: DEV PREVIEW** — This package is under active development
> and is NOT ready for production use. APIs may change without notice.
> For updates, watch the [Nucleus repo](https://github.com/cntm-labs/nucleus).

[![CI](https://github.com/cntm-labs/nucleus/actions/workflows/ci.yml/badge.svg)](https://github.com/cntm-labs/nucleus/actions/workflows/ci.yml)
[![Security](https://github.com/cntm-labs/nucleus/actions/workflows/security.yml/badge.svg)](https://github.com/cntm-labs/nucleus/actions/workflows/security.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/cntm-labs/nucleus/blob/main/LICENSE)

[![PyPI](https://img.shields.io/pypi/v/cntm-nucleus?label=cntm-nucleus&color=3775A9)](https://pypi.org/project/cntm-nucleus/)

[![Python](https://img.shields.io/badge/Python-0.4k_LOC-3775A9?logo=python&logoColor=white)](src/)

[![Python](https://img.shields.io/badge/Python-3775A9?logo=python&logoColor=white)](https://www.python.org/)

</div>

---

Verify sessions and manage users from your Python backend.

Part of [Nucleus](https://github.com/cntm-labs/nucleus) — high-performance, self-hosted auth platform.

## Installation

```bash
pip install cntm-nucleus
```

## Quick Start

```python
from nucleus import NucleusClient

client = NucleusClient(secret_key="sk_...")
session = client.verify_session(token)
```

## License

[MIT](https://github.com/cntm-labs/nucleus/blob/main/LICENSE)
