Metadata-Version: 2.4
Name: chetna
Version: 0.1.0
Summary: Official Python SDK for CHETNA — privacy-first collective consciousness registry
Author: shuchauha-netizen
License-Expression: AGPL-3.0-only
Keywords: chetna,collective-consciousness,hashing,privacy,sha512,simhash
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.9
Requires-Dist: httpx>=0.27
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Description-Content-Type: text/markdown

# chetna

Official Python SDK for [CHETNA](https://chetna.app) — privacy-first collective consciousness registry.

## Install

```bash
pip install chetna
```

## Usage

```python
from chetna import Chetna

client = Chetna(api_key="ck_live_...")

# Submit a thought (hashed locally, only hash sent to server)
result, normalized = client.submit("Will AI replace software engineers?")
print(f"Hit count: {result.hit_count}")

# Check without submitting
count, normalized = client.check("Is consciousness computable?")

# Local-only hash (nothing sent)
from chetna import normalize
result = normalize("Privacy is a human right")
print(result.sha512)
```

## CLI

```bash
chetna submit "Will AI replace software engineers?"
chetna check "Is consciousness computable?"
chetna hash "Privacy is a human right"
chetna trends --period 7d
```
