@@ -65,22 +65,6 @@ and inserted directly into the README as markdown.
65
65
66
66
67
67
68
- ## [ python2.7/music-organizer.py] ( https://github.com/bamos/python-scripts/blob/master/python2.7/music-organizer.py )
69
- + Authors: [ Brandon Amos] ( http://bamos.github.io )
70
- + Created: 2014.04.19
71
-
72
-
73
- This script (music-organizer.py) organizes my music collection for
74
- iTunes and [ mpv] ( http://mpv.io ) using tag information.
75
- The directory structure is ` <artist>/<track> ` , where ` <artist> ` and ` <track> `
76
- are lower case strings separated by dashes.
77
-
78
- See my blog post
79
- [ Using Python to organize a music directory] ( http://bamos.github.io/2014/07/05/music-organizer/ )
80
- for a more detailed overview of this script.
81
-
82
-
83
-
84
68
## [ python2.7/mt.py] ( https://github.com/bamos/python-scripts/blob/master/python2.7/mt.py )
85
69
+ Authors: [ Brandon Amos] ( http://bamos.github.io )
86
70
+ Created: 2014.11.30
@@ -93,78 +77,39 @@ of the output.
93
77
94
78
95
79
96
- ## [ python3/github-repo-summary.py] ( https://github.com/bamos/python-scripts/blob/master/python3/github-repo-summary.py )
97
- + Authors: [ Brandon Amos] ( http://bamos.github.io )
98
- + Created: 2014.11.02
99
-
100
-
101
- Produces a Markdown table concisely summarizing a list of GitHub repositories.
102
-
103
-
104
-
105
- ## [ python3/link-checker.py] ( https://github.com/bamos/python-scripts/blob/master/python3/link-checker.py )
80
+ ## [ python2.7/music-organizer.py] ( https://github.com/bamos/python-scripts/blob/master/python2.7/music-organizer.py )
106
81
+ Authors: [ Brandon Amos] ( http://bamos.github.io )
107
- + Created: 2014.02.06
108
-
109
-
110
- Script to be run by crontab to report broken links.
111
-
112
- Builds upon linkchecker (Ubuntu: sudo apt-get install linkchecker)
113
- to hide warnings and to send a concise email if bad links are found.
114
-
115
- ![ Link checker screenshot] ( https://raw.githubusercontent.com/bamos/python-scripts/master/link-checker-screenshot.png?raw=true )
116
-
82
+ + Created: 2014.04.19
117
83
118
84
119
- ## [ python3/phonetic.py ] ( https://github.com/bamos/python-scripts/blob/master/python3/phonetic .py)
120
- + Authors: [ Brandon Amos ] ( http://bamos.github. io )
121
- + Created: 2014.02.14
122
-
85
+ This script (music-organizer .py) organizes my music collection for
86
+ iTunes and [ mpv ] ( http://mpv. io ) using tag information.
87
+ The directory structure is ` <artist>/<track> ` , where ` <artist> ` and ` <track> `
88
+ are lower case strings separated by dashes.
123
89
124
- Obtain the NATO phonetic alphabet representation from short phrases.
90
+ See my blog post
91
+ [ Using Python to organize a music directory] ( http://bamos.github.io/2014/07/05/music-organizer/ )
92
+ for a more detailed overview of this script.
125
93
126
- ```
127
- $ phonetic.py github
128
- g - golf
129
- i - india
130
- t - tango
131
- h - hotel
132
- u - uniform
133
- b - bravo
134
- ```
135
94
136
95
96
+ ## [ python3/eval-expr.py] ( https://github.com/bamos/python-scripts/blob/master/python3/eval-expr.py )
97
+ + Authors: J. Sebastian, [ Brandon Amos] ( http://bamos.github.io )
98
+ + Created: 2013.08.01
137
99
138
- ## [ python3/rank-writing.py] ( https://github.com/bamos/python-scripts/blob/master/python3/rank-writing.py )
139
- + Authors: [ Brandon Amos] ( http://bamos.github.io )
140
- + Created: 2014.02.14
141
100
101
+ A module to evaluate a mathematical expression using Python's AST.
142
102
143
- ` rank-writing.py ` ranks the writing quality of my
144
- blog's Markdown posts and my project's Markdown README files .
103
+ + Original by: J. Sebastian at http://stackoverflow.com/questions/2371436 .
104
+ + Modifications by: [ Brandon Amos ] ( http://bamos.github.io ) .
145
105
146
- The following programs should be on your ` PATH ` :
147
- + [ aspell] ( http://aspell.net/ )
148
- + [ write-good] ( https://github.com/btford/write-good )
149
- + [ diction] ( https://www.gnu.org/software/diction/ )
106
+ If you want a command-line expression evaluator, use
107
+ [ Russell91/pythonpy] ( https://github.com/Russell91/pythonpy ) .
150
108
151
109
152
110
```
153
- $ rank-writing.py *.md
154
-
155
- === 2013-05-03-scraping-tables-python.md ===
156
- Total: 53
157
- ├── aspell: 34
158
- ├── diction: 0
159
- └── write-good: 19
160
-
161
- ...
162
-
163
- === 2013-04-16-pdf-from-plaintext.md ===
164
- Total: 0
165
- ├── aspell: 0
166
- ├── diction: 0
167
- └── write-good: 0
111
+ $ eval-expr.py '(((4+6)*10)<<2)'
112
+ (((4+6)*10)<<2) = 400
168
113
```
169
114
170
115
@@ -182,10 +127,10 @@ delete the current wallpaper.
182
127
183
128
184
129
### Warning
185
- + This approach doesn't work with multiple monitors.
130
+ + This approach doesn't work with multiple monitors or virtual desktops .
186
131
187
132
### Tested On
188
- + OSX Yosemite 10.10.2 with a single monitor on a MBP.
133
+ + OSX Yosemite 10.10.2 with a single desktop on a MBP.
189
134
190
135
### Usage
191
136
Ensure ` db_path ` and ` wallpaper_dir ` are correctly set below.
@@ -220,6 +165,38 @@ alias rm-wallpaper='rm $(get-osx-wallpaper.py) && killall Dock'
220
165
221
166
222
167
168
+ ## [ python3/github-repo-summary.py] ( https://github.com/bamos/python-scripts/blob/master/python3/github-repo-summary.py )
169
+ + Authors: [ Brandon Amos] ( http://bamos.github.io )
170
+ + Created: 2014.11.02
171
+
172
+
173
+ Produces a Markdown table concisely summarizing a list of GitHub repositories.
174
+
175
+
176
+
177
+ ## [ python3/link-checker.py] ( https://github.com/bamos/python-scripts/blob/master/python3/link-checker.py )
178
+ + Authors: [ Brandon Amos] ( http://bamos.github.io )
179
+ + Created: 2014.02.06
180
+
181
+
182
+ Script to be run by crontab to report broken links.
183
+
184
+ Builds upon linkchecker (Ubuntu: sudo apt-get install linkchecker)
185
+ to hide warnings and to send a concise email if bad links are found.
186
+
187
+ ![ Link checker screenshot] ( https://raw.githubusercontent.com/bamos/python-scripts/master/link-checker-screenshot.png?raw=true )
188
+
189
+
190
+
191
+ ## [ python3/merge-mutt-contacts.py] ( https://github.com/bamos/python-scripts/blob/master/python3/merge-mutt-contacts.py )
192
+ + Authors: [ Brandon Amos] ( http://bamos.github.io )
193
+ + Created: 2014.01.08
194
+
195
+
196
+ Merges two mutt contact files.
197
+
198
+
199
+
223
200
## [ python3/merge-pdfs-printable.py] ( https://github.com/bamos/python-scripts/blob/master/python3/merge-pdfs-printable.py )
224
201
+ Authors: [ Brandon Amos] ( http://bamos.github.io )
225
202
+ Created: 2014.10.17
@@ -257,6 +234,70 @@ PS file.
257
234
258
235
259
236
237
+ ## [ python3/phonetic.py] ( https://github.com/bamos/python-scripts/blob/master/python3/phonetic.py )
238
+ + Authors: [ Brandon Amos] ( http://bamos.github.io )
239
+ + Created: 2014.02.14
240
+
241
+
242
+ Obtain the NATO phonetic alphabet representation from short phrases.
243
+
244
+ ```
245
+ $ phonetic.py github
246
+ g - golf
247
+ i - india
248
+ t - tango
249
+ h - hotel
250
+ u - uniform
251
+ b - bravo
252
+ ```
253
+
254
+
255
+
256
+ ## [ python3/rank-writing.py] ( https://github.com/bamos/python-scripts/blob/master/python3/rank-writing.py )
257
+ + Authors: [ Brandon Amos] ( http://bamos.github.io )
258
+ + Created: 2014.02.14
259
+
260
+
261
+ ` rank-writing.py ` ranks the writing quality of my
262
+ blog's Markdown posts and my project's Markdown README files.
263
+
264
+ The following programs should be on your ` PATH ` :
265
+ + [ aspell] ( http://aspell.net/ )
266
+ + [ write-good] ( https://github.com/btford/write-good )
267
+ + [ diction] ( https://www.gnu.org/software/diction/ )
268
+
269
+
270
+ ```
271
+ $ rank-writing.py *.md
272
+
273
+ === 2013-05-03-scraping-tables-python.md ===
274
+ Total: 53
275
+ ├── aspell: 34
276
+ ├── diction: 0
277
+ └── write-good: 19
278
+
279
+ ...
280
+
281
+ === 2013-04-16-pdf-from-plaintext.md ===
282
+ Total: 0
283
+ ├── aspell: 0
284
+ ├── diction: 0
285
+ └── write-good: 0
286
+ ```
287
+
288
+
289
+
290
+ ## [ python3/remove-duplicates.py] ( https://github.com/bamos/python-scripts/blob/master/python3/remove-duplicates.py )
291
+ + Authors: [ Brandon Amos] ( http://bamos.github.io )
292
+ + Created: 2015.06.06
293
+
294
+
295
+ Detect and remove duplicate images using average hashing.
296
+
297
+ http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html
298
+
299
+
300
+
260
301
## [ python3/word-counter.py] ( https://github.com/bamos/python-scripts/blob/master/python3/word-counter.py )
261
302
+ Authors: [ Brandon Amos] ( http://bamos.github.io )
262
303
+ Created: 2014.11.7
@@ -288,45 +329,15 @@ $ word-counter.py shakespeare.md --numWords 4 --maxTuples 3
288
329
289
330
290
331
291
- ## [ python3/eval-expr.py] ( https://github.com/bamos/python-scripts/blob/master/python3/eval-expr.py )
292
- + Authors: J. Sebastian, [ Brandon Amos] ( http://bamos.github.io )
293
- + Created: 2013.08.01
294
-
295
-
296
- A module to evaluate a mathematical expression using Python's AST.
297
-
298
- + Original by: J. Sebastian at http://stackoverflow.com/questions/2371436 .
299
- + Modifications by: [ Brandon Amos] ( http://bamos.github.io ) .
300
-
301
- If you want a command-line expression evaluator, use
302
- [ Russell91/pythonpy] ( https://github.com/Russell91/pythonpy ) .
303
-
304
-
305
- ```
306
- $ eval-expr.py '(((4+6)*10)<<2)'
307
- (((4+6)*10)<<2) = 400
308
- ```
309
-
310
-
311
-
312
- ## [ python3/merge-mutt-contacts.py] ( https://github.com/bamos/python-scripts/blob/master/python3/merge-mutt-contacts.py )
313
- + Authors: [ Brandon Amos] ( http://bamos.github.io )
314
- + Created: 2014.01.08
315
-
316
-
317
- Merges two mutt contact files.
318
-
319
-
320
-
321
332
# Similar Projects
322
333
There are many potpourri Python script repositories on GitHub.
323
334
The following list shows a short sampling of projects,
324
335
and I'm happy to merge pull requests of other projects.
325
336
326
337
Name | Stargazers | Description
327
338
----|----|----
328
- [ averagesecurityguy/Python-Examples] ( https://github.com/averagesecurityguy/Python-Examples ) | 18 | Example scripts for common python tasks
339
+ [ averagesecurityguy/Python-Examples] ( https://github.com/averagesecurityguy/Python-Examples ) | 20 | Example scripts for common python tasks
329
340
[ ClarkGoble/Scripts] ( https://github.com/ClarkGoble/Scripts ) | 26 | My scripts - primarily using python and appscript
330
- [ computermacgyver/twitter-python] ( https://github.com/computermacgyver/twitter-python ) | 40 | Simple example scripts for Twitter data collection with Tweepy in Python
331
- [ gpambrozio/PythonScripts] ( https://github.com/gpambrozio/PythonScripts ) | 40 | A bunch of Python scripts I made and that might interest somebody else
332
- [ realpython/python-scripts] ( https://github.com/realpython/python-scripts ) | 56 | because i'm tired of gists
341
+ [ computermacgyver/twitter-python] ( https://github.com/computermacgyver/twitter-python ) | 45 | Simple example scripts for Twitter data collection with Tweepy in Python
342
+ [ gpambrozio/PythonScripts] ( https://github.com/gpambrozio/PythonScripts ) | 39 | A bunch of Python scripts I made and that might interest somebody else
343
+ [ realpython/python-scripts] ( https://github.com/realpython/python-scripts ) | 59 | because i'm tired of gists
0 commit comments