Commit Graph

144 Commits

Author SHA1 Message Date
4d4af436f4 Retrieve and return the contributions calender as a string; split into lines later as part of the processing stage. 2016-06-10 00:15:26 +02:00
18b49c1dad Clarified names. 2016-06-10 00:13:03 +02:00
2fe08fd28a Merge pull request #34 from homeworkprod/cleanup
Python 3 fixes, refactoring, cleanup, and a first test.
2016-06-09 14:52:11 -04:00
6aa52725a6 Adjusted calendar SVG retrieval to work on Python 3, too. 2016-06-06 01:23:25 +02:00
603c7f30e7 Extracted "constant" for fallback image name. 2016-06-06 01:23:25 +02:00
580c13ab68 Slightly streamlined user interface. 2016-06-06 01:23:25 +02:00
777f264796 Make raw_input available on Python 3 by aliasing it to input. 2016-06-06 01:23:25 +02:00
3e92a86161 Fix str_to_sprite on Python 3.
I'm using a list comprehension as it is easier to grok than `list(map(list, lines))`.
2016-06-06 01:23:25 +02:00
811a7c2a44 Fixed import of urlopen[2] on Python 3. 2016-06-06 01:23:25 +02:00
e7e67834c8 Introduced package for tests and added a test case for str_to_sprite.
The string variant of the "one-up" image, however, does not match the number-based one, to the expectation for the test had to be adjusted (basically replacing 1s with 0s).
2016-06-06 01:23:25 +02:00
5b6a3cfc2c Finding the highest daily commit count once is sufficient. 2016-06-06 01:23:21 +02:00
302e83416d Use one-liner. 2016-06-06 01:23:03 +02:00
f6727b2555 Extracted function calls. 2016-06-06 01:23:03 +02:00
ca1dc8f00e Turn the optional Git URL argument into a mandatory one. 2016-06-06 01:23:03 +02:00
02d049b1a3 Introduced a few variables. 2016-06-06 01:23:03 +02:00
71c88fc084 Turn the optional base URL argument into a mandatory one. 2016-06-06 01:23:03 +02:00
68a1fb2b03 Extracted "constant" for GitHub base URL. 2016-06-06 01:23:03 +02:00
73361c64d9 Prefix function names with verbs to avoid confusion (or upcoming conflicts) with variables. 2016-06-06 01:23:02 +02:00
bdcdd8f137 Selectively employ one-liner conditionals for brevity. 2016-06-06 01:22:12 +02:00
822048909b Extracted function to request user input. 2016-06-06 01:22:10 +02:00
60c2aae15f Fixed name and acronym case. 2016-06-06 01:21:53 +02:00
bb31c8eb46 Create empty dict via literal syntax instead of function call. 2016-06-06 01:21:53 +02:00
c7ffdcde4d Renamed function argument to reveal its meaning and to not override the built-in input function. 2016-06-06 01:21:53 +02:00
c2870bb4ec Clarified variable name. 2016-06-06 01:21:53 +02:00
a76dd860f3 Use string literal delimiters consistently (triple double-quotes for docstrings, [triple] single quotes for everything else where feasible). 2016-06-06 01:21:51 +02:00
b717414e7b Import the datetime and timedelta classes from the datetime package without having to fully qualify their uses. 2016-06-06 01:21:31 +02:00
e1b2657ff0 Open file via with statement so it gets closed automatically. 2016-06-06 01:21:31 +02:00
be6bd58080 Formatted with PEP 8 in mind. Inserted additional blank lines for readability. Ordered imports alphabetically. Removed unnecessary parentheses. 2016-06-06 01:21:25 +02:00
4f43306f44 Update README.md 2016-01-17 23:30:57 -05:00
7af9378b50 Merge pull request #22 from cbas/patch-1
Gitfiti Painter mention
2015-06-10 11:12:39 -04:00
08dd6219c2 Gitfiti Painter mention 2015-05-23 13:39:16 +08:00
8c5f11dcc3 Update README.md 2015-04-21 13:25:43 -04:00
b16d04ce0c Merge pull request #21 from tickelton/master
added reference to ghdecoy
2015-04-21 13:20:35 -04:00
3734ed434b added reference to ghdecoy 2015-04-18 22:39:44 +02:00
0519867255 Merge pull request #19 from Rosuav/input_comparison_style
Use "not x" rather than "x == None" for testing the result of raw_input()
2014-11-08 16:29:31 -05:00
9746944e4c Use "not x" rather than "x == None" for testing the result of raw_input() 2014-11-05 22:08:59 +11:00
d9514f0b4e changed max_commits() and get_calendar() to fix issue #17 2014-09-26 13:45:12 -04:00
6c1faad8a6 error in empty string handling 2014-08-19 14:05:59 -04:00
1333435f4f fix contributor's print statement 2014-08-19 00:15:17 -04:00
8bd8a9311e t push origin masterMerge branch 'stormyjet-patch-1'
Adds support for python3
2014-08-19 00:08:16 -04:00
9aab65ebb2 merging Story's changes 2014-08-19 00:07:37 -04:00
454e8c7ebc fixes calendar url issue 2014-08-18 23:48:34 -04:00
684b12b606 adding license, officially open source now? 2014-08-08 18:48:02 -04:00
87fe8f3401 Fix the py file for Python 3+ 2014-07-29 23:56:24 -06:00
dd7473b026 Merge pull request #10 from ashphy/master
Fix the bug that kitty always appears when using user templates
2014-01-17 11:19:05 -08:00
0eb93f7afc fix the bug that kitty always appears when using user templates 2014-01-16 23:29:13 +09:00
f4f0b5bf22 Merge pull request #8 from michaelrice/ghe
Ghe
2013-08-08 17:22:50 -07:00
a0dde04a3b remove newline from commit date 2013-08-05 02:12:35 +00:00
62b276701e added try except to urllib2 call for cal data 2013-08-04 20:47:18 -05:00
3af9779d31 fix issue when not using custom ghe 2013-08-04 20:05:48 -05:00