Skip to main content

randomisedString v1.4.1

pip install randomisedString --upgrade


A well maintained program to generate cryptographically safe randomised strings. Can be used for assigning unique IDs of any specified size. Can be alpha only or numeric or alphanumeric as specified.


To install:

pip install randomisedString --upgrade
pip3 install randomisedString --upgrade
python -m pip install randomisedString --upgrade
python3 -m pip install randomisedString --upgrade



Using this program is as simple as:

from randomisedString import Generator as StringGenerator

generator = StringGenerator()

print(generator.AlphaNumeric(10, 10))
>> 45HCMJ4SCy
print(generator.OnlyNumeric(10, 10))
>> 1127163
print(generator.OnlyAlpha(10, 10))
>> UjfQZDDOOq
print(generator.AlphaNumeric(5, 10))
>> FxgirdEYB
print(generator.OnlyNumeric(5, 10))
>> 917478
print(generator.OnlyAlpha(5, 10))
>> HqGiHqt

Future implementations:

  • Include special characters.

This project is always open to suggestions and feature requests.

Metadata

Release files for randomisedString 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for randomisedString 1.4.1
File Size Uploaded
randomisedstring-1.4.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for randomisedString 1.4.1
File Interpreter ABI Platform
randomisedstring-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / randomisedstring-1.4.1.tar.gz

Download URL randomisedstring-1.4.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9fc450365c43699d8274ef011b0a3957f8bee7eac621a885e49ec1e22b1b4ecb
BLAKE2b-256 checksum
How to use checksums
9ca4fe358f82a409f860e7b96aaaf5df693d7529a2eb8e3686b2f79df997a5ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release files / randomisedstring-1.4.1-py3-none-any.whl

Download URL randomisedstring-1.4.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db5cb7a4098c42ac32eb6dd1dd85051633f8ec1b0dbbb170592d738a19fa5f02
BLAKE2b-256 checksum
How to use checksums
7020755e9deedacb11cdf9b7138cfa81b66d5496d9a28e71dea8e74e12ecac28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

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