Saravanan666/pypi-org huggingface dataset:
Package: git2net
git2netgit2netis an Open Source Python package that facilitates the extraction of co-editing networks
from git repositories.Download and installationgit2netis purepythoncode. It has no platform-specific dependencies and thus works on all
platforms. The only requirement is a version ofgit >= 2.0. Assuming you are usingpip, you can install latest version ofgit2netby running:> pip install git2netThis also installs the necessary dependencies.git2netdepends on thepython-Levenshteinpackage to compute Levenshtein distances for edited lines of code. On sytems running Windows, automatically compiling this C based module might fail during installation. In this case, unofficial Windows binaries can be foundhere, which might help you get started.How to use git2netTutorialsAfter installation, we suggest to check out ourtutorials, detailing how to get started usinggit2net.
We provide tutorials covering different aspects of analysing your repository withgit2net.
You can directly interact with the notebooks inBinder, or view them inNBViewervia the badges below.In addition, we provide links to the individual tutorial notebooks below:TutorialBinderGoogle ColabNBViewer1. Cloning a repository for analysis2. Mining git repositories withgit2net3. Author disambiguation withgambit4. Network analysis withpathpy5. Database-based analyses6. Computing file complexitygit2netDocumentationgit2net's documentation is available atgit2net.readthedocs.io.Usage examplesWe have published some motivating results as well as details on the mining algorithm in"git2net - Mining Time-Stamped Co-Editing Networks from Large git Repositories".In"Analysing Time-Stamped Co-Editing Networks in Software Development Teams using git2net", we usegit2netto mine more than 1.2 million commits of over 25,000 developers. We use this data to test a hypothesis on the relation between developer productivity and co-editing patterns in software teams.Finally, in"Big Data = Big Insights? Operationalising Brooks' Law in a Massive GitHub Data Set", we mine a corpus containing over 200 GitHub repositories usinggit2net. Based on the resulting data, we study the relationship between team size and productivity in OSS development teams. If you want to use this extensive data set for your own study, we made it publicly available onzenodo.org.How to cite git2net@inproceedings{gote2019git2net,
  title={git2net: {M}ining time-stamped co-editing networks from large git repositories},
  author={Gote, Christoph and Scholtes, Ingo and Schweitzer, Frank},
  booktitle={Proceedings of the 16th International Conference on Mining Software Repositories},
  pages={433--444},
  year={2019},
  organization={IEEE Press}
}

