Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Python library which helps create Art on GitHub Contribution Summary

Project description

GitArt

Python Package to Create Art though Git Presently allows users to Create Heart Shape on their GitHub Profile Contibution Summary GitHub Link: https://github.com/nimeshkverma/GitArt

How To Make a Heart

  • Install the Package using the command : pip install GitArt
  • Import the Heart module from GitArt
  • Create an object of GitHeart
  • Call the create_heart function of the object created with arguments git_repo_url, max_commits and weeks_from_now. Last two arguments are optional.

Code for above steps:-

In the Command Line:-

pip install GitArt

In a python script or python shell:-

from GitArt import Heart git_heart_obj = Heart.GitHeart()

git_repo_url = 'git@github.com:nimeshkverma/HelloWorld.git'

#To Get Heart with default commits and with end_week as present week git_heart_obj.create_heart(git_repo_url=git_repo_url)

#To Get Heart with 10 commits per day and the heart border in the week = present_week -2 git_heart_obj.create_heart(git_repo_url=weeks_from_now,max_commit=10,weeks_from_now= 2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
GitArt-1.0.2.tar.gz (2.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page