This Repo is a collection of Various python scripts.
In this repo there are different kinds of python scripts for their respective uses. These all are open sourced and you can use them in any form for free.
Make sure you've already git installed. Then you can run the following commands to get the scripts on your computer:
OS X, Linux and Windows:
git clone https://github.com/Logan1x/Python-Scripts.git
cd Python-Scripts/bin
This script tells you the amount of memes in your facebook feed
pip install memedensity
memedensity
This is python script that log in into facebook and post the status.
You can see live execution of this script here.
pip install -r facebook-auto-post.requirements.txt
python facebook-auto-post.py
Run this script and it will locate you.
This will tell you your
- City
- Region
- Country
- Latitude & Longitude.
- Your Internet Service Provider
This uses Checkip and ipinfo.io.
python locate-me.py
This python script uses selenium module in python to automate the thread posting.
You can see live execution of this script here.
If you want to understand this code you can visit here.
pip install -r mi-community-bot.requirements.txt
python mi-community-bot.py
This code checks for your password strength. For the right password, password must contain mixture of an upper case letters, an digit (including 0-9), and a special characters with lower case letters.
python password-strength-checker.py
This is a simple python script that increases your video count/ views. Log out from all google accounts and run this.
# For Linux Users
python youtube-bot-linux.py
# For Windows Users
python youtube-bot-windows.py
In case your browser stoped working delete/comment the following line in the script.
os.system(" killall -9 " + brow)
os.system("TASKKILL /F /IM " + brow + ".exe")
Blog Reader is the terminal reader that scrapes the article from planet dgplug and displays it on the terminal.
It seprates the content accrding to the screen size.
python Blog_reader.py
Searches a file location and subdirectories for files larger than a given size. Useful for phones which might hide files in FileExplorer, but allow use as flash memory. Directly prints results if run directly. May also be imported, yielding results one by one.
This script is useful to show a way to approximate the value of pi using a Monte Carlo method. It is also optimized using the @jit
(just-in-time) decorator from the numba library.
To see different approximations you just need to modify the argument passed to the main function.
python pi.py
This script contains an example of plotting a function using matplotlib
. Feel free to modify the value of y
to obtain different functions that depend on x
.
python plot_example.py
Simple script helps you mass add users to your twitter list to follow (Ex: Bitcoin/Altcoins official account, news, traders...)
- Prepare list screen names
- Setup your app and get an access token
pip install twitter
python bulk_add_twitter_list.py
Simple GUI program which helps you calculate your expenses, monitor them just through mouse clicks. All you have to do is run the script and choose an option from the menu which will displayed when you run the script. Enter Your Expenses as eg: "Biscuits Rs 15" " rs " ignore the quotes.
python expense_manger.py
Encrypts or Decrypts any message you want, simply enter the message and the rotation number
python caesar_cipher.py
It is a simple program to encode and decode images, which helps to reduce and handle images on server, as it is convertedto base64 address.
python image_encoder.py
It is a simple program to mimic Missionaries And Cannibals River Crossing Problem.
python missionaries_and_cannibals_problem.py
It is a simple program to implement and understand the basic of end_to_end encryption. Here i am using caesar cipher to encrpt nbut in reality they Use algotihms lile SHA-1, RSA etc.
python end_to_end.py
It is simple client server communication script, will add more functionality in future.
cd server_client
python client.py
python server.py
- 0.0.1
- Work in progress
Khushal Sharma – @Khushal – sharmakhushal78@gmail.com
Distributed under the MIT LICENSE license. See LICENSE
for more information.
- Fork it (https://github.com/Logan1x/Python-Scripts/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
- Add your name with a link to your profile in the contributors list.
The following people helped in creating the above content.