@article{gote2021analysing,
  title={Analysing time-stamped co-editing networks in software development teams using git2net},
  author={Gote, Christoph and Scholtes, Ingo and Schweitzer, Frank},
  journal={Empirical Software Engineering},
  volume={26},
  number={4},
  pages={1--41},
  year={2021},
  publisher={Springer}
}LicenseThis software is licensed under the GNU Affero General Public License v3 (AGPL-3.0).
Package: git2vec
Git2VecGit2Vec is a Python package for handling Git data. It provides functionality to load and process Git repositories, and supports concurrent file loading for improved performance. The package can be found onPyPI.InstallationTo install Git2Vec, run the following command:pipinstallgit2vecSetupBefore using Git2Vec, make sure to have the following dependencies installed:langchainpinecone-clienttiktokengitpythonpython-dotenvpandasYou can install them using the following command:pipinstall-rrequirements.txtUsageLoading Git RepositoriesThe main functionality of Git2Vec is provided by theloader.pymodule. Here's an example of how to use thepull_code_from_repofunction to load a Git repository:fromgit2vec.loaderimportpull_code_from_reporepo_url="https://github.com/username/repo.git"branch="main"repo_data=pull_code_from_repo(repo_url,branch)Getting Top RepositoriesYou can use theget_top_reposfunction to fetch the top repositories based on certain criteria:fromgit2vec.loaderimportget_top_reposn_repos=10last_n_days=30language="Python"sort="stars"order="desc"top_repos=get_top_repos(n_repos,last_n_days,language,sort,order)Pipeline Fetch and LoadThepipeline_fetch_and_loadfunction can be used to fetch and load repositories in a single step:fromgit2vec.loaderimportpipeline_fetch_and_loadn_repos=10last_n_days=30language="Python"sort="stars"order="desc"github_data=pipeline_fetch_and_load(n_repos,last_n_days,language,sort,order)ContributingIf you'd like to contribute to Git2Vec, feel free to fork the repository and submit a pull request. If you have any questions or issues, please open an issue on the GitHub repository.LicenseGit2Vec is released under the MIT License.
Package: git2version
A tool to create a project version number from a git repositoryGenerates a PEP 440 compliant string based on the git history of the repository.The version string is generated as follows:
{major_version}.{minor_version}.{patch_version}{a{number_of_files_changed}}{b{number_of_untracked_files}}
Where the {major_version} is set by the user
The {minor_version} is the number of merges
The {patch_version} is the number of commits
The {number_of_files_changed} is the number of files changed
The {number_of_untracked_files} is the number of untracked filesIf the repoistory is pristine, then with will not be marked as ‘alpha’ or ‘beta’
Package: git4net
git2netgit2netis an Open Source Python package that facilitates the extraction of co-editing networks
from git repositories.Download and installationgit2netis purepythoncode. It has no platform-specific dependencies and thus works on all
platforms. The only requirement is a version ofgit >= 2.0. Assuming you are usingpip, you can install latest version ofgit2netby running:> pip install git2netThis also installs the necessary dependencies.git2netdepends on thepython-Levenshteinpackage to compute Levenshtein distances for edited lines of code. On sytems running Windows, automatically compiling this C based module might fail during installation. In this case, unofficial Windows binaries can be foundhere, which might help you get started.How to use git2netTutorialsAfter installation, we suggest to check out ourtutorials, detailing how to get started usinggit2net.
We provide tutorials covering different aspects of analysing your repository withgit2net.
You can directly interact with the notebooks inBinder, or view them inNBViewervia the badges below.In addition, we provide links to the individual tutorial notebooks below:TutorialBinderGoogle ColabNBViewer1. Cloning a repository for analysis2. Mining git repositories withgit2net3. Author disambiguation withgambit4. Network analysis withpathpy5. Database-based analyses6. Computing file complexitygit2netDocumentationgit2net's documentation is available atgit2net.readthedocs.io.Usage examplesWe have published some motivating results as well as details on the mining algorithm in"git2net - Mining Time-Stamped Co-Editing Networks from Large git Repositories".In"Analysing Time-Stamped Co-Editing Networks in Software Development Teams using git2net", we usegit2netto mine more than 1.2 million commits of over 25,000 developers. We use this data to test a hypothesis on the relation between developer productivity and co-editing patterns in software teams.Finally, in"Big Data = Big Insights? Operationalising Brooks' Law in a Massive GitHub Data Set", we mine a corpus containing over 200 GitHub repositories usinggit2net. Based on the resulting data, we study the relationship between team size and productivity in OSS development teams. If you want to use this extensive data set for your own study, we made it publicly available onzenodo.org.How to cite git2net@inproceedings{gote2019git2net,
  title={git2net: {M}ining time-stamped co-editing networks from large git repositories},
  author={Gote, Christoph and Scholtes, Ingo and Schweitzer, Frank},
  booktitle={Proceedings of the 16th International Conference on Mining Software Repositories},
  pages={433--444},
  year={2019},
  organization={IEEE Press}
}

