Castellum Pseudonyms
Algorithms to generate, validate, and normalize pseudonyms.
This is part of the castellum project.
Installation
pip install castellum-pseudonyms
Usage
from castellum_pseudonyms import generate, clean
# generate a new random pseudonym
pseudonym = generate(bits=40)
# normalize and validate a pseudonym entered by a user
try:
pseudonym = clean(user_input)
except ValueError:
print('invalid pseudonym')
Metadata
Release files for castellum-pseudonyms 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| castellum_pseudonyms-0.0.3.tar.gz | 14.3 kB | Without provenance | Details for castellum_pseudonyms-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| castellum_pseudonyms-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for castellum_pseudonyms-0.0.3-py3-none-any.whl |
Total release size: 29.1 kB
Release files / castellum_pseudonyms-0.0.3.tar.gz
| Download URL | castellum_pseudonyms-0.0.3.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2054119d04bb1d542e3f6cdc5da97f71c1945e31332c122fb56357396e198c0c
|
|
BLAKE2b-256 checksum How to use checksums |
91a831641eda0a7ae627ccdf16a280653e4c66b39236083233b9a2b089381e0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|
Release files / castellum_pseudonyms-0.0.3-py3-none-any.whl
| Download URL | castellum_pseudonyms-0.0.3-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abcedbb55625a990b75354a1d1445aa720401cce645fb5f26b688b715781ceb0
|
|
BLAKE2b-256 checksum How to use checksums |
7b6b57bdb262fce87a236b306a4303ec8e2fbbd0de210ff3af3ee9955835a1a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|
Security for castellum-pseudonyms 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.