This is a picture generator on GitHub activity tiles.
A Python script creates commits in the past with a specific date. These commits are composing a pattern on GitHub contribution activity tiles. Here's the example:
Set your secret_art
pattern and first_day
date in dupaart.py
file:
"""
Tiles pattern made out of single days:
Sun
Mon DD U U PP A
Tue D D U U P P A A
Wed D D U U PP AAA
Thu D D U U P A A
Fri DD UUU P A A
Sat
Week123456789012345 - 15 weeks = 105 days < 4 months
"""
secret_art = [
' ',
'DD U U PP A ',
'D D U U P P A A',
'D D U U PP AAA',
'D D U U P A A',
'DD UUU P A A',
' '
]
first_day = '2015-01-04'
Install dependencies:
pip3 install -r requirements.txt
and just run:
python3 dupaart.py
Running tests on Python 3:
pip3 install future pytest coverage mock
./pytest.sh