Skip to main content

Generates random alphanumeric strings.

Project description


Simple Python library to generate pseudo-random alphanumeric strings of arbitrary length. Requires Python 3.5+.


alphanum can be obtained from PyPI with pip install alphanum.

Alternatively, build it with Poetry:

pip install poetry
git clone
cd alphanum
poetry build
pip install dist/alphanum-x.y.z-py3-none-any.whl


import alphanum

foo = alphanum.generate(10)


Copyright (c) 2020 Cody Logan. MIT licensed.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for alphanum, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size alphanum-0.2.0.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View
Filename, size alphanum-0.2.0-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page