Skip to main content

Generates random alphanumeric strings.

Project description

alphanum

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

Installation

alphanum can be obtained from PyPI with pip install alphanum.

Alternatively, build it with Poetry:

pip install poetry
git clone https://github.com/clpo13/alphanum
cd alphanum
poetry build
pip install dist/alphanum-x.y.z-py3-none-any.whl

Usage

import alphanum

foo = alphanum.generate(10)
print(foo)

License

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.

Source Distribution

alphanum-0.2.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

alphanum-0.2.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file alphanum-0.2.0.tar.gz.

File metadata

  • Download URL: alphanum-0.2.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.8.1 Linux/4.4.0-18362-Microsoft

File hashes

Hashes for alphanum-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cb239e7bd36d09fd2404bedce52742b40872eff2fde94744d8654b0f2013e27b
MD5 e58f71b163f38a9af810a72d307be57a
BLAKE2b-256 e96de5a8e71e7b45cd7f42f18f60347e8a50cabd431b641975008d2dc2ae5307

See more details on using hashes here.

File details

Details for the file alphanum-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: alphanum-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.8.1 Linux/4.4.0-18362-Microsoft

File hashes

Hashes for alphanum-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8e7af692747900a16675132d0469197a4b6f5aa0820a7d49295efda3c6c92c2
MD5 9868f4c3214037e65f7417e669179ea8
BLAKE2b-256 2140d43998c3190b34cf7153f1f886011a5c4c3717f2a74fc08d12a41054ce56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page