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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| randomisedstring-1.4.1.tar.gz | 2.8 kB | Without provenance | Details for randomisedstring-1.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| randomisedstring-1.4.1-py3-none-any.whl | Python 3 | none | any | Details for randomisedstring-1.4.1-py3-none-any.whl |
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
|
Security for randomisedString 1.4.1
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.