Saravanan666/pypi-org huggingface dataset:
Package: git-heatmap
git-heatmapShows a heatmap for your Git repositories.Install$ pip install git-heatmapUsageUsage: git-heatmap [OPTIONS]

Options:
  -r, --repo TEXT       Path to git repository (can be relative)
  -a, --author TEXT     Author email (default all authors)
  -b, --branch TEXT     Branch (default all branches)
  -s, --start TEXT      Start date (YYYY-MM-DD, defaults to current year
                        start)
  -e, --end TEXT        End date (YYYY-MM-DD, defaults to current year end)
  -c, --character TEXT  Character to use for heatmap (defaults to ▧)
  -sh, --shade TEXT     Color to use for heatmap (defaults to 0;255;0)
  --help                Show this message and exit.ExamplesRungit-heatmap...# in a directory that's already a git repository$git-heatmap# on a repository elsewhere$git-heatmap-r/path/to/repo# on multiple repositories!$git-heatmap-r/path/to/repo-r/path/to/other# limit by author email$git-heatmap-ame@myself.com# limit by multiple authors email$git-heatmap-ame@myself.com-ahim@himself.com# pick a specific branch$git-heatmap-bmain# pick multiple branches$git-heatmap-bmain-bdevelop# start from date$git-heatmap-s2023-02-01# end on date$git-heatmap-e2023-02-28How about some character and color change as well?You can do this via:# change characters$git-heatmap-c'⊚'# change colors$git-heatmap-sh"255;255;0"FAQWhy?Mostly fun, I like things cli. It's also rather annoying that github's heatmap only targets theprimarybranch of a repository.Does this count any contribution other than commits?No, this is purely commits, including merge commits (I think! :-))What branch does it pick if I didn't specify one?All branches!But commits are the same in more than one branch!Yes, that's why it only counts unique commit hashes.The months labels aren't in line with the github heatmapGithub got it wrong, check any month's start date and notice how they push the label one column further. If you still feel they got it right, create an issue and show a screenshot, I'll fix it.This will be slow on large repositories!No, this internally usesgit-rev-list.Why not make this a git extension?That was the original plan, but we are where we are...Can I...Yes you can. Remember this is meant as tiny fun project.
Package: git-history-profiler
Performance and stability profiling over the git commit history.Installation$pipinstallgit_history_profilerUsage$git_history_profiler--helpUsage:git_history_profiler[OPTIONS]REPO_URLPerformanceandstabilityprofilingoverthegitcommithistory.Options:--configPATHPathtoconfig.[required]-c,--commitTEXTCommitidtoconsider.--helpShowthismessageandexit.Try out the example:$./examples/create_test_repository.sh./test_repo/$git_history_profiler./test_repo/--config./examples/config.ymlAfterwards, check out./profiling_results/.
Package: git-history-tools
git-history-toolsCommand line tool to group commits by user for a specific time window.Installationpip install git-history-toolsUsageTo run the program requires python version 3.6 or higher and a few libraries must be installed (see requirements.txt).>>./githistory --help
githistory

Description:
  Group GIT commits by user and show changes in a compact mode

Usage:
  githistory [-b <name>] [-i <regex>] [-d <number>] [--since date] [--after date] <path>

Options:
  -h --help                     Show this screen.
  -b --branch <name>            GIT branch name [default: master]
  -i --issue <regex>            Regex pattern which correspond the issue ID. [default: ""]
  -d --deep <number>            change file deep [default: 1]
  --since <date>                Start date: format (%Y-%m-%d %H:%M:%S). Default is today -1
  --after <date>                End date: format (%Y-%m-%d %H:%M:%S). Default is today -2
  <path>                        GIT repository path.Dockerdocker build . -t githistory
