RandomCarrot (Carrot)
Carrot is a module for Python also know as RandomCarrot.
Installation
Use the package manager pip to install Carrot.
pip install RandomCarrot
Usage
Importing is very easy in Carrot. All you need to do is type:
import carrot
To display random numbers type:
carrot.randomnumber()
To display random letters:
carrot.randomletters()
You can adjust length for letters by typing:
carrot(length=)
To display both numbers and letters:
carrot.both()
(again you can adjust length by typing the same text like in letters)
Developer Usage
If you want to use developer commands, feel free to use them! Everyone can use them, even if you just want to see how do they work.
If you want to try using carrot.randomnumber() like a developer, here is the code:
carrot.random_number_generator()
If you want to try using carrot.randomletter() like a developer, here is the code:
carrot.random_letters_generator()
And if you want to use carrot.both like a developer, here is the command:
carrot.both_numbers_letters_generator()
Use them knowing these commands can work not as they used to. Happy coding!
License
Metadata
Release files for RandomCarrot 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| RandomCarrot-1.0-py3-none-any.whl | Python 3 | none | any | Details for RandomCarrot-1.0-py3-none-any.whl |
Release files / RandomCarrot-1.0-py3-none-any.whl
| Download URL | RandomCarrot-1.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19cf8d8b24deb3d136a4b796c0a49cea94bfd7d48a05262d88976f473f8bccc8
|
|
BLAKE2b-256 checksum How to use checksums |
cfedf5e24f1f0eb41f156df231d7a76e6d7df323ce60188d9163e76dc5c128eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for RandomCarrot 1.0
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.