Skip to content

Latest commit

 

History

History
78 lines (77 loc) · 2.95 KB

readme.md

File metadata and controls

78 lines (77 loc) · 2.95 KB

A collection of Python scripts

1. remove-all-pyc.md

Remove all .pyc files from a git repo

2. find-all-links.py

Get all links from a webpage

3. simple-twitter-manager.py

Accessing the Twitter API, example functions

4. rename-with-slice.py

Rename group of files, within a single directory, using slice

5. load-json-without-dupes.py

Load JSON, convert to dict, raise error if there is a duplicate key

6. execution-time.py

Class used for timing execution of code

7. benchmark-permissions-loading-django.py

Benchmark loading of permissions in Django

8. basic-email-web-crawler.py

Web crawler for grabbing emails from a website

9. basic-link-web-crawler.py

Web crawler for grabbing links from a website

10. find-files-recursively.py

Recursively grab files from a directory

11. optimize-images-with-wand.py

Recursively grab images from a directory, then optimize them for the web

12. csv-split.py

Splits a CSV file into multiple files based on command line arguments.

13. random-name-generator.py

Random name generator

14. html-to-markdown.sh

Convert all html files in a single directory to markdown

15. check-my-environment.py

Pass in a config file based on your environment.

16. jinja-quick-load.py

Render a quick Jinja2 template

17. rewrite-git-history.md

Backdating/Rewriting Git history (use at your own risk)

18. zipper.py

Zip contents of a directory, adding a timestamp to the filename

19. tsv-to-csv.py

Convert TSV to CSV

20. restore-file-from-git.py

Restore file from Git History

21. twitter-bot.py

Twitter Bot

22. git-tag.py

Create Git Tag based on a commit

23. flask-session-test.py

Just a simple app to see if the sessions are working

24. sql2csv.py

SQL to CSV.

25. ip2geolocation.py

Given a CSV file with an ip address (see sample - 25-sample-csv.csv), return the geolocation based on the ip.

26. stock-scraper.py

Scrape the S&P 500 Companies list from Wikipedia, then output the data.

27. send-sms.py

Send SMS message via TextBelt

28. income-tax-calculator.py

Income tax calculator via Taxee

29. json-to-yaml.py

Convert JSON to YAML

30. full-contact.py

Call the FullcContact API

31. youtube-sentiment.py

Calculate sentiment score from the comments of a Youtube video

32. stock-scraper.py

Get stock prices

33. country-code.py

Convert country code to country name

34. git-all-repos.py

Clone all repositories from a public user or organization on Github. Usage python git-all-repos.py users USER-NAME or python git-all-repos.py orgs ORG-NAME

35. youtube-downloader

Download YouTube Videos

36. youtube-search-and-download

Calculate sentiment score from the comments of a Youtube video

37. text-editor.py

A simple Python based text editor

38. top-words-tfidf.py

Find important words in text documents using the TF-IDF search algorithm to score frequency of appearance