{"id":13476231,"url":"https://github.com/realpython/python-scripts","last_synced_at":"2025-05-15T08:11:12.222Z","repository":{"id":15880774,"uuid":"18621902","full_name":"realpython/python-scripts","owner":"realpython","description":"because i'm tired of gists","archived":false,"fork":false,"pushed_at":"2023-04-14T10:00:00.000Z","size":59,"stargazers_count":2129,"open_issues_count":26,"forks_count":691,"subscribers_count":154,"default_branch":"master","last_synced_at":"2025-04-14T14:59:39.695Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realpython.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2014-04-10T02:59:29.000Z","updated_at":"2025-04-12T13:17:30.000Z","dependencies_parsed_at":"2023-01-11T19:13:13.507Z","dependency_job_id":"43ba1bbf-1fca-482c-a155-f9322d3c5dd9","html_url":"https://github.com/realpython/python-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realpython","download_url":"https://codeload.github.com/realpython/python-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301432,"owners_count":22047904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:01:27.885Z","updated_at":"2025-05-15T08:11:12.196Z","avatar_url":"https://github.com/realpython.png","language":"Python","readme":"## Just another repo of Python scripts\n\n1. **01_remove_all_pyc.md**: remove all *.pyc* files from a git repo\n1. **02_find_all_links.py**: get all links from a webpage\n1. **03_simple_twitter_manager.py**: accessing the Twitter API, example functions\n1. **04_rename_with_slice.py**: rename group of files, within a single directory, using slice\n1. **05_load_json_without_dupes.py**: load JSON, convert to dict, raise error if there is a duplicate key\n1. **06_execution_time.py**: class used for timing execution of code\n1. **07_benchmark_permissions_loading_django.py**: benchmark loading of permissions in Django\n1. **08_basic_email_web_crawler.py**: web crawler for grabbing emails from a website\n1. **09_basic_link_web_crawler.py**: web crawler for grabbing links from a website\n1. **10_find_files_recursively.py**: recursively grab files from a directory\n1. **11_optimize_images_with_wand.py**: recursively grab images from a directory, then optimize them for the web\n1. **12_csv_split.py**: Splits a CSV file into multiple files based on command line arguments.\n1. **13_random_name_generator.py**: random name generator\n1. **14_html_to_markdown.sh**: Convert all html files in a single directory to markdown\n1. **15_check_my_environment.py**: Pass in a config file based on your environment.\n1. **16_jinja_quick_load.py**: Render a quick Jinja2 template\n1. **17_rewrite_git_history.md**: Backdating/Rewriting Git history (use at your own risk)\n1. **18_zipper.py**: Zip contents of a directory, adding a timestamp to the filename\n1. **19_tsv-to-csv.py**: Convert TSV to CSV\n1. **20_restore_file_from_git.py**: Restore file from Git History\n1. **21_twitter_bot.py**: Twitter Bot\n1. **22_git_tag.py**: Create Git Tag based on a commit\n1. **23_flask_session_test.py**: Just a simple app to see if the sessions are working\n1. **24_sql2csv.py**: SQL to CSV.\n1. **25_ip2geolocation.py**: Given a CSV file with an ip address (see sample - *25_sample_csv.csv*), return the geolocation based on the ip.\n1. **26_stock_scraper.py**: Scrape the S\u0026P 500 Companies list from Wikipedia, then output the data.\n1. **27_send_sms.py**: Send SMS message via [TextBelt](http://textbelt.com/)\n1. **28_income_tax_calculator.py**: Income tax calculator via [Taxee](http://taxee.io/)\n1. **29_json_to_yaml.py**: Convert JSON to YAML\n1. **30_fullcontact.py**: Call the [FullcContact](https://www.fullcontact.com/developer/) API\n1. **31_youtube_sentiment.py**: Calculate sentiment score from the comments of a Youtube video\n1. **32_stock_scraper.py**: Get stock prices\n1. **33_country_code.py**: Convert country code to country name\n1. **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`\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fpython-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealpython%2Fpython-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fpython-scripts/lists"}