Skip to content

OpenSource-TechnoNJR/Python-Scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Scripts

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.

Installation

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

Usage

Meme Density

This script tells you the amount of memes in your facebook feed

pip install memedensity

memedensity

Facebook Auto Post

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

Locate Me

Run this script and it will locate you.

This will tell you your

  1. City
  2. Region
  3. Country
  4. Latitude & Longitude.
  5. Your Internet Service Provider

This uses Checkip and ipinfo.io.

python locate-me.py

Mi Community Bot

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

Password Strength Checker

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

YouTube Bot

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

NOTE:

In case your browser stoped working delete/comment the following line in the script.

Linux

os.system(" killall -9 " + brow)

Windows

os.system("TASKKILL /F /IM " + brow + ".exe")

Blog Reader

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

Find Large Files

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.

Approximating pi

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

Plotting a function

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

Bulk add users to Twitter list

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

Expense Manager

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

Caesar Cipher

Encrypts or Decrypts any message you want, simply enter the message and the rotation number

python caesar_cipher.py

Image Encoder

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

Missionaires And Cannibals Problem

It is a simple program to mimic Missionaries And Cannibals River Crossing Problem.

python missionaries_and_cannibals_problem.py

End To End Encryption

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

Server And Client

It is simple client server communication script, will add more functionality in future.

cd server_client
python client.py
python server.py

Release History

  • 0.0.1
    • Work in progress

Meta

Khushal Sharma – @Khushalsharmakhushal78@gmail.com

Distributed under the MIT LICENSE license. See LICENSE for more information.

Logan1x

Contributing

  1. Fork it (https://github.com/Logan1x/Python-Scripts/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
  6. Add your name with a link to your profile in the contributors list.

Contributors

The following people helped in creating the above content.

If you like the project give a star Star button

About

Collection of Various Python Script's.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%