Skip to content

Commit 75d0602

Browse files
committed
Update auto-generated README.
1 parent 952b73b commit 75d0602

1 file changed

Lines changed: 107 additions & 105 deletions

File tree

‎README.md‎

Lines changed: 107 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
[![Build Status](https://travis-ci.org/bamos/python-scripts.svg)](https://travis-ci.org/bamos/python-scripts)
33
[![Dependency Status](https://gemnasium.com/bamos/python-scripts.svg)](https://gemnasium.com/bamos/python-scripts)
44

5-
This is a collection of short Python scripts I have added to my
6-
`PATH` variable to run from anywhere.
5+
This is a collection of short Python scripts use in Linux.
6+
I have these added to my `PATH`
7+
[variable](https://wiki.archlinux.org/index.php/Environment_variables)
8+
to run from anywhere.
79
None are currently available in [pip][pip],
810
but I will add them if enough people are interested.
911

1012
To add these to your `PATH`, clone the repo and add the following
1113
to your `bashrc` or `zshrc`, replacing `<python-scripts>`
1214
with the location of the cloned repository.
13-
Furthermore, see my [dotfiles][dotfiles] repo for my
15+
See my [dotfiles][dotfiles] repo for my
1416
complete Mac and Linux system configurations.
1517

1618
```Bash
@@ -36,7 +38,7 @@ using `pip` with `pip3 install -r requirements-3.txt`.
3638
# Scripts
3739

3840
## [generate-readme.py](https://github.com/bamos/python-scripts/blob/master/generate-readme.py)
39-
+ Authors: Brandon Amos <http://github.com/bamos>
41+
+ Authors: [Brandon Amos](http://github.com/bamos)
4042
+ Created: 2015.03.27
4143

4244

@@ -46,18 +48,6 @@ Script descriptions are obtained by parsing the docstrings.
4648

4749

4850

49-
## [python2.7/music-organizer.py](https://github.com/bamos/python-scripts/blob/master/python2.7/music-organizer.py)
50-
+ Authors: [Brandon Amos](https://github.com/bamos)
51-
+ Created: 2014.04.19
52-
53-
54-
This script (music-organizer.py) organizes my music collection for
55-
iTunes and [mpv](http://mpv.io) using tag information.
56-
The directory structure is `<artist>/<track>`, where `<artist>` and `<track>`
57-
are lower case strings separated by dashes.
58-
59-
60-
6151
## [python2.7/mt.py](https://github.com/bamos/python-scripts/blob/master/python2.7/mt.py)
6252
+ Authors: [Brandon Amos](https://github.com/bamos)
6353
+ Created: 2014.11.30
@@ -70,78 +60,35 @@ of the output.
7060

7161

7262

73-
## [python3/github-repo-summary.py](https://github.com/bamos/python-scripts/blob/master/python3/github-repo-summary.py)
74-
+ Authors: [Brandon Amos](https://github.com/bamos)
75-
+ Created: 2014.11.02
76-
77-
78-
Produces a Markdown table concisely summarizing a list of GitHub repositories.
79-
80-
81-
82-
## [python3/link-checker.py](https://github.com/bamos/python-scripts/blob/master/python3/link-checker.py)
63+
## [python2.7/music-organizer.py](https://github.com/bamos/python-scripts/blob/master/python2.7/music-organizer.py)
8364
+ Authors: [Brandon Amos](https://github.com/bamos)
84-
+ Created: 2014.02.06
85-
86-
87-
Script to be run by crontab to report broken links.
88-
89-
Builds upon linkchecker (Ubuntu: sudo apt-get install linkchecker)
90-
to hide warnings and to send a concise email if bad links are found.
91-
92-
![Link checker screenshot](https://raw.githubusercontent.com/bamos/python-scripts/master/link-checker-screenshot.png?raw=true)
93-
65+
+ Created: 2014.04.19
9466

9567

96-
## [python3/phonetic.py](https://github.com/bamos/python-scripts/blob/master/python3/phonetic.py)
97-
+ Authors: [Brandon Amos](https://github.com/bamos)
98-
+ Created: 2014.02.14
68+
This script (music-organizer.py) organizes my music collection for
69+
iTunes and [mpv](http://mpv.io) using tag information.
70+
The directory structure is `<artist>/<track>`, where `<artist>` and `<track>`
71+
are lower case strings separated by dashes.
9972

10073

101-
Obtain the NATO phonetic alphabet representation from short phrases.
102-
103-
```
104-
$ phonetic.py github
105-
g - golf
106-
i - india
107-
t - tango
108-
h - hotel
109-
u - uniform
110-
b - bravo
111-
```
11274

75+
## [python3/eval-expr.py](https://github.com/bamos/python-scripts/blob/master/python3/eval-expr.py)
76+
+ Authors: J. Sebastian, [Brandon Amos](https://github.com/bamos)
77+
+ Created: 2013.08.01
11378

11479

115-
## [python3/rank-writing.py](https://github.com/bamos/python-scripts/blob/master/python3/rank-writing.py)
116-
+ Authors: [Brandon Amos](https://github.com/bamos)
117-
+ Created: 2014.02.14
118-
80+
A module to evaluate a mathematical expression using Python's AST.
11981

120-
`rank-writing.py` ranks the writing quality of my
121-
blog's Markdown posts and my project's Markdown README files.
82+
+ Original by: J. Sebastian at http://stackoverflow.com/questions/2371436.
83+
+ Modifications by: [Brandon Amos](https://github.com/bamos).
12284

123-
The following programs should be on your `PATH`:
124-
+ [aspell](http://aspell.net/)
125-
+ [write-good](https://github.com/btford/write-good)
126-
+ [diction](https://www.gnu.org/software/diction/)
85+
If you want a command-line expression evaluator, use
86+
[Russell91/pythonpy](https://github.com/Russell91/pythonpy).
12787

12888

12989
```
130-
$ rank-writing.py *.md
131-
132-
=== 2013-05-03-scraping-tables-python.md ===
133-
Total: 53
134-
├── aspell: 34
135-
├── diction: 0
136-
└── write-good: 19
137-
138-
...
139-
140-
=== 2013-04-16-pdf-from-plaintext.md ===
141-
Total: 0
142-
├── aspell: 0
143-
├── diction: 0
144-
└── write-good: 0
90+
$ eval-expr.py '(((4+6)*10)<<2)'
91+
(((4+6)*10)<<2) = 400
14592
```
14693

14794

@@ -197,6 +144,38 @@ alias rm-wallpaper='rm $(get-osx-wallpaper.py) && killall Dock'
197144

198145

199146

147+
## [python3/github-repo-summary.py](https://github.com/bamos/python-scripts/blob/master/python3/github-repo-summary.py)
148+
+ Authors: [Brandon Amos](https://github.com/bamos)
149+
+ Created: 2014.11.02
150+
151+
152+
Produces a Markdown table concisely summarizing a list of GitHub repositories.
153+
154+
155+
156+
## [python3/link-checker.py](https://github.com/bamos/python-scripts/blob/master/python3/link-checker.py)
157+
+ Authors: [Brandon Amos](https://github.com/bamos)
158+
+ Created: 2014.02.06
159+
160+
161+
Script to be run by crontab to report broken links.
162+
163+
Builds upon linkchecker (Ubuntu: sudo apt-get install linkchecker)
164+
to hide warnings and to send a concise email if bad links are found.
165+
166+
![Link checker screenshot](https://raw.githubusercontent.com/bamos/python-scripts/master/link-checker-screenshot.png?raw=true)
167+
168+
169+
170+
## [python3/merge-mutt-contacts.py](https://github.com/bamos/python-scripts/blob/master/python3/merge-mutt-contacts.py)
171+
+ Authors: [Brandon Amos](https://github.com/bamos)
172+
+ Created: 2014.01.08
173+
174+
175+
Merges two mutt contact files.
176+
177+
178+
200179
## [python3/merge-pdfs-printable.py](https://github.com/bamos/python-scripts/blob/master/python3/merge-pdfs-printable.py)
201180
+ Authors: [Brandon Amos](https://github.com/bamos)
202181
+ Created: 2014.10.17
@@ -234,6 +213,59 @@ PS file.
234213

235214

236215

216+
## [python3/phonetic.py](https://github.com/bamos/python-scripts/blob/master/python3/phonetic.py)
217+
+ Authors: [Brandon Amos](https://github.com/bamos)
218+
+ Created: 2014.02.14
219+
220+
221+
Obtain the NATO phonetic alphabet representation from short phrases.
222+
223+
```
224+
$ phonetic.py github
225+
g - golf
226+
i - india
227+
t - tango
228+
h - hotel
229+
u - uniform
230+
b - bravo
231+
```
232+
233+
234+
235+
## [python3/rank-writing.py](https://github.com/bamos/python-scripts/blob/master/python3/rank-writing.py)
236+
+ Authors: [Brandon Amos](https://github.com/bamos)
237+
+ Created: 2014.02.14
238+
239+
240+
`rank-writing.py` ranks the writing quality of my
241+
blog's Markdown posts and my project's Markdown README files.
242+
243+
The following programs should be on your `PATH`:
244+
+ [aspell](http://aspell.net/)
245+
+ [write-good](https://github.com/btford/write-good)
246+
+ [diction](https://www.gnu.org/software/diction/)
247+
248+
249+
```
250+
$ rank-writing.py *.md
251+
252+
=== 2013-05-03-scraping-tables-python.md ===
253+
Total: 53
254+
├── aspell: 34
255+
├── diction: 0
256+
└── write-good: 19
257+
258+
...
259+
260+
=== 2013-04-16-pdf-from-plaintext.md ===
261+
Total: 0
262+
├── aspell: 0
263+
├── diction: 0
264+
└── write-good: 0
265+
```
266+
267+
268+
237269
## [python3/word-counter.py](https://github.com/bamos/python-scripts/blob/master/python3/word-counter.py)
238270
+ Authors: [Brandon Amos](https://github.com/bamos)
239271
+ Created: 2014.11.7
@@ -265,36 +297,6 @@ $ word-counter.py shakespeare.md --numWords 4 --maxTuples 3
265297

266298

267299

268-
## [python3/eval-expr.py](https://github.com/bamos/python-scripts/blob/master/python3/eval-expr.py)
269-
+ Authors: J. Sebastian, [Brandon Amos](https://github.com/bamos)
270-
+ Created: 2013.08.01
271-
272-
273-
A module to evaluate a mathematical expression using Python's AST.
274-
275-
+ Original by: J. Sebastian at http://stackoverflow.com/questions/2371436.
276-
+ Modifications by: [Brandon Amos](https://github.com/bamos).
277-
278-
If you want a command-line expression evaluator, use
279-
[Russell91/pythonpy](https://github.com/Russell91/pythonpy).
280-
281-
282-
```
283-
$ eval-expr.py '(((4+6)*10)<<2)'
284-
(((4+6)*10)<<2) = 400
285-
```
286-
287-
288-
289-
## [python3/merge-mutt-contacts.py](https://github.com/bamos/python-scripts/blob/master/python3/merge-mutt-contacts.py)
290-
+ Authors: [Brandon Amos](https://github.com/bamos)
291-
+ Created: 2014.01.08
292-
293-
294-
Merges two mutt contact files.
295-
296-
297-
298300
# Similar Projects
299301
There are many potpourri Python script repositories on GitHub.
300302
The following list shows a short sampling of projects,

0 commit comments

Comments
 (0)