Commit Graph

62 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
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
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
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
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
0eb93f7afc fix the bug that kitty always appears when using user templates 2014-01-16 23:29:13 +09: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
2d4653aa21 added ghe support 2013-08-03 22:16:09 +00:00
4ef8ba04b0 pep8 cleanup 2013-08-03 06:01:30 +00:00
f9d14f6b26 remove unused imports for os and sys 2013-08-01 03:18:09 +00:00
1466cfac83 Clarify offset 2013-06-24 12:12:45 -05:00
cc8961f892 added exceed option 2013-05-27 22:40:22 -04:00
360c10e28d Moved to better character set of string based sprites 2013-05-25 20:52:59 -07:00
1cbfb79509 Added multi-line ASCII to sprite support 2013-05-24 09:17:47 -07:00
58289a28b6 fixed load_images to allow blank input 2013-05-22 12:57:39 -04:00
599358d30c Changed README.md to described added functionality. Also edited gitfiti.py to accept template files with newlines between templates. 2013-05-21 21:53:47 -04:00
8e3cb8e37f Removed an unused variable. 2013-05-21 21:38:31 -04:00
140cef972a Removed a debug line I forgot about 2013-05-21 21:37:46 -04:00
12d29ee561 Implemented support for user images. 2013-05-21 21:34:27 -04:00