Saravanan666/pypi-org huggingface dataset:
Package: gitfs2
It helps performfile operationsover a git repository.
It clones the git repository and returns python file system 2’sOSFSinstance.The idea originates frommoban, which uses git repositories as
a vehicle to have versioned templates for the creation of a new python package. Surely, it can be implemented
in any other ways but moban v0.6.0 mandates python file system 2 interface. Hence this library is written.Get a file inside a python package>>>importfs>>>git_fs=fs.open_fs("git://github.com/moremobans/pypi-mobans.git!/templates")>>>git_fs.readtext("_version.py.jj2")'__version__ = "0.0.3"\n__author__ = "C.W."\n'Get from a different branch>>>importfs>>>git_fs=fs.open_fs("git://github.com/moremobans/pypi-mobans.git?branch=master!/templates")>>>git_fs.read("_version.py.jj2")'__version__ = "0.0.3"\n__author__ = "C.W."\n'Checkout submodules recursively>>>git_fs=fs.open_fs("git://github.com/moremobans/pypi-mobans.git?branch=master&submodule=true!/templates")Does it write?Yes locally, it will write as you can do so without using gitfs2. And no, it
does not help commit and push the changes for you.Plus, the intention is never to write to a repository.LicenseMITInstallationYou can install gitfs2 via pip:$pipinstallgitfs2or clone it and install it:$gitclonehttps://github.com/moremoban/gitfs2.git$cdgitfs2$pythonsetup.pyinstallChange log0.0.3 - 11.12.2019Added#5: support offline#7: add license text0.0.2 - 2.10.2019Fixed#4: failed to checkout more
than one git repo.0.0.1 - 19.08.2019first releasewhat a feat!
Package: gitfunctions
GIT Functions[PT] Lib para funções do git.[EN] Lib for git functions.Funcionalidades:Checar se existem modificaçõesComo usar:Instalaçãopip install gitfunctionsExemplofrom gitfunctions import gitfunctions

    git = gitfunctions.Git(repo_path='C:\\pasta_projeto')
    git.check_updates()Links:
Package: git-fzf
git-fzfgit-fzf provides interactive versions of built-in Git commands usingfzf.https://user-images.githubusercontent.com/933396/130337334-345c5c60-4e20-4807-8ed3-655bf5115981.mp4InstallationRunpip install git-fzfUsagegit iaddInteractively choose one or more files to addgit icommitInteractively choose one or more staged or unstaged files to commitgit idiffInteractively choose one or more files to diff. Provide the--stagedor--cachedflag to choose from staged
    files.git idifftoolInteractively choose one or more files to diff with the difftool. Provide
    the--stagedor--cachedflag to choose from
    staged files.git iresetInteractively choose one or more files to resetgit irestoreInteractively choose one or more files to restoregit iswitchInteractively choose a branch to switch to. Provide the-ror--remotesflag to choose from remote branches.Similar projectsThere are some similar projects with more elaborate user interfaces:forgitgit-fuzzyMost of the time, I personally prefer the more minimal user interface that this
