Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markpavlenko/randomcarrot
RandomCarrot is a module for Python. If you want random letters or numbers in your Python project, just use RandomCarrot!
https://github.com/markpavlenko/randomcarrot
letters mit-license module numbers python3 pythonmodule random-generator randomizer
Last synced: 2 days ago
JSON representation
RandomCarrot is a module for Python. If you want random letters or numbers in your Python project, just use RandomCarrot!
- Host: GitHub
- URL: https://github.com/markpavlenko/randomcarrot
- Owner: markpavlenko
- License: mit
- Created: 2024-04-20T07:40:57.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-13T05:34:27.000Z (7 months ago)
- Last Synced: 2024-12-15T10:54:37.638Z (7 days ago)
- Topics: letters, mit-license, module, numbers, python3, pythonmodule, random-generator, randomizer
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RandomCarrot (Carrot)
Carrot is a module for Python also known as RandomCarrot.
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install Carrot.
```bash
pip install RandomCarrot
```## Usage
Importing is very easy in Carrot. All you need to do is type:
```Python
import RandomCarrot as carrot
```
To display random numbers type:
```Python
carrot.randomnumber()
```
To display random letters:
```Python
carrot.randomletters()
```
You can adjust length for letters by typing:
```Python
carrot(length=)
```
To display both numbers and letters:
```Python
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:
```Python
carrot.random_number_generator()
```
If you want to try using ``carrot.randomletter()`` like a developer, here is the code:
```Python
carrot.random_letters_generator()
```
And if you want to use ``carrot.both`` like a developer, here is the command:
```Python
carrot.both_numbers_letters_generator()
```
Use them knowing these commands can work not as they used to. Happy coding!
## License[MIT](https://choosealicense.com/licenses/mit/)