Skip to main content

NonsensePy

NonsensePy generates random strings.

Installation

>>> pip install nonsensepy

Documentation

>>> NonsensePyGen.starts_with_letter()
"""
Generates a random string, where the first char of it will be a random letter.
The size of the string will be between 10 and 10000.
"""
>>> NonsensePyGen.starts_with_letter(size=100)
"""
Generates a random string, where the first char of it will be a random letter.
The size of the string will be 100.
"""
>>> NonsensePyGen.starts_with_letter(min=100)
"""
Generates a random string, where the first char of it will be a random letter.
The size of the string will be between min, and 10000.
"""
>>> NonsensePyGen.starts_with_letter(max=100)
"""
Generates a random string, where the first char of it will be a random letter.
The size of the string will be between 10, and 100.
"""
>>> NonsensePyGen.starts_with_letter(min=100, max=1000)
"""
Generates a random string, where the first char of it will be a random letter.
The size of the string will be between min and max.
"""
>>> NonsensePyGen.starts_with_digit()
"""
Generates a random string, where the first char of it will be a random digit.
The size of the string will be between 10 and 10000.
"""
>>> NonsensePyGen.starts_with_digit(size=100)
"""
Generates a random string, where the first char of it will be a random digit.
The size of the string will be 100.
"""
>>> NonsensePyGen.starts_with_digit(min=100)
"""
Generates a random string, where the first char of it will be a random digit.
The size of the string will be between min, and 10000.
"""
>>> NonsensePyGen.starts_with_digit(max=100)
"""
Generates a random string, where the first char of it will be a random digit.
The size of the string will be between 100, and max.
"""
>>> NonsensePyGen.starts_with_digit(min=100, max=1000)
"""
Generates a random string, where the first char of it will be a random digit.
The size of the string will be between min and max.
"""
>>> NonsensePyGen.starts_with_uppercase()
"""
Generates a random string, where the first char of it will be a random uppercase letter.
The size of the string will be between 10 and 10000.
"""
>>> NonsensePyGen.starts_with_uppercase(size=100)
"""
Generates a random string, where the first char of it will be a random uppercase letter.
The size of the string will be 100.
"""
>>> NonsensePyGen.starts_with_uppercase(min=100)
"""
Generates a random string, where the first char of it will be a random uppercase letter.
The size of the string will be between min, and 10000.
"""
>>> NonsensePyGen.starts_with_uppercase(max=100)
"""
Generates a random string, where the first char of it will be a random uppercase letter.
The size of the string will be between 10, and max.
"""
>>> NonsensePyGen.starts_with_uppercase(min=100, max=1000)
"""
Generates a random string, where the first char of it will be a random uppercase letter.
The size of the string will be between min, and max.
"""
>>> NonsensePyGen.random()
"""
Generates a random string. The size of the string will be between 10 and 10000.
"""
>>> NonsensePyGen.random(size=100)
"""
Generates a random string. The size of the string will be 100.
"""
>>> NonsensePyGen.random(min=100)
"""
Generates a random string. The size of the string will be between min and 10000.
"""
>>> NonsensePyGen.random(max=100)
"""
Generates a random string. The size of the string will be between 10 and max.
"""
>>> NonsensePyGen.random(min=100, max=1000)
"""
Generates a random string. The size of the string will be between min and max.
"""
>>> NonsensePyGen.nrandom()
"""
Generates a random string, where each of its chars is a digit. The size of the string will be between 10 and 10000.
"""
>>> NonsensePyGen.nrandom(size=100)
"""
Generates a random string, where each of its chars is a digit. The size of the string will be 100.
"""
>>> NonsensePyGen.nrandom(min=100)
"""
Generates a random string, where each of its chars is a digit. The size of the string will be between min, and 10000.
"""
>>> NonsensePyGen.nrandom(max=100)
"""
Generates a random string, where each of its chars is a digit. The size of the string will be between 10, and max.
"""
>>> NonsensePyGen.nrandom(min=100,max=1000)
"""
Generates a random string, where each of its chars is a digit. The size of the string will be between min, and max.
"""
>>> NonsensePyGen.strrandom()
"""
Generates a random string, where each of its chars is a letter. The size of the string will be between 10 and 10000.
"""
>>> NonsensePyGen.strrandom(size=100)
"""
Generates a random string, where each of its chars is a letter. The size of the string will be 100.
"""
>>> NonsensePyGen.strrandom(min=100)
"""
Generates a random string, where each of its chars is a letter. The size of the string will be between min, and 10000.
"""
>>> NonsensePyGen.strrandom(max=100)
"""
Generates a random string, where each of its chars is a letter. The size of the string will be between 10, and max.
"""
>>> NonsensePyGen.strrandom(min=100,max=1000)
"""
Generates a random string, where each of its chars is a letter. The size of the string will be between min, and max.
"""

Example

>>> from nonsensepy import NonsensePyGen
>>>
>>> NonsensePyGen.random()
qHDlCZbBvyBIIXWyjFSQwJuWHujFZNVMYSsdpUTSxXIoaoJkSQQTIVfIrOBsotZxMHfhwSawPTRRcDH
jnjjhwjnjEHpXhoRKliH

LICENSE

MIT

Metadata

Release files for nonsensepy 0.0.2

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

Source distribution (sdist)

Source distribution for nonsensepy 0.0.2
File Size Uploaded Provenance Actions
nonsensepy-0.0.2.tar.gz 3.0 kB Without provenance Details for nonsensepy-0.0.2.tar.gz

Release files / nonsensepy-0.0.2.tar.gz

Download URL nonsensepy-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bb26fc277408ff8f72b58a1c020d04f351246b3b68f3f92433e7037f6cbc7373
BLAKE2b-256 checksum
How to use checksums
9e253409e67919ea1ce7cadc1136186272ce4e74f48edc274c9e5a95899cf047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Security for nonsensepy 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

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