AdmitiQ: signed, expiring, revocable tokens for QR codes and links. No AI, no required server.
Project description
AdmitiQ (Python)
A LogicLitz open-source project.
Signed, expiring, revocable tokens for QR codes and links.
New here? Start with: ../docs/what-is-admitiq.md
Install
pip install admitiq
pip install admitiq[qr] # optional: QR images
pip install admitiq[ec] # optional: ES256
pip install admitiq[redis] # optional: Redis single-use store
Tiny example
from admitiq import issue, verify, issue_url, issue_qr
token = issue({"ticket_id": "abc123"}, ttl_seconds=3600, secret="your-secret-key")
url = issue_url("https://example.com/scan", {"ticket_id": "abc123"}, ttl_seconds=3600, secret="your-secret-key")
# issue_qr(..., output_path="ticket.png") # needs: pip install admitiq[qr]
payload = verify(token, secret="your-secret-key")
print(payload["data"])
A Node app can verify this same token with the same secret (npm install admitiq).
More
| Topic | Link |
|---|---|
| Full Python guide | docs/python.md |
| QR & URL delivery | docs/delivering-tokens.md |
| Key rotation | docs/key-rotation.md |
| Security | SECURITY.md |
| Publish to PyPI | PUBLISH.md |
| Flask demo | examples/flask-attendance |
License
MIT — LogicLitz
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file admitiq-0.3.1.tar.gz.
File metadata
- Download URL: admitiq-0.3.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc4fb14ea39f0a89d3e925d03710686d66c0f169587c102bbdae4de53ac7b563
|
|
| MD5 |
14d3b512d7cfccaa1ae3bdfb7b6b5b95
|
|
| BLAKE2b-256 |
e92aa1799f7cfd18417cc76508b0f96b7f7617cc65728f35598a0632b2fa85fa
|
File details
Details for the file admitiq-0.3.1-py3-none-any.whl.
File metadata
- Download URL: admitiq-0.3.1-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb2b9dbcb4501b8b29096ec6d7b671b7890c90d1946d7673efa56ac706ae4ca2
|
|
| MD5 |
edaa81b831261663d9c0299e4b7d1324
|
|
| BLAKE2b-256 |
479205e814f47aae863b43ef14eeff06b73d174e029485c0ba22b5ee5580f3d7
|