project provides. Still, would I have started this project if I had known about
these alternatives at the time?🤷‍♂️
Package: git-gdrive
git-gdriveallows to use Google Drive as a way to exchange patches.Designed to quickly exchange patches between different machines or
to share with teammates.gitgdrivepushistheequivalentofgitformat-patch+uploadtogdrive.gitgdrivepullistheequivalentofdownloadfromgdrive+gitam.InstallationLinux / Macpipinstall--usergit-gdriveAnd add the following to you ~/.bashrc# On LinuxexportPATH="$PATH:$HOME/.local/bin"# On MacexportPATH="$PATH:$HOME/Library/Python/2.7/bin"Windows# If using depot_toolscdC:\depot_tools\python276_bin\Scriptspipinstallgit-gdrivegit-gdriveauthExamplesPushing a set of patchset to GDrive$gitgdrivepush#<optional format-patch args>Uploadingapatchconsistingof2commits(@{upstream}..HEAD):10309dcpatch1[author@gmail.com]1fb8c00patch2[author@gmail.com]Uploading/git-drive/primiano-master-2016-01-15_01-03.patchUploadsuccessful.Use"git gdrive pull"toapply.Pulling and applying a patchfile from GDrive$gitgdrivepullSelectwhichfiletopullandapply:1)primiano-master-2016-01-15_01-03.patch2)primiano-master-2016-01-15_00-17.patch3)primiano-master-2016-01-15_00-17.patchEnteridorfilename,justENTERtopull1):1Pulling/git-drive/primiano-master-2016-01-15_01-03.patchRunninggitam-3/tmp/tmptP1Swe
Package: gitgeo
GitGeoDiscover the geography of open-source software. Explore the geographic locations of software developers associated with a GitHub repository or a Python (PyPI) package.See, for instance, the geography of the contributors to the Python package requests.Why use GitGeo?CuriosityOpen source software community managementResearch on open source software ecosystemsIT security complianceRelated WritingGitGeo Overview BlogGitGeo Applied to Open Source Python Data Science BlogInstallationpipinstallgitgeoOr:gitclonehttps://github.com/IQTLabs/GitGeoUsage(requires internet connection)First, create one or moreGitHub personal access tokens.Second, run these commands in the command line to set environmental variables:exportGITHUB_USERNAME='[github_username]'exportGITHUB_TOKEN='[github_token]'Alternatively, to use multiple tokens, create a file called tokens.txt in the code’s directory and enter
a GitHub personal access token on each line.Third, run these commands in the command line:gitgeo--package[package_name]gitgeo--repo[github_repo_url]For example:>>> gitgeo--packagerequests-----------------
PACKAGE: requests
-----------------
CONTRIBUTOR, LOCATION
* indicates PyPI maintainer
---------------------
kennethreitz42 | Virginia, USA
Lukasa * | London, England
sigmavirus24 | Madison, WI
nateprewitt * | None
slingamn | None
BraulioVM | Malaga & Granada, Spain
dpursehouse | Kawasaki
jgorset | Oslo, Norway
...Or:>>> gitgeo--repowww.github.com/psf/requests-----------------
GITHUB REPO: psf/requests
-----------------
CONTRIBUTOR, LOCATION
---------------------
kennethreitz42 | Virginia, USA | United States
Lukasa | London, England | United Kingdom
sigmavirus24 | Madison, WI | United States
nateprewitt | None | None
...There are other command line options too:Add--summaryto get the results summarized by country. e.g.>>> gitgeo--packagerequests--summary-----------------
PACKAGE: requests
GITHUB REPO: psf/requests
-----------------
COUNTRY | # OF CONTRIBUTORS
---------------------------
United States 37
None 23
United Kingdom 4
Canada 4
Germany 4
Switzerland 4
Spain 2
Russia 2
...Add--mapwhen using the--repooption to create an html map
saved in the results folder. See image above for static example. Real map
includes zooming and tooltip capability.Add--ouput_csvto output csv of results to results folder.To create a csv of contributors from many repositories, enter repositories
on separate lines in the repos.txt file. Then use the--multirepoflag.Addmultirepo_mapand then a filename to create a map of csv ouput. csv output must be located in the results folder.Add--numand specify a multiple of 100 from 100 (default) to 500 to
specify the number of contributors analyzed per repo.Run tests:pytestWant to contribute?Open a PR. We are glad to accept pull requests. We use black and pylint and
pydocstyle, though we are glad to help if you haven’t used those tools before.Open an issue. Tell us your problem or a functionality you want.Want to help build a community related to GitGeo and similar open source software
ecosystem exploration tools? Please send an email tojmeyers@iqt.org.
Package: git-gerp
Git grep wrapper for arguments re-ordering,
that can use options after filenames.This is “gErp”, not “gRep”.DescriptionOriginalgit grepcommand is sensitive to the order of arguments.
For example, you usegit grep, and you want to add option-lin
tail, but you must type in the correct order.# original git grep
git grep pattern target -l  # NG `fatal: bad flag '-l' used after filename`
git grep -l pattern target  # OKgit-gerpis allow to use options after patterns and filenames.# use `g(e)rp`, instead of `g(r)ep`
git gerp pattern target -l  # OK, you can add option '-l' in tailgit-gerpis replace arguments, and executegit grep.Replacement rules:Find option arguments (and option’s parameters), move these to ahead.Move rest plain arguments to behind.If find double-dash--, treat after arguments as plain.RequirementsPython 2.6+ or Python 3InstallationInstall this package using pip:pip install git-gerpand you can run under your repository:git gerp ...Define git alias (optional):# define alias `g`
git config --global alias.g gerpand you can run:git g ...Usagegit gerp [<git-grep-argument>...]Examples:# simple
git gerp pattern
git gerp pattern path

# tail options
git gerp pattern path -l -A5 --max-depth 2

# support boolean expressions, and '(', ')'
git gerp \( -e pattern1 --and -e pattern2 \) --or -e pattern3 path -l

