/python-scripts

because i'm tired of gists

Primary LanguagePython

Just another repo of Python scripts

  1. 01_remove_all_pyc.md: remove all .pyc files from a git repo
  2. 02_find_all_links.py: get all links from a webpage
  3. 03_simple_twitter_manager.py: accessing the Twitter API, example functions
  4. 04_rename_with_slice.py: rename group of files, within a single directory, using slice
  5. 05_load_json_without_dupes.py: load json, convert to dict, raise error if there is a duplicate key
  6. 06_execution_time.py: class used for timing execution of code
  7. 07_benchmark_permissions_loading_django.py: benchmark loading of permissions in Django
  8. 08_basic_email_web_crawler.py: web crawler for grabbing emails from a website
  9. 09_basic_link_web_crawler.py: web crawler for grabbing links from a website
  10. 10_find_files_recursively.py: recursively grab files from a directory
  11. 11_optimize_images_with_wand.py: recursively grab images from a directory, then optimize them for the web
  12. 12_csv_split.py: Splits a CSV file into multiple files based on command line arguments.
  13. 13_random_name_generator.py: random name generator
  14. 14_html_to_markdown.sh: Convert all html files in a single directory to markdown
  15. 15_check_my_environment.py: Pass in a config file based on your environment.
  16. 16_jinja_quick_load.py: Render a quick Jinja2 template
  17. 17_rewrite_git_history.md: Backdating/Rewriting Git history (use at your own risk)
  18. 18_zipper.py: Zip contents of a directory, adding a timestamp to the filename