-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathreadme.html
More file actions
153 lines (153 loc) · 5.03 KB
/
Copy pathreadme.html
File metadata and controls
153 lines (153 loc) · 5.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=yes"
/>
<title>readme</title>
<style type="text/css">
code {
white-space: pre-wrap;
}
span.smallcaps {
font-variant: small-caps;
}
span.underline {
text-decoration: underline;
}
div.column {
display: inline-block;
vertical-align: top;
width: 50%;
}
</style>
</head>
<body>
<h2 id="just-another-repo-of-python-scripts">
Just another repo of Python scripts
</h2>
<ol type="1">
<li>
<strong>01_remove_all_pyc.md</strong>: remove all <em>.pyc</em> files
from a git repo
</li>
<li>
<strong>02_find_all_links.py</strong>: get all links from a webpage
</li>
<li>
<strong>03_simple_twitter_manager.py</strong>: accessing the Twitter
API, example functions
</li>
<li>
<strong>04_rename_with_slice.py</strong>: rename group of files, within
a single directory, using slice
</li>
<li>
<strong>05_load_json_without_dupes.py</strong>: load JSON, convert to
dict, raise error if there is a duplicate key
</li>
<li>
<strong>06_execution_time.py</strong>: class used for timing execution
of code
</li>
<li>
<strong>07_benchmark_permissions_loading_django.py</strong>: benchmark
loading of permissions in Django
</li>
<li>
<strong>08_basic_email_web_crawler.py</strong>: web crawler for grabbing
emails from a website
</li>
<li>
<strong>09_basic_link_web_crawler.py</strong>: web crawler for grabbing
links from a website
</li>
<li>
<strong>10_find_files_recursively.py</strong>: recursively grab files
from a directory
</li>
<li>
<strong>11_optimize_images_with_wand.py</strong>: recursively grab
images from a directory, then optimize them for the web
</li>
<li>
<strong>12_csv_split.py</strong>: Splits a CSV file into multiple files
based on command line arguments.
</li>
<li>
<strong>13_random_name_generator.py</strong>: random name generator
</li>
<li>
<strong>14_html_to_markdown.sh</strong>: Convert all html files in a
single directory to markdown
</li>
<li>
<strong>15_check_my_environment.py</strong>: Pass in a config file based
on your environment.
</li>
<li>
<strong>16_jinja_quick_load.py</strong>: Render a quick Jinja2 template
</li>
<li>
<strong>17_rewrite_git_history.md</strong>: Backdating/Rewriting Git
history (use at your own risk)
</li>
<li>
<strong>18_zipper.py</strong>: Zip contents of a directory, adding a
timestamp to the filename
</li>
<li><strong>19_tsv-to-csv.py</strong>: Convert TSV to CSV</li>
<li>
<strong>20_restore_file_from_git.py</strong>: Restore file from Git
History
</li>
<li><strong>21_twitter_bot.py</strong>: Twitter Bot</li>
<li><strong>22_git_tag.py</strong>: Create Git Tag based on a commit</li>
<li>
<strong>23_flask_session_test.py</strong>: Just a simple app to see if
the sessions are working
</li>
<li><strong>24_sql2csv.py</strong>: SQL to CSV.</li>
<li>
<strong>25_ip2geolocation.py</strong>: Given a CSV file with an ip
address (see sample - <em>25_sample_csv.csv</em>), return the
geolocation based on the ip.
</li>
<li>
<strong>26_stock_scraper.py</strong>: Scrape the S&P 500 Companies
list from Wikipedia, then output the data.
</li>
<li>
<strong>27_send_sms.py</strong>: Send SMS message via
<a href="http://textbelt.com/">TextBelt</a>
</li>
<li>
<strong>28_income_tax_calculator.py</strong>: Income tax calculator via
<a href="http://taxee.io/">Taxee</a>
</li>
<li><strong>29_json_to_yaml.py</strong>: Convert JSON to YAML</li>
<li>
<strong>30_fullcontact.py</strong>: Call the
<a href="https://www.fullcontact.com/developer/">FullcContact</a> API
</li>
<li>
<strong>31_youtube_sentiment.py</strong>: Calculate sentiment score from
the comments of a Youtube video
</li>
<li><strong>32_stock_scraper.py</strong>: Get stock prices</li>
<li>
<strong>33_country_code.py</strong>: Convert country code to country
name
</li>
<li>
<strong>34_git_all_repos.py</strong>: Clone all repositories from a
public user or organization on Github. Usage:
<code>python git_all_repos.py users USER_NAME</code> or
<code>python git_all_repos.py orgs ORG_NAME</code>
</li>
</ol>
</body>
</html>