@article{gote2021analysing,
  title={Analysing time-stamped co-editing networks in software development teams using git2net},
  author={Gote, Christoph and Scholtes, Ingo and Schweitzer, Frank},
  journal={Empirical Software Engineering},
  volume={26},
  number={4},
  pages={1--41},
  year={2021},
  publisher={Springer}
}LicenseThis software is licensed under the GNU Affero General Public License v3 (AGPL-3.0).
Package: git996
git996one command to sync multiple git repositories.I always have serveral git repositories to sync between home and company everyday.It's too tiring to sync repo one by one.This tool is used to sync all the repos one command.Actually, git996 just enter every repo and executegit pullfor youInstallInstall from PyPi$pip3 install git996Uninstall from PyPi$pip3 uninstall git996
$rm ~/.git996.tomlInstall from source code$git clone https://github.com/chengyi818/git996
$cd git996
$python3 setup.py install --userThis will installgit996to~/.local/bin,so maybe you need to add~/.local/bintoPATH.Uninstall from source code$python3 setup.py install --user --record log
$cat log | xargs rm -rf
$rm ~/.git996.tomlUsage1. create config file$git996 initThis command will create config file in~/.git996.toml.2. modify config fileYou should modify config file according your situation.return_if_dirtyTruegit996 will print all path of dirty repo, then git996 will exitFalsegit996 will ignore dirty repo,just pull clean repo.3. sync all repositories$git996 syncTODOThink about local branch ahead/behind originstackoverflowLiCENSEAnti-996 License, See the LICENSE file.
Package: git-accoutrements
Git AccoutrementsAn opinionated set of git python scripts and that have been developed over time to improve primarily
Github flow based workflows.Toolsgit masterChecks out the latest copy of the (master|main|trunk) branch of the project and ensures the local
branch is up to date.git (feature|chore|bugfix)Creates a (feature|chore|bugfix) branch at the current version of the (master|main|trunk) branch.
Useful in a Github flow based workflowgit tidyAttempts to find merged branches / pruned branches in your local repo and will prompt the user to
delete them. Quite useful when working on projects that user Github Flow.git dittoA simple replacement for the git clone command, however it will scan up through the filesystem looking
a file called.git-ditto.toml. This file can be used to store configuration updates that should be
applied after the clone.This is particularly useful if you want to associate a different git profile (user, email, signingkey)
for a particular folder. i.e.~/Code/Work/.git-ditto.toml    # the clones in this folder will have use work profileAnd~/Code/Home/.git-ditto.toml    # the clones in this folder will have use home profileExample.git-ditto.toml[user]name="<insert name here>"email="<insert email here>"signingkey="<insert signing key>"git delDeletes both local and remove copies of a branchgit relCreates a new signed or annotated tag and pushes it up to the upstream repo.
Package: git-add-co-author
Git Add Co-AuthorDemoOverviewGit Add Co-Author is a simple Python script that allows you to easily add co-authors to your Git commits, ensuring proper credit is given to all contributors involved in the development process. This can be particularly useful for open-source projects, where multiple contributors are working together, or for pair programming sessions where two developers contribute to the same commit.InstallationInstall the package using pip:pipinstallgit-add-co-authorObtain a personal access token from GitHub. You can generate one by following the instructions in theGitHub documentation.Configure the script with your GitHub token:python-mgit_add_co_author--token<your_token>UsageTo add a co-author to your commit, simply run the script with the co-author's GitHub username:python-mgit_add_co_author--username<co_author_username>For example:python-mgit_add_co_authorsansyroxIf you do not want to authorize a token, you can add the co-author's name and email address directly:python-mgit_add_co_author--name"John Doe"--email"john.doe@example.com"Optional ConfigurationI alias this command asalias gac="python -m git_add_co_author --username"in my.zshrcfile, so I can simply rungac <co_author_username>to add a co-author to my commit.RationaleThe motivation behind creating this script is to provide an easy way to give credit to contributors in various situations:In open-source projects, when a pull request (PR) is closed without merging but the idea or code is later implemented.During pair programming sessions, where two or more developers work together on a single commit.Existing solutions were either too complicated or didn't work as expected, so Git Add Co-Author was developed as a simple, easy-to-use alternative.LicenseThis project is licensed under the MIT License.
Package: git-additions
Usage$gitdurationDHH:MM:SS016:1:54TotalWorkHours(estimated):16.031667ProjectDuration:3941:20:5$gitlogs-hUsage:git-logs[options]Options:-h,--helpshowthishelpmessageandexit-oFILE,--out-file=FILEwritereporttoFILE-aAUTHOR,--author=AUTHORfilterbyauthorname-eEMAIL,--email=EMAILfilterbyauthoremail$gitstats-hUsage:git-stats[options]Options:-h,--helpshowthishelpmessageandexit-m,--messageShowCommitMessage-s,--shortShowShortStat$gitusersNameEmailCommits__________________________________indrajiteendroroy@gmail.com54Authorindrajit-Owner-eendroroyContributingBug additions and pull requests are welcome on GitHub atgit-additionsrepository.
This project is intended to be a safe, welcoming space for collaboration,
and contributors are expected to adhere to theContributor Covenantcode of conduct.Fork it (https://github.com/eendroroy/git-additions/fork)Create your feature branch (git checkout-bmy-new-feature)Commit your changes (git commit-am'Add some feature')Push to the branch (git push originmy-new-feature)Create a new Pull RequestLicenseThe project is available as open source under the terms of theMIT License.
Package: gitaddnb
gitaddnbIf you want to add a Jupyter Notebook to the git stage ensuring that:all code cells have consecutive execution orderall code cell outputs are cleanall code cell execution orders are cleanall cell outputs on disk remain untouchedthen this package is for you.Pre-CommitYou can use this package as apre-commithook:repos:-repo:https://github.com/pcjedi/gitaddnbrev:v0.1.0hooks:-id:gitaddnbOn the first Commit Attempt, this hook will fail due to changing the content of the staged Notebooks. The second try should then go through.CLIInstallationInstall this package using pipx or pip. It comes without any dependencies.pipxinstallgitaddnbUsageAfter installation, add notebooks like this:gitaddnbnotebook1.ipynbnotebook2.ipynbThe notebooks will now be in the git stage, cleaned. The files in the working directory will still have your output.
Package: git-alias
git-alias: manage your Git aliasesgit-aliasis a tool for managing your git aliases.InstallTo install a released version ofgit-alias:pip install git-aliasOr to install straight from GitHub:pip install git+https://github.com/larsks/git-aliasgit-aliasrequires Python 3.7 or later.Managing aliasesListing aliases$ git alias list
conflicts
fix
please
pr
trackingInstalling from a local file$ git alias -v install examples/pr.alias
INFO:git_alias.main:installing alias pr from examples/pr.aliasInstalling from a git repository$ git alias -v add -R https://github.com/larsks/git-alias examples/pr.alias
INFO:git_alias.main:cloning https://github.com/larsks/git-alias
INFO:git_alias.main:installing alias pr from /tmp/aliasmylwfb93/examples/pr.aliasShow alias expansion$ git alias show pr
!if [ $# -eq 1 ]; then set -- origin $1; elif [ $# -ne 2 ]; then echo
'Usage: git pr [<remote>] <pr>'; exit 2; fi; git fetch "${1}"
"+pull/${2}/head:pull/${1}/${2}"; git log -1 "pull/${1}/${2}" #Alias file formatBlank lines and lines beginning with#are discarded. The remaining content will be joined on spaces.  For example, this file:# Create a local branch from a pull request
#
# usage: git pr [<remote>] <pr>
#
# Get a pull request from origin:
#
#   git pr 42
#   git pr origin 42
#
# Either of the above would create local branch pull/origin/42.
#
# Get a pull request from another remote:
#
#   git pr upstream 42

!if [ $# -eq 1 ]; then
  set -- origin $1;
elif [ $# -ne 2 ]; then
  echo 'Usage: git pr [<remote>] <pr>';
  exit 2;
fi;
git fetch "${1}" "+pull/${2}/head:pull/${1}/${2}"; git log -1 "pull/${1}/${2}" #Results in the following entry in your git configuration file:pr = "!if [ $# -eq 1 ]; then set -- origin $1; elif [ $# -ne 2 ]; then echo 'Usage: git pr [<remote>] <pr>'; exit 2; fi; git fetch \"${1}\" \"+pull/${2}/head:pull/${1}/${2}\"; git log -1 \"pull/${1}/${2}\" # "
Package: gitam
GITAMGITAMis a simple, yet elegant, library.Works only with theResults Pagefor now. New version coming soon!Installing$pipinstallgitamDocumentation>>>fromgitamimportresult>>>student=result(roll_id=221810309053,semester=6)>>>student.name'Rohit G'>>>student.branch'Computer Science and Engineering'>>>student.cgpa8.68GLearn,GParent,Moodleetc. will be added soon.
Package: git-annex-gui
A small systray app for git annex assistant. The documentation below assumes a
centralized setup with a self-hosted server as described here:https://git-annex.branchable.com/tips/centralized_git_repository_tutorial/on_your_own_server/InstallationInstall from pypi:$ pip install --user git-annex-guiInstall from gitlab:$ git clone
$ mkvirtualenv git-annex-gui
$ pip install -e .Setup and configurationSsh configurationCreate ssh keys. Use default file path or type in. Type in pass phrase:$ ssh-keygenAdd key tossh-agent. If not default file path used, type in path:$ ssh-addCopy public key to remote git annex server:$ ssh-copy-id user@gitannex.domain.orgConnect to central repoConnecting to a central repo is more or less equivalent to whats described under
the “make a checkout” section here:https://git-annex.branchable.com/tips/centralized_git_repository_tutorial/on_your_own_server/The relevant instructions:$ git clone ssh://user@gitannex.domain.org/~/annex
$ cd annex
$ git annex initgit-annex-guialso assumes there is a~/.config/git-annex/autostartfile
listing the repos to be handled by git-annex assistant. For instance, containing
something like:/home/<user>/annexWith this in place, git-annex-gui can be started:$ git-annex-guiAn icon should appear in the systray. Right the icon, choose start and the
assistants’ web page should appear in its own window, where eventually
information about sync activities should be shown.One could possibly also get the appropriate sync setup by running the git-annex
assistant and completing the setup wizard there.ROADMAPv0.4 - basic features[ ] Implement open annex dir in file explorer. Usexdg-open?
- What about BeOS style file navigation in the systray sub-menu?[ ] Implement start of app when desktop starts.[ ] Implement starting of annex daemon when app starts.v0.5 - desktop integration[ ] Forward notifications to desktop notification system?v0.6 - in-app documentation/assistant[ ] add in-app documentation to aid in[ ] starting the assistant wizard[ ] setting remote central repo[ ] see what else of existing documentatio can be used in-appDevelopmentTo setup for development, run:$ pip install -e .[dev]Otherwise, this project usesykelfor release handling etc:https://pypi.org/project/sykel/ResourcesREST interfaceCheck the routes file in the git-annex repo (under assistant/webapp) to get an
understanding about the REST interface.Miscrecovery from corrupt repo:http://git-annex.branchable.com/tips/recovering_from_a_corrupt_git_repository/how to setup central repo setup
Package: git-annex-metadata-edit
📝 git-annex-metadata-editEditgit-annexmetadatawith your$EDITOR.📥 Installation# From Gitlabpipinstallgit+https://gitlab.com/nobodyinperson/git-annex-metadata-edit✨ FeaturesFrontend togit annex metadata --set/--remove(recursively) overwrite a field with a valueadd and remove single-line values in one go for multiple files (also recursively)❓ Usage# 📟 From the Temrminalgit-annex-metadata-editFIELDNAME...FILES...# orgitannex-metadata-editFIELDNAME...FILES...# orgitannexmetadata-editFIELDNAME...FILES...# orpython-mgit_annex_metadata_editFIELDNAME...FILES...# 🤨 dry-run (check what it would do if you don't trust it)git-annex-metadata-edit--dry-runFIELDNAME...FILES...# ❓ Helpgit-annex-metadata-edit-hgit-annex-metadata-editfirst tries your$VISUAL, then$EDITOR, then a list of common editors.📟 Screencast 📹
Package: git-annex-metadata-gui
A graphical interface to the metadata functionality ofgit-annex.RequirementsPython 3git-annex-adapterPyQt5Usageusage: git-annex-metadata-gui [option ...] [repo-path]

A graphical interface for git-annex metadata.

positional arguments:
  repo-path      path of the git-annex repository

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  print version information and exit
  --debug        print debug-level log messages
  --full-load    don't load models incrementially

Also see the manual entry for qt5options(7)ScreenshotsSeethe wiki pagefor more screenshots.
Package: git-annex-remote-dbx
A git-annex special remote for DropboxInstallationpipinstallgit-annex-remote-dbxConfigurationTo create a special remote using Dropbox as a backend, you can type
the following command (warning: this is an example, no encryption is
used which is bad):gitannexinitremotemyremotetype=externalexternaltype=dbxencryption=noneprefix=git-annexupload_chunk_size=10MiBTo access your Dropbox, this special remote needs an access
token. When creating the special remote, a browser tab will be opened
for you to connect to your Dropbox and to grant access to this
application.This special remote accepts several parameters:prefix: this is the directory where all your files will be stored
(default: git-annex)upload_chunk_size: to limit his memory usage, this special remote
does not load all the file in memory before uploading it but instead
splits the file in chunk and sends these chunks in turn to
Dropbox. This parameter lets you specify the size to be
used. Increasing this value will improve the upload speed at the
expense of the memory usage and the progress report frequency
(default: 1 MiB)NotesThis special remote passes all the tests ofgit annex
testremotesuccessfully.
Package: git-archive-all
Archive a repository with all its submodules.git-archive-all [-v] [-C BASE_REPO] [--prefix PREFIX] [--no-export-ignore] [--force-submodules] [--include EXTRA1 ...] [--dry-run] [-0 | ... | -9] OUTPUT_FILE

Options:

  --version             show program's version number and exit

  -h, --help            show this help message and exit

  -v, --verbose         enable verbose mode

  --prefix=PREFIX       prepend PREFIX to each filename in the archive;
                        defaults to OUTPUT_FILE name

  -C BASE_REPO          use BASE_REPO as the main git repository to archive;
                        defaults to the current directory when empty

  --no-export-ignore    ignore the [-]export-ignore attribute in .gitattributes

  --force-submodules    force `git submodule init && git submodule update` at
                        each level before iterating submodules

  --include=EXTRA       additional files to include in the archive

  --dry-run             show files to be archived without actually creating the archiveQuestions & AnswersQ: How to exclude files?A: Mark paths you want to exclude in the .gitattributes file with the export-ignore attribute. Read more ongit-scm.com.Q: What about non-unicode filenames?A: All filenames that particular version of Python can represent and handle are supported. Extra [en|de]coding is done where appropriate.SupportIf functional you need is missing but you’re ready to pay for it, feel free tocontact me. If not, create an issue anyway, I’ll take a look as soon as I can.