Skip to main content

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')

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)

Source distribution for castellum-pseudonyms 0.0.3
File Size Uploaded
castellum_pseudonyms-0.0.3.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for castellum-pseudonyms 0.0.3
File Interpreter ABI Platform
castellum_pseudonyms-0.0.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page