# support '--'
git gerp pattern -l -- path1 path2 -i  # pathspecs is ['path1', 'path2', '-i']LicenceMITAuthorhtaketani
Package: gitget-pm
GitgetPackage manager for git repositories.InstallationTo install from pypi run:pip3installgitget-pmUsageGitget allows you to manage repositories download from git hosts like github or
gitlab. The repositories are treated like software 'packages', and basic tasks
such as downloading and saving information about repositories, updating
repository, and removing them once they aren't needed anymore. The contents of
the git repositories is not changed; installation scripts are not run and
dependencies are not installed (yet).Helpgitget -h
gitget --help
gitget help <command>Displays a help menu. If thehelpcommand is used, a help menu for a specific
command is displayed.Installgitget install <package>
gitget install <package> <package_name>Downloads a repository from github and saves information about it.
Optionally, a name for the package can be specified. This name will also
be used as the directory name. Otherwise, the package name is set tousername/repository.Removegitget remove <repository_name>
gitget remove <repository_name> --softRemoves a repository from the package list and also deletes the files locally.
If the--softflag is passed, the local files will not be deleted.Updategitget updateRunsgit-pullon all packages in the package list to update them.Movegitget move <package_name> <location>Moves a package from location to another and updates the information about it.Doctorgitget doctorVerifies integrity of files and packages. Any errors are then reported
and need to be fixed.Listgitget listLists all packages and install locations.Editgitget editOpens the default editor (runecho $EDITOR) to edit the package file.Setupgitget setupCreates the.gitget.yamlpackage file, where all the package information is
saved.
Package: git-glow
A simple git extension to usegit flow branching modelautomatically with Github andsemverto tags your releases and hotfixes.RequirementsgitPython 3.7+Jira project already setupHow to setupInstallationpipinstallgit-glowConfigurationConfiguration begins during the first command.For example, just request to start a new feature (according you already have a Jira project, with a “GLOW” key and a “GLOW-1234” ticket, otherwize a 404 error will be prompted at the end of this operation):gitglowstartfeature1234Following messages will be prompted, waiting an answer for each step:Create a glow config? [Y/n] y
Jira Project Key? GLOW
Github Repository Name? [:owner/:name] nicolasramy/git-glow
Github Token? ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Start feature name: «feature/GLOW-1234» [y/n] yJira Project Key is a key that you chosed when you created your Jira project and you can retrieve as prefix of your Jira tickets (like GLOW-1234)Github Repository Name is same as described in the prompted message:the_repository_owner/the_project_nameGithub token is an access token you can set from your GitHub settings:https://github.com/settings/tokens.
This token will require “Full control of private repositories” (repocheckbox when you create it).
After being created, you just need to copy-paste the generated token.If the configuration successfully registered and you think it was wrong, you can update it in the.git/configof your project. The following section should exist:github-token = ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
github-repository-name = nicolasramy/git-glow
jira-project-key = GLOWUsageTo use this command, just type git glow in a git repository
with adevelopandmasterbranch.Featuregitglowstartfeature1234gitglowreviewfeature1234gitglowfinishfeature1234ReleasegitglowstartreleasegitglowreviewreleasegitglowfinishreleaseHotfixgitglowstarthotfixgitglowreviewhotfixgitglowfinishhotfix
Package: git-gpt
Generate commit messages using OpenAI GPT-3.ConfigurationGenerate your OpenAI secret API key and set it to an environment variable namedOPENAI_API_KEY.For more information, readWhere do I find my Secret API Key?InstallationInstall using pip:pip install git-gptUsageTo use it as a command-line script:git-gpt commitor:python -m git_gpt commitFor more information, refer to help:usage: git-gpt [-h] [--dry-run] command

Run git commands with the assistance of OpenAI GPT-3.

positional arguments:
  command     a git command e.g. commit

options:
  -h, --help  show this help message and exit
  --dry-run   prints the output of the command instead of running it
Package: git-grab
Git GrabGit Helper Tool used to quickly added repo's to the users system for an
external source. With not having to worry and were the repo is been
stored.Initial Goals of the projectCreate a tool to help download git reposRepos are sorted by which site and user they belong to.code
└── github.com
        └── Boomatang
            ├── dotfiles
            └── git-grabUsageMain usagegrab add -u <url-to-repo>
