Giter VIP home page Giter VIP logo

dupa-art's Introduction

Dupa GitHub Tiles Art

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:

igrek51 GitHub Tiles

Let's make the Art

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

Testing

Running tests on Python 3:

pip3 install future pytest coverage mock
./pytest.sh

dupa-art's People

Contributors

igrek51 avatar

Stargazers

Albert Toledo avatar Bart Le avatar  avatar  avatar Krystian Kałużny avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.