docer run --rm --volume "/my/repo:/tmp/repo" -it githistory --branch master --deep 3 /tmp/repDisclaimerThis software is provided as source code under an MIT license (see LICENSE)
Package: githome
Warninggithome is currently under heavy development. The code is fine,
though it is simply missing essential features at the moment;
notable these include setting permissions for individual users.
Any help testing is very welcome.githome is an authorization system for hostinggitrepositories. It allows to
create rules for different users, such as a read-only or developer access and
makes it easy to create new repositories by simply pushing, without having to
prior create them.githome is somewhat similar togitolite, the successor togitosis. It aims
to be a little more self-containted and easier to install and administer -
and it’s written in Python instead of Perl. The main difference is that it uses
a command-line interface and database to handle settings instead of a git repository, making setups more self-contained and migrateable.As it was born out of frustation of the bloat ofgitlab(and the resulting
slowness and painful installation), it places a premium on speed. It is
measured against its ability to run on a first-generation Raspberry Pi (the
single-core, 512 MB RAM kind).Since it is a security-sensitive piece of software facing the outside world,
detailed information about its structure is found in the documentation, to
help anyone administering it understand the implications on the systems
security.
Package: githon
# githon[![Current version at PyPI](https://img.shields.io/pypi/v/githon.svg)](https://pypi.python.org/pypi/githon)
![Supported Python Versions](https://img.shields.io/pypi/pyversions/githon.svg)
![Software status](https://img.shields.io/pypi/status/githon.svg)
[![PyPI](https://img.shields.io/pypi/l/githon.svg)]()
[![GitHub issues](https://img.shields.io/github/issues/marcosvbras/githon.svg)]()
[![GitHub forks](https://img.shields.io/github/forks/marcosvbras/githon.svg?style=social&label=Fork)]()
[![GitHub stars](https://img.shields.io/github/stars/marcosvbras/githon.svg?style=social&label=Stars)]()
[![Donate](https://img.shields.io/gratipay/marcosvbras.svg?style=social&label=Donate)](https://www.gratipay.com/marcosvbras)Githonis a python library that provides a GitHub REST API v3 Data Scraping.With this library you can:
- Request user data through username or user ID
- Control request errors easily
- Use Application tokens or Personal User tokens to request data
- Reduce spending on your requisition limit## Installation
Run the command:` pip install githon `## How to use
Import theGithubApiclass and create an object. Optionally pass an access token to constructor.` >>> from githon import GithubApi >>> gh =GithubApi('YOUR_ACCESS_TOKEN')`>NOTE: With access_token, your rate limit will be 5000 requests per hour. If you don’t provide an access_token, your number of requests will be limited to 60 requests per hour, according with GitHub REST API v3 docs.
See more inhttps://developer.github.com/v3/#rate-limitingUse.Sample code:` >>>gh.user_by_username('marcosvbras'){ 'blog':'https://about.me/marcosvbras','followers': 7, 'following': 28,...}`## Methods
-`user_by_username`: Request user based in Github login.
-`user_by_id`: Request user based in Github User ID.
-`user_emails`: Retrieve a list of emails from a given access_token. Requires the user access token.
-`followers_by_id`: Request the user followers based in Github login.
-`followers_by_username`: Request the user followers based in Github ID.
-`following_by_id`: Request the user following based in Github ID.
-`following_by_username`: Request the user following based in Github login.
-`gists_by_id`: Request the user gists based in Github ID.
-`gists_by_username`: Request the user gists based in Github login.
-`repositories_by_id`: Request the user repositories based in Github ID.
-`repositories_by_username`: Request the user repositories based in Github login.
-`search_users`: Search users with a Github query.
-`get_request_limit`: Request the API Rate Limit to your token.
Package: githook
This aplication starts a small web server,
reads a INI config file and listens for GitHub post requests,
then runs a script in response of the post request.Inspired by:https://github.com/hasgeek/github-hookHow to install and useGit clonecd githookCreate a config.ini (please refer to the example.ini)run the following commands:python bootstrap.py-dbin/buildoutbin/supervisordORInstall the githook package viapip,easy_installorbuildoutgithook (script) will appear in you bin PATHjust rungithookgithook now listens on port 5000 port for for post request from githubexample.iniExample[something]
; This section will match if you push commit or more commits to project/repo "test" branch "master"

; You must specify the project/repository name
name=test

; You must specify your username or the name of the organization
owner=brodul

; You must specify branch
branch=master

; The command that will be executed on match
cmd=ls

; comment
# comment

[willmatch]
; All the sections that match will be executed
name=test
owner=brodul
branch=master
cmd=pwd


[tagmatch]
name=test
owner=brodul
; This will match on tag move, delete, create ...
tag=trololo
cmd=pwdGithook command line usageYou can access the help always with the-hor--helpoptionUsage: githook [options]

Options:
  -h, --help            show this help message and exit
  -c FILE, --config=FILE
                        INI file config [default: ./config.ini]
  -l ADDRESS, --listen=ADDRESS
                        hostname to listen on [default: localhost]
  -p PORT, --port=PORT  the port of githook [default: 5000]Nginx configurationyou still need to configure nginx or apache to make a proxy passExampleserver {
        listen   80 ;
        server_name domain.com;

        access_log  /var/log/nginx/githook.access.log;
        error_log  /var/log/nginx/githook.error.log;


        location /githook {

                # Allow github IPs
                allow 207.97.227.253;
                allow 50.57.128.197;
                allow 108.171.174.178;
                deny all;

                rewrite /githook / break;

                proxy_pass http://localhost:5000 ;

        }Apache configurationTODOTestsTo run tests use:bin/testTODOSee github issues.
Package: githooks
githooks is a simple module that adds several python related useful hooks to use
with Git hooks system.It’s still alpha software!It uses the hghooks module as backend. It implements part of the Mercurial API
for hooks, and calls hghooks for the heavy lifting. It supports what hghooks
module supports, currently:pep8 checking of python filespyflakes checking of python filesChecking for forgotten pdb statements in python filesJSLint checking of JavaScript and HTML filesTrac integration. This includes:Making sure at least a ticket is mentioned in the changeset messageUpdating the Trac ticket with the changesetPyPi package:http://pypi.python.org/pypi/githookshghookshghooks is being developed by Lorenzo Gil Sanchez. It’s released under a LGPLv3,
and it’s hosted on:https://bitbucket.org/lgs/hghooksExtra dependenciesIt uses pyjslint, who requiresnodejs. You can find
more details on this inhttp://pypi.python.org/pypi/pyjslint/DocumentationHow to useSoon :PConfigurationGithooks has serveral options. It usesgit configas configuration
backend.All githooks options has “githooks” as family, so a git configuration file looks
like similar to this:[user]
        name = John Doe
        email = johndoe@example.com
[githooks "pep8"]
        ignore = E501
[githooks "trac"]
        hook-active = FalseHow to read:$ git config --global githooks.pep8.ignore
E501
$How to set:$ git config --global githooks.pep8.ignore E501You can find more details about git configuration on the git help:$ git config --helpIn git configuration there are several contexts. Githooks uses two of them.GlobalGlobal context is user level. This configuration is common for all the
repositories of the user.pep8.ignorepep8 error list to ignoredefaults to NoneLocalLocal context is repository level. This configuration only affects one
repository.trac.hook-activeactivate trac integration hookdefaults to Falsetrac.repo-nametrac.changeset-styletrac.msg-templateNoteMore and better documentation soon :P
Package: git-hooks-1c
Набор утилит для перехватчиков (hooks) Git для работы с 1СЧто делаетПри установке пакета в каталоге скриптов интерпретатора Python создаётся исполняемый файлgh1c.exe. Смотри список
поддерживаемых команд в составе.ТребованияWindowsPython 3.7 и выше. Каталоги интерпретатора и скриптов Python должны быть прописаны в переменной окружения PathПакеты virtualenv и virtualenvwrapper-winПакетparse-1c-buildс необходимыми настройкамиСоставinstall.py— скрипт, создающий хуки в.git/hooksпроекта. Запускается командойinstall.uninstall.py— скрипт, удаляющий хуки из.git/hooksпроекта. Запускается командойuninstall.pre-commit.sample— образец hook-скрипта, запускающегоpre-commit-1c.batpre_commit.py— скрипт для разборкиepf-,erf-,ert- иmd-файлов с помощью пакетаparse-1c-buildв каталоги, которые затем добавляются в индекс и помещаются в git-репозиторий. Запускается командойpre_commit.
Package: git-hours
git-hoursEstimate time spent on a git repository.Port to Python of thegit-hoursproject byhttps://github.com/kimmobrunfeldt/git-hours.THIS PORT IS NOT COMPLETE YET. IF YOU WANT TO HELP, PLEASE DO SO.Example useTime spent on developingSQLAlchemy:➜bootstrapgit:(master)git-hours{...'total':{'hours':18276.158333333322,'commits':15504,},}From a person working 8 hours per day, it would take more than 10 years to build SQLAlchemy.Please note that the information is not be accurate enough to be used in billing.Install$ pipx install git-hoursHow it worksThe algorithm for estimating hours is quite simple. For each author in the commit history, do the following:Go through all commits and compare the difference between
them in time.If the difference is smaller or equal then a given threshold, group the commits
to a same coding session.If the difference is bigger than a given threshold, the coding session is finished.To compensate the first commit whose work is unknown, we add extra hours to the coding session.Continue until we have determined all coding sessions and sum the hours
made by individual authors.UsageIn root of a git repository run:$ git-hours
Package: githsearch
githsearchQuick github search from the command lineInstallationpipinstallgithsearchUsage as a command line tooloptions:-hor--help:displayinstructions-ror--repo[args]:searchforargsingithubrepos-uor--user[args]:searchforargsingithubusers-lor--limit:knowyourratelimitexample:githsearch-rpythontetrissampleoutput:-->https://github.com/davidcollins4481/tetris-clone--TetrisCloneinPython(PyGame)-->https://github.com/zxmarcos/pytrix--TetriscloneinPython+PyGame-->https://github.com/nickcrafford/python-pygame-tetris--QuickanddirtyTetrisclonewrittentolearnPygame.-->https://github.com/davepgreene/tetris-clone--ATetrisclonewritteninPythonwithpygame(Bonus : lines alternate in a purple color which is cute)Using GithSearch programmaticallyYou can search for repos or users.
First instantiate the main class, and to search for a repo callget_repoand pass the terms you want to search as arguments :>>>fromgithsearchimportGithSearch>>>g=GithSearch()>>>g.get_repo('python tetris clone pygame')[('https://github.com/davidcollins4481/tetris-clone','Tetris Clone in Python (PyGame)'),('https://github.com/zxmarcos/pytrix','Tetris clone in Python + PyGame'),('https://github.com/nickcrafford/python-pygame-tetris','Quick and dirty Tetris clone written to learn Pygame.'),('https://github.com/davepgreene/tetris-clone','A Tetris clone written in Python with pygame'),('https://github.com/AndreiMarks/BlindBlocks','Tetris Clone written in Python 3.2 using Pygame 1.9.2'),('https://github.com/dannyburrows/PoorMansTetris','A Tetris clone, using python and pygame'),...]The search outputs the most relevant results.
To  search for a user is the same but callget_userinstead>>>g.get_user('test')[('test','https://github.com/test'),('prinnotamago','https://github.com/prinnotamago'),('diannt','https://github.com/diannt'),('73153','https://github.com/73153'),('ssweetin','https://github.com/ssweetin'),('deekoder','https://github.com/deekoder'),('songkang666','https://github.com/songkang666'),('ArdentZeal','https://github.com/ArdentZeal'),('gitmobiletest','https://github.com/gitmobiletest'),...]But be aware that githsearch uses the free quotas from github search API so there is a rate limit. You can consult it by calling :>>>g.get_limit{'remaining':10,'reset':1453497872,'limit':10}As long as you don’t hammer down the API you should be okay.Changes :Feb 2016 : added Command line tool, refactoring, changed readme from markdown to restructuredtext so that it looks better on the Pypi.
Package: github
Github API Wrapper.. image::https://discord.com/api/guilds/963406460107235328/widget.png:target:https://discord.gg/DWhwsQ5TsT:alt: Discord Server InviteEasy to use Python wrapper for theGithub API.Key FeaturesModern Pythonic InterfaceEasy to useInstallingPython 3.8 or higher is required to run the libraryTo install the library, run the following command:.. code:: shOn Linux or MacOSpython3 -m pip install -U git+https://github.com/VarMonke/Github-Api-WrapperOn Windowspy -m pip install -U git+https://github.com/VarMonke/Github-Api-WrapperQuick Example.. code:: pyimport github
import asyncioasync def main():
client = await github.GHClient()user = await client.get_user(user='GithubPythonBot')

print(user)
print(user.html_url)asyncio.run(main()).. code:: shOutput<User login: 'GithubPythonBot', id: 104489846, created_at: 2022-04-27 07:31:26>https://github.com/GithubPythonBotLinksDiscord Server <https://discord.gg/DWhwsQ5TsT>_GitHub API Documentation <https://docs.github.com/en/rest>_
Package: github2
Authors:Ask Solem (askh@opera.com)Version:0.6.2WarningGitHub have marked API v2 as deprecated, you should be looking to replace
your usage ofgithub2in the near future.Bothremoteobjectsandschematicsprovide easy-to-use functionality for
creating bindings to remote APIs, and should significantly reduce the amount
of work needed in moving away from GitHub’s API v2.This is a Python library implementing all of the features available in version 2
of theGitHub API.See thedoc/directory for installation instructions and usage information.
If you prefer you can also read thedocumentation online.LicenseThis software is licensed under theNew BSD License. See theLICENSEfile in the top distribution directory for the full license text.User-visible changesThis file lists only the most important changes that may be visible to users,
look at thegit repositoryfor the full project history.0.6.2 - 2012-06-11Updated dependencies to handle recentpython-dateutilreleasesFixedsimplejsondependencies for Python 2.40.6.1 - 2012-02-28Support forGitHub:Enterpriseusing thegithub_urlparameter when
creating a clientAdds SSH key managementSupport reading SSL certificates from the location set inCURL_CA_BUNDLE,
if all else fails0.6.0 - 2011-12-21Now uses system certificates for SSL validation where possiblePython 3 is supported directly, without a separate2to3build step0.5.2 - 2011-09-02Functions that returneddictobjects have been deprecated, enableDeprecationWarningsupport to see if you’re affected0.5.1 - 2011-06-11This is a bugfix release for compatibility with the latesthttplib2releasehttplib2v0.7.0, or higher, is required0.5.0 - 2011-05-24Support forpull requestsSimpleloggingbased messages for event tracking and debuggingRequirespython-dateutil0.4.0 - 2011-05-23Python 3 compatibilityThegithub_manage_collaboratorsscript will be installed usingentry_points, which means there is now a run-time dependency ondistributeSupport for managingteams and organisationsHTTP proxy support0.3.0 - 2011-04-13Caching support, see thecachekeyword ofgithub.client.GithubOAuth2authentication supportAdditionalissuessupport:Searching issues withissues.searchList issues by label withissues.list_by_labelList all project labels withissues.list_labelsEdit an existing issue withissues.editReopen closed issues withissues.reopenAdditionalrepossupportList non-owned projects that you have push rights to withrepos.pushableRequireshttplib2
Package: github2fedmsg
github2fedmsgA bot broadcasts every action made on your repo hosted on GitHub on thefedmsgmessage bus.It is a web application that monitors GitHub repositories you subscribe it to.
When new actions (commits, pull-request, tickets) are made, it broadcasts a
message on thefedmsgmessage bus.It is written in Python on the Pyramid framework, and usesvelruseto talk with GitHub.  It adds a webhook callback
back to itself on repositories you ask it to monitor.  When one of those
callbacks fire, github2fedmsg republishes the message it receives to thefedmsgbus.HackingIf you run into trouble with these instructions, feel free to open a ticket
or get in touch with me directly.Fork and clone the following two repositories:http://github.com/fedora-infra/github2fedmsgUsingvirtualenvwrapper:$ cd github2fedmsg
$ mkvirtualenv github2fedmsg
$ python setup.py develop
$ pip install waitressGo off andregister your development application with GitHub.  Save the oauth tokens and add
the secret one to a new file you create calledsecret.ini.  Use the examplesecret.ini.examplefile.Create the database:$ initialize_github2fedmsg_db development.iniNow, start the webapp:$ workon github2fedmsg
$ pserve development.ini --reload0.0Initial version
Package: github2pandas-manager
github2pandas_manager Introductiongithub2pandas_managercoordinates data aggregation activities for multiple GitHub-repositories. The user selects a list of repositories by names, name pattern, organizations or individual queries and provides a collection of versions, releases, pull-requests etc. For this purposegithub2pandas_managerreads a configuration file (yml), collects the referenced repositories and provides the demanded information as Python pandas or csv files.Take a view to the documentation ofgithub2pandasfor being familiar with the individual aggregation classes.Application examplehttps://user-images.githubusercontent.com/10922356/144754607-fcf170eb-a632-4dbe-875c-fb73e0689928.mp4ConceptInstallationgithub2pandas-manageris available onpypi. Use pip to install the package.globalOn Linux:sudo pip3 install github2pandas-manager 
sudo pip install github2pandas-managerOn Windows as admin or for one user:pip install github2pandas-manager
pip install --user github2pandas-managerin virtual environment:pipenv install github2pandas-managerIn addition a GitHub token is required for authentication. Thewebsitedescribes how you can generate this for your GitHub account. Add your toke to an hidden.envfile, an example is given in.env.example.Run examplesTheexamplefolder contains four types of query configurations for different purposes:FokusKeywordsExampleRepo namesList all relevant repositories by username and repository name -repo_namesProjectsByRepoNames.ymlRepo name patternsDescribe relevant repositories by white- and black-patterns -repo_white_pattern,repo_black_patternProjectsByRepoNamePatterns.ymlRepos by organizationsSelect all repositories of an organization account -organization_namesProjectsByOrganizations.ymlRepos by a set of query parameterSelect all repositories according to programming languages, stars etc. -language,start_date,end_date,star_filterProjectsByQuery.ymlIn order to start the examples just run:pipenv run python -m github2pandas_manager -path ./examples/ProjectsByQuery.ymlYAML-Configuration schemaIn addition to the specific configuration parameters mentioned above, each request includes three further definitions -project_name,project_folderandcontent.While the first two are used to structure the folders to hold the data, the last parameter describes the repository data to be aggregated:RepositoryIssuesVersionPullRequestsWorkflowsGitReleasesAn overview of the information contained in each data frame can be found in thewiki of the gitlab2pandasproject.