grab fork <url-to-forked-repo>
grab --help
grab <command> --helpList reposConfigureTo list the repos on the current system we most first generate a
list of the repo's. By default the first time this uses the path that is
set inGRAB_PATH.grab list --generateEach time after the paths listed in paths.yaml. The contents of
this file and the path to the file can be shown with.grab list --show-pathsTo add more than one path when generating the list use the flag-pfollowed by the path of the folder you wish to include.-pcan be
added as many times as required.grab list --generate -p <path/to/file1> -p <path/to/file/2>If there is an exiting paths.yaml the folder paths will get added
to the file.When a paths.yaml exists this will be used when generating the
list. A new paths.yaml file can be created using.grab list --generate --new-fileUsageThe list of repos that have been generated are saved in a file called
repo_list.yaml.To get the basic list as shown below. These will be sorted by Org then
Repo name.$ grab list

#  Org/Repo
-- -------------------
1  Boomatang/dotfiles
2  Boomatang/git-grab
3  github/gitignoreThe--wideflag will display more information, such as the path to the
repo.$ grab list --wide

#  Org/Repo             Location
-- -------------------- ------------------------
1  Boomatang/dotfiles   <path/to/repo/dotfiles>
2  Boomatang/git-grab   <path/to/repo/git-grab>
3  github/gitignore     <path/to/repo/gitignore>List the repos belonging to a Org by using the--orgor-oflags.
These feature will not be case sensitive.$ grab list --org boomatang

#  Org/Repo
-- -------------------
1  Boomatang/dotfiles
2  Boomatang/git-grabPath to ReposIt is possible to get the system path to a repo using thegrab pathcommand.The example below opens the git-grab repo by stating the org/repo, the
list number or project url. The project url can have the path to a file
or pull request.$ grab path Boomatang/git-grab
<path/to/repo/git-grab>or$ grab path 2
<path/to/repo/git-grab>or$ grab path http(s)://github.com/Boomatang/git-grab
<path/to/repo/git-grab>
Package: gitgraph
InstalationpipinstallgitgraphDeclaring SubjectsfromgitgraphimportGitGraphfromgitgraphimportSubjectstore=GitGraph('my-git-cms')classDocument(Subject):indexes={'title'}predicates=(('title',codec.Unicode),('body',codec.Unicode),('created_at',codec.DateTime),('published_at',codec.DateTime),)incoming={'authored_by':Author,}outgoing={'contains':Tag,}Createuuid1='deadbeefdeadbeefdeadbeefdeadbeef'# providing your own uuiddocs1=store.create('Document',uuid=uuid1,title='Essay',body='body1',)# auto-generated uuiddocs2=store.create(Document,title='Blog',body='body2',)store.commit()uuid2=docs2.uuidRetrieveOne By UUID# Using the class Document as subject typedocs1=store.get_subject_by_uuid(Document,uuid1)# Using the subject labeldocs2=store.get_subject_by_uuid('Document',uuid2)Many By Indexed Predicatefromgitgraph.queryimportpredicate# functionalquery=lambdatitle:'Blog'intitle# DSLquery=predicate('title').contains('Blog')blog_documents=set(store.match_subjects_by_index(Document,'title',query))# With Regexquery=predicate('title').matches('([Bb]log|[Ee]ssa[yi]s?)')blogs_and_essays=set(store.match_subjects_by_index(Document,'title',query))Updatedocs1.title='new title'docs2.title='documento dois'docs2.body='<p>Hello</p>'store.merge(docs1,docs2)# recreate the doc1docs1=store.create(Document,uuid=uuid1,title='Essay',body='body1',)Deletestore.delete(docs1)store.commit()
Package: git-gud
Git GudWhat is it?Welcome to Git Gud, a command line game designed to help you learn how to use the popular version control system known as Git!
As levels progress, you will know more and more about git, and eventually become a git grandmaster!If something's missing feel free to add an issue, or if you're interested, view thecontributors fileand add something yourself! The project is intentially structured to make it very easy to add new levels!If you're more of a visual learner, you should start with"Learn Git Branching", and and then give Git Gud a try. Learn Git Branching is more visual, but with Git Gud, you're actually using git to complete the levels.How do I use it?For install instructions, see below.Once Git Gud is installed, typing "git gud" will produce output and will start telling you what to do.
Git Gud is meant to be like a game, and like a game, it has levels.
The levels are divided up into skills, each of which will introduce you to a new topic in Git.
It start off, assuming you have zero knowledge, and then builds up.
For each level, it will give you a goal and will explain what's going on.
Ideally, the game will teach you everything you need to know to beat it, but you're still encouraged to use other resources to learn as much as you want.The beginning levels of the game start by getting you accustomed to the Git Gud interface, but later on, the training wheels come off, and you'll have to remember to type in the commands.
If you ever forget which commands there are, or if you want to start on a later level, you can always run "git gud help"
The most important commands aregit gud goal,git gud status,git gud explaingit gud test, andgit gud load next.
Other commands are also useful, but the output of those commands should be enough to guide you through the level.To get started, you need to initialize Git Gud in an empty directory.
Once Git Gud is initialized, it'll have full control over that directory, and it will start adding/removing commits and files.
There will normally be multiple branches, and you'll be expected to use Git commands to solve each level.
The levels range in difficulty, and require you to do different things.
Some levels are really easy and only require you to read the explanation, but others just give you a situation and you'll need to use what you've learned to solve the level.How to installGit Gud is written in Python 3.
You'll need to have Python >=3.6 installed in your system for Git Gud to work.
I prefer usingAnacondato make sure everything works correctly, but you can also install with pip if you now what you're doing.Once your environment is set up with Python >=3.6, installing is simple:pip3 install git-gudGetting started is also simple:git gudGit Gud will guide you through what to doIf either of those command don't work, there are verious things you can try:Usepipinstead ofpip3Make sure your PATH variable includes Python executablesUser install:pip3 install --user git-gudUse Anaconda
Package: gitgud2
git gud m8!alternatively, git #rekt, git jobEver been told to "git gud", "git rekt", "git job", or even "git spooked" but
you only ever get an error when you try?fsufitch@boring:~$ git gud
git: 'gud' is not a git command. See 'git --help'.
fsufitch@boring:~$ git job
git: 'job' is not a git command. See 'git --help'.
fsufitch@boring:~$ git rekt
git: 'rekt' is not a git command. See 'git --help'.
fsufitch@boring:~$ git spooked
git: 'spooked' is not a git command. See 'git --help'.You don't have to suffer anymore!$ pip install gitgudThis package adds functionality to git so these commands do not fail
anymore.fsufitch@awesome:~$ git gud
You are now so gud!
fsufitch@awesome:~$ git rekt
You got #rekt!Your life has officially been improved 100%.PersonalizationIf you're not the one gitting gud or rekt, you can specify the name of
the one who is the target of the gitting. Just add an argument:fsufitch@awesome:~$ git gud Filip
Filip is now so gud!
fsufitch@awesome:~$ git rekt Ted
Ted got #rekt!Super gud / super #rektWant to improve your life 101% and be even more gud, or more rekt?
Just add the--superargument to add more awesome.fsufitch@awesome:~$ git gud Filip --super
 _____ _ _ _         _                                                                         _ _ 
