diff --git a/README.md b/README.md index ea38858..3e71a68 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,13 @@ Thanks a lot for spending your time helping! Keep rocking 🍻 Null + + + NishantPacharne +
+ Nishant Pacharne +
+ thegeekyb0y @@ -208,15 +215,15 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
Siddhesh Bhupendra Kuakde
- + + aswin2108
Aswin Shailajan
- - + noobyysauraj @@ -251,15 +258,15 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
Heshanthaka
- + + Mysterious-Owl
Mysterious-Owl
- - + sarthakroy2002 @@ -294,15 +301,15 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
Yash Nilesh Brid
- + + mclmza
Michele Mazza
- - + mer747 @@ -330,13 +337,6 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
Sameer Sahu
- - - - NishantPacharne -
- Nishant Pacharne -
\ No newline at end of file diff --git a/scripts/Fake Data Generator/generator.py b/scripts/Fake Data Generator/generator.py new file mode 100644 index 0000000..e35bc97 --- /dev/null +++ b/scripts/Fake Data Generator/generator.py @@ -0,0 +1,22 @@ +# pip install Faker +from faker import Faker + +fake = Faker() + +print("--------- Generate ---------------") +print("1. Name") +print("2. Email") +print("3. Job") +print("4. Address") + +options = {1: fake.name(), 2: fake.email(), 3: fake.job(), 4: fake.address()} + +print("----------------------------------") +user_input = int(input("Choose Option:- ")) + +print("----------------------------------") + +if user_input in options: + print(f"Result: {options[user_input]}") +else: + print("Please try again with a valid option.") \ No newline at end of file diff --git a/scripts/Fake Data Generator/readme.md b/scripts/Fake Data Generator/readme.md new file mode 100644 index 0000000..83a910d --- /dev/null +++ b/scripts/Fake Data Generator/readme.md @@ -0,0 +1,15 @@ + +# Fake Data Generator +super easy and simple python script to generate random data + +## Perfect for beginners +- usage of libraries +- working with input +- working with dictionaries + +## Installation +Install the dependencies + +```sh +pip install -r requirements.txt +``` \ No newline at end of file diff --git a/scripts/Fake Data Generator/requirements.txt b/scripts/Fake Data Generator/requirements.txt new file mode 100644 index 0000000..529aa4e --- /dev/null +++ b/scripts/Fake Data Generator/requirements.txt @@ -0,0 +1,3 @@ +Faker==15.0.0 +python-dateutil==2.8.2 +six==1.16.0