|  ___(_) (_)_ __   (_)___   _ __   _____      __  ___ _   _ _ __   ___ _ __    __ _ _   _  __| | |
| |_  | | | | '_ \  | / __| | '_ \ / _ \ \ /\ / / / __| | | | '_ \ / _ \ '__|  / _` | | | |/ _` | |
|  _| | | | | |_) | | \__ \ | | | | (_) \ V  V /  \__ \ |_| | |_) |  __/ |    | (_| | |_| | (_| |_|
|_|   |_|_|_| .__/  |_|___/ |_| |_|\___/ \_/\_/   |___/\__,_| .__/ \___|_|     \__, |\__,_|\__,_(_)
            |_|                                             |_|                |___/               
fsufitch@awesome:~$ git rekt Ted --super
 _____        _               _                                   _  _            _    _   _ 
|_   _|__  __| |   __ _  ___ | |_   ___ _   _ _ __   ___ _ __   _| || |_ _ __ ___| | _| |_| |
  | |/ _ \/ _` |  / _` |/ _ \| __| / __| | | | '_ \ / _ \ '__| |_  ..  _| '__/ _ \ |/ / __| |
  | |  __/ (_| | | (_| | (_) | |_  \__ \ |_| | |_) |  __/ |    |_      _| | |  __/   <| |_|_|
  |_|\___|\__,_|  \__, |\___/ \__| |___/\__,_| .__/ \___|_|      |_||_| |_|  \___|_|\_\\__(_)
                  |___/                      |_|Warning:The writer is not responsible for side effects of
gitting gud or gitting rekt.This is a fork offsufitch/git-gud.
Package: githack
Basically it an py3k version with own implemented Git objects parser forGitHack:GitHack is a `.git` folder disclosure exploit.Why another git dumper tool?python 3.6+ supportpure-Python implementation without third-party dependenciesgit database crawling supportzipapp mode supportHow it works?step 1:
fetch metadata (eg. .git/{HEAD,index,config})step 2:
using commit objects as seed, crawling whole git databasestep 3:
parse index, then restore objects to source codeUsage:portable standalone> make zipapp> python githack.pyz http://example.com/.gitpip> pip install githack> githack http://example.com/.git