Saravanan666/pypi-org huggingface dataset:
Package: gitleaks-py
Gitleaks configuration utilitiesGitleaksis a SAST tool for detecting and preventing hardcoded secrets like passwords, api keys, and tokens in git repos.gitleaks-pyprovides a python library and CLI to manage Gitleaks rule configurations:Compare configurations using sort and diffVerify rules against fixture files containing secretsMerge rules from multiple files into a single fileSortSort Gitleaks config file by case-insensitive rule ID.python-mgitleaks_py.clisort[OPTIONS]CONFIG_FILECONFIG_FILEFile or URL to sort-d,--dstOutput destination file. Writes tostd-outif omittedDiffDiff two config files.python-mgitleaks_py.clidiff[OPTIONS]CONFIG_FILE[DEFAULT_CONFIG_FILE]CONFIG_FILEFile or URL to diffDEFAULT_CONFIG_FILEFile or URL to diff against.
Defaults togitleaks default config file-d,--dstOutput destination file. Writes tostd-outif omitted-o,--omissionsDisplay omissions (rules from default config, not found in config)-a,--additionsDisplay additions (rule from config, not found in default config)VerifyVerify config file against secrets held in sample files.python-mgitleaks_py.cliverify[OPTIONS]CONFIG_FILECONFIG_FILEFile or URL to verify-d,--dstOutput destination file. Writes tostd-outif omitted-s,--secretsFolder with secrets to test rules. Defaults to./secretsFiles should be inYAMLnamed as the rule id.
e.g.uk-gov-notify.ymlThe yaml should be structured as key-value pairs under two groupings,secretsandallowed.
The key is an identifier for failures, and the value contains the secret or allowed value to be tested.
e.g.secrets:api-key:"gitleakstest-af3bb117-d149-4b23-ab1d-8d19ab184094-68a09f80-1f89-4d98-bd9e-ec431e970940"api-key-upper:"GITLEAKSTEST-AF3BB117-D149-4B23-AB1D-8D19AB184094-68A09F80-1F89-4D98-BD9E-EC431E970940"api-key-no-delim:"gitleakstest-af3bb117d1494b23ab1d8d19ab18409468a09f801f894d98bd9eec431e970940"allowed:test-api-key:"gitleakstest-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"When allowing patterns for test data, choose something that is obviously not a real secret, such as all letter 'a'.
The chances of this being generated in production should be low.MergeMerge multiple config files into onepython-mgitleaks_py.climerge[OPTIONS][CONFIG_FILES]...CONFIG_FILESA space separated list of files to merge. Glob patterns may be used. e.g.toml/*.toml-t,--titleOutput config title. Joins titles from files if omitted-d,--dstOutput destination file. Writes tostd-outif omitted
Package: gitleaves
gitleavesGit Based Leaves management systemProject status: Still in early stage but we use it in productionFeaturesPull requests based leaves management. Most natural for software development teamGithub friendly workflowGenerates github wiki friendly markdown reports. Markdown can be used by different static site generators tooSpecificationsFile namesleaves.<YYYY>.csvextras.<YYYY>.csvFormatLeavesMMDD [- MMDD], Name, Reason / Details [Optional]Extra daysMMDD [- MMDD], Name, Reason / Details [Optional]Example1115 - 1126, Tony Stark, Hawaii
1129 - 1210, Peter Parker,
1129 - 1202, Bruce Wayne,
1220 - 1224, Loki Laufeyson, Smell the flowersUsageOrganization setupCreate a git repo for your organization's leaves datamkdirleavesdatacdleavesdata
gitinit
mkdirdatafname=data/leaves.`date+%Y`.csv# example dataecho`1129-1202,BruceWayne,`>>$fnameecho`1220-1224,LokiLaufeyson,Smelltheflowers`>>$fnamegitcommit-a
gitpushoriginmainInstall gitleavespipinstallgitleavesGenerate reportsgitleavesgenreports
lsreports/Automate report generation
 Document github actions based report generationProcessApply for leave(s) by adding records to leaves.YYYY.csvRaise a PRLeave is approved if the PR is mergedDev GuidelinesHuman Readable data files (as much possible)TODOCreditsThis package was created with Cookiecutter_ and theaudreyr/cookiecutter-pypackageproject template.Cookiecutter:https://github.com/audreyr/cookiecutteraudreyr/cookiecutter-pypackage`:https://github.com/audreyr/cookiecutter-pypackage
Package: gitless
Gitless is an experimental version control system built on top of Git.
Many people complain that Git is hard to use. We think the problem lies
deeper than the user interface, in the concepts underlying Git. Gitless
is an experiment to see what happens if you put a simple veneer on an
app that changes the underlying concepts. Because Gitless is implemented
on top of Git (could be considered what Git pros call a “porcelain” of
Git), you can always fall back on Git. And of course your coworkers you
share a repo with need never know that you’re not a Git aficionado.More info, downloads and documentation @Gitless’s
website.
Package: git-lfs
A lightweight Git Large File Storage fetcher written in python.This module cannot fully replace the official git-lfs client, it only knows how
to download the files, cache them (the same way the official client does), and
place them in a checkout directory. Uploading files is not implemented at all.Installationpip install git-lfspython-git-lfs is compatible with python 2 and 3.UsageBasic: simply runpython-mgit_lfsin a normal Git repository.Advanced:python -m git_lfs [-h] [-v] [git_repo] [checkout_dir]

positional arguments:
git_repo       if it's bare you need to provide a checkout_dir
checkout_dir

optional arguments:
  -h, --help     show this help message and exit
  -v, --verboseLicenseCC0 Public Domain Dedication
Package: git-lfs-http-mirror
git-lfs-http-mirrorPython wrapper for git that allows it to read a GET-only HTTP mirror of repositories that use Large File Storage (LFS). It effectively extends git's so-calleddumb git protocolwith the capability to serve LFS files.This means you can use S3 to host mirrors of LFS repositories, without additional infrastructure. However, no authentication mechanism is currently supported. From the point of view of the calling code, it must be a publically readable bucket.It works by temporarily firing up an LFS server during the lifetime of the git command.Installationpipinstallgit-lfs-http-mirrorUsageConfiguration is by command line argumentspython-mgit_lfs_http_mirror--upstream-root'https://my-bucket.s3.eu-west-2.amazonaws.com/a-folder'--bind'127.0.0.1:8080'--gitclonehttp://127.0.0.1:8080/my-repoYou can make this slightly less verbose my making a wrapper bash script. If the below is in an executable fileglfsmin your PATH#!/usr/bin/env bashexecpython-mgit_lfs_http_mirror\--upstream-root'https://my-bucket.s3.eu-west-2.amazonaws.com/a-folder'\--bind'127.0.0.1:8080'\$@then you can callglfsm--gitclonehttp://127.0.0.1:8080/my-repoThe server configued asupstream_rootshould be a static server, serving copies of git repositories, for example S3. Each copy can be created using:gitclone--barehttps://server.test/my-repocdmy-repo.git
gitlfsfetch
gitupdate-server-infoand then uploaded to the server in its own folder. If the server is S3, this can be done using the Upload folder feature in the AWS S3 Console.
Package: gitli
gitli is a simple git extension to manage issues in single-developer projects.The issues are stored in the current branch of the git repository. gitli isnota distributed issue tracker so merges need to be done by hand for now.To use gitli, simply typegit li init, thengit li new 'issue title',
andgit li list.Go to thegitli homepageto read the
documentation.The script does not attempt to prevent goofs and error messages can make
children cry.
Package: git-like
git-likeGive your coworkers the appreciation they deserve without enduring the complex dynamics of social interaction.When browsing the code base of coworkers or open-source projects I often find myself appreciating the work of my fellow coders.
Be it because they found a smart solution for a problem or just because they kept to a certain style guide we committed on.
However, communication can be a tedious task which distracts the sender as well as the receiver, so the appreciation usually does not cross the borders of my brain.Git-like is a small CLI which aims to make everyday life of us programmers a bit more collaborative, fun and finally - rewarding.The concept is quite simple. Whenever you find a nice piece of code, you like it by typing something like$git-likelikeFILEFROM_LINETO_LINEand the author contributing most to the block of code you select receives a like in shape of a notification.
In between all the frustrations which come with coding, this will give him a small positive incentive to continue his good work.
A digitial clap on the shoulder.By using information from your git configuration, git-likes setup is minimal.SetupYou are 4 steps apart from liking and receiving likes:1) Installation$ pip install git-like2) Claiming your email addressTo prevent other people from using your email, you need to claim it.
Therefore, we will email you an access code.$git-likeclaimYOUR-EMAIL
$git-likeclaimYOUR-EMAIL--codeACCESS_CODE3) Starting the daemongit-like comes with a lightweight background process checking for new likes. You can start and stop it by using the cli.$git-likestart
$git-likestopGit-like uses the email in your commits and in your ~/.gitconfig file to identify you. Be sure to configure your config correctly to receive likes.Commandsgit-like claim YOUR-EMAIL- Request an access token for your emailYOUR_EMAIL - The email address you have configured in your .gitconfig.git-like claim YOUR-EMAIL --code CODE- Enter your access token to claim your email addressYOUR_EMAIL - The email address you have configured in your .gitconfig.CODE - The code we sent you in an emailgit-like like FILE LINE_TO LINE_FROM- Like a set of lines in a given fileFILE - The (local) file containing the code snippet you want to like. The file must be part of a git projectLINE_FROM - A number indicating the start of the code snippet you want to likeLINE_TO - A number indicating the end of the code snippet you want to likegit-like start- Start the git-like daemon to be able to receive likesgit-like stop- Stop the git-like daemon to stop receiving likesPrivacyWe only collect metadata. So your code is safe.
Git-like collects following information when you like a piece of code:your emailauthors emailline numbergit project urlIntegrationsA Jetbrains Intellij plugin is WIP.
Package: git-like-chillkroeteTTS
git-likeGive your coworkers the appreciation they deserve without enduring the complex dynamics of social interaction.When browsing the code base of coworkers or open-source projects I often find myself appreciating the work of my fellow coders.
Be it because they found a smart solution for a problem or just because they kept to a certain style guide we committed on.
However, with communication being can be a tedious task which distracts the sender as well as the receiver, this appreciation stays usually in my head.Git-like is a small CLI which aims to make everyday life of us programmers a bit more collaborative, fun and finally - rewarding.The concept is quite simple. Whenever you find a nice piece of code, you like it by typing something like$git-likelikeFILEFROM_LINETO_LINEand the author contributing most to the block of code you select receives a like in shape of a notification.
In between all the frustrations which come with coding, this will give him a small positive incentive to continue his good work.
A digitial clap on the shoulder.By using information from your git configuration, git-likes setup is minimal.SetupYou are 4 steps apart from liking and receiving likes:1) Installation$ pip install git-like2) Claiming your email addressTo prevent other people from using your email, you need to claim it.
Therefore, we will email you an access code.$git-likeclaimYOUR-EMAIL
$git-likeclaimYOUR-EMAIL--codeACCESS_CODE3) Starting the daemongit-like comes with a lightweight background process checking for new likes. You can start and stop it by using the cli.$git-likestart
$git-likestopIntegrationsA Jetbrains Intellij plugin is WIP.
Package: gitlike-commands
gitlike-commandsBackgroundgitlike-commandsis a python module for easily creatinggit-style subcommand handling.Refactored out ofthelogrusso you don't have to import any modules that aren't part of the Python standard library.Usagesubcommand_driverautomatically figures out what name the script was called as, then looks for subcommands and runs them if found, passing in any command line options.So if you have afooscript in your$PATHas shown below#!/usr/bin/env python3fromgitlike_commandsimportsubcommand_driverif__name__=='__main__':subcommand_driver()Runningfoo bar bazwill look for afoo-bar-bazscript, and if present in your$PATH, run it. If there is nofoo-bar-baz, it will look forfoo-bar, and if it finds that, runfoo-bar baz.If you're using poetry in your python project, you can add a gitlike driver as a scripts entry:[tool.poetry.scripts]gitalike-demo="gitlike_commands:subcommand_driver"The subcommands can be written in any language, the only requirements are that they are marked executable and follow thefoo-somethingnaming convention.
Package: git-lines-graph
Git Commit Lines GraphA small python script to visualize the number of lines in a project, as a function of time.Install:python3 -m pip install git-lines-graphUsage:git-lines-graph [-b BRANCH] GIT-DIRCall with a git project directory. You can also specify a branch to scan; other wise the branch currently checked in is used.Dependencies:clickfor argument parsing.GitPythonto interact withgit.matplotlibfor plotting.pandasfor data manipulation.How Does It WorkThe code goes over all commits messages and looks for the number of lines added/removed and keeps an updated count.Caveat: the lines reported in git commit messages are only a proxy for the true number of lines of code. It could be way off in projects in which there are data artifacts such as big data files. One solution is to loop over all commits, checkout the commit and do awcover all files that are considered to be code files. But that's slower and could be dangerous in dirty projects.
Package: gitlink
Git-linkis a git sub-command for getting a repo-browser link to a
git object. The motivation behindgit-linkis that it is often
faster to navigate to a git object or path on the command line than it
is to click your way to it through a web interface. An example usinggit-link’s github sources:$gitconfig--addlink.urlhttps://github.com/gvalkov/git-link$gitconfig--addlink.browsergithub$gitlinkHEAD~10https://github.com/gvalkov/git-link/commit/d0bca29bd7$gitlinkv0.2.0https://github.com/gvalkov/git-link/tree/v0.2.0$gitlinkv0.2.0--setup.pyhttps://github.com/gvalkov/git-link/tree/af4ad8c89b/setup.pyGit-linkcan be used with :cgit,gitweb,github,github-privateInstallInstall from PyPi:$pipinstallgitlinkOr simply put git-link in your$PATHand make it executable:https://raw.githubusercontent.com/gvalkov/git-link/master/git-linkUsageUsage: git link [options] <commit|tree|blob|path|branch|tag|diff>

Options:
  -h, --help            show this help message and exit
  -v, --version         show version and exit
  -c, --clipboard       copy link to clipboard (overwrites link.clipboard)
  -u, --url <url>       repo browser url (overwrites link.url)
  -b, --browser <type>  repo browser type (overwrites link.browser)
  -s, --short <num>     truncate hashes to length (overwrites link.short)
  -r, --raw             show raw blob if possible

Repo browsers:
  github-private cgit gitweb github

Configuration:
  git config --add link.url <repo browser base url>
  git config --add link.browser <repo browser>
  git config --add link.clipboard false|true

Examples:
  git link HEAD~10         url of 10th commit before HEAD
  git link v0.1.0^{tree}   url of tree object at tag v0.1.0
  git link master:file     url of file in branch master
  git link path/file       url of path/file in current branch
  git link devel -- path   url of path in branch devel
  git link v0.1.0          url of tag v0.1.0SetupGit-linkneeds to know the name and url of the repository browser
for the repository it is being run in. This can be set throughgit-configor on the command line on each run:$gitconfig--addlink.url<repobrowserurl>$gitconfig--addlink.browser<repobrowsername>$gitconfig--addlink.clipboardfalse|true# optional$gitconfig--addlink.short7# optional$gitlink--browser<url>--name<name>--clipboard...DevelopmentSeerepobrowsers.pyandtest_cgit.pyif you are interested in adding
a new repository browser. Release checklist:Runpy.test.Bump version ingitlink/__init__.py.Update man page -makeman/git-link.1.Create standalone script -makegit-link.Please make do without bringing in any external dependencies. As nice
asGitPythonandlibgit2are, anything that this tool needs from git
can be queried using its command line interface.LcenseGit-linkis released under the terms of theRevised BSD License.LinksDevelopment:https://github.com/gvalkov/git-linkPackage:http://pypi.python.org/pypi/gitlink
Package: gitlinks
gitlinks- Git Powered Go-LinksHosted "Go-Links" via Git andGitHub Pagespip install gitlinksJump to setup| By@logan_engstromQuick Overviewgitlinksis a command line tool that maps custom shortlinks to URLs viaGitandGitHub Pages.
The following table shows example mappings for userlengstrom's gitlinks repositorygoto:KeyURLGitHub Pages Shortlinkzoomhttps://mit.zoom.us/j/95091088705http://loganengstrom.com/goto/zoomclasses/NLPhttps://canvas.mit.edu/courses/7503http://loganengstrom.com/goto/classes/nlpHere, anyone can access thezoomlink (https://mit.zoom.us/j/95091088705) athttp://loganengstrom.com/goto/zoom(since the GitHub pages sitelengstrom.github.iomaps tologanengstrom.com).
    We can also organize keys through nesting, such as withclasses/NLP.gitlinksworks bystoring state on GitHubandrendering structured redirects on GitHub pages. Add, remove, and visualize link mappings through the command line!$ gitlinks set zoom https://mit.zoom.us/j/95091088705
  => Success: Set key "zoom" → "https://mit.zoom.us/j/95091088705".$ gitlinks delete zoom
  => Success: Deleted key "zoom".$ gitlinks show
=> Checking for changes from remote...
== GitLinks (Remote: git@github.com:lengstrom/goto.git) ==
calendly                 →   https://calendly.com/loganengstrom
classes/18.102           →   http://math.mit.edu/~rbm/18-102-S17/
classes/6.005            →   http://web.mit.edu/6.031/www/fa18/general/
ffcv_slack               →   https://ffcv-workspace.slack.com/join/shared_invite/zt-11olgvyfl-dfFerPxlm6WtmlgdMuw_2A#/shared-invite/email
papers/bugsnotfeatures   →   https://arxiv.org/abs/1905.02175
zombocom                 →   https://www.zombo.com
zoom                     →   https://mit.zoom.us/j/95091088705gitlinksalso generates an index page: see 
    http://loganengstrom.com/goto/ as an example. The big caveat of `gitlinks` is thatall of your links are public to anyone on the web, so be careful with what you link!SetupConfiguregitlinksin two steps!First: Cook up a new GitHub RepositoryFirst, visit https://github.com/new and choose a short, memorable name likegofor your gitlinks repository.Now, check the box "Add a README file" (the repository can't be empty).Make the repository, then go your repository's GitHub pages settings:https://github.com/yourusername/repository_name/settings/pages) andenable GitHub pagesfor themainbranch:InitializegitlinkslocallyInstall thegitlinksexecutable viapip:pip install gitlinks. Then, 
    initializegitlinksto use your repository:gitlinks init remote_url.
    Yourremote_urlcan be found here:After this step, you should be able to make go-links to your heart's content.LicenseGPL v3
Package: gitlint
gitlint:jorisroovers.github.io/gitlintGit commit message linter written in python, checks your commit messages for style.Seejorisroovers.github.io/gitlintfor full documentation.ContributingAll contributions are welcome and very much appreciated!I'mlooking for contributorsthat are interested in taking a more active co-maintainer role as it's becoming increasingly difficult for me to find time to maintain gitlint. Please leave a comment in#134if you're interested!Seejorisroovers.github.io/gitlint/contributingfor details on
how to get started - it's easy!We maintain aloose project plan on Github Projects.
Package: gitlint-core
Gitlint-coregitlint:jorisroovers.github.io/gitlintGit commit message linter written in python, checks your commit messages for style.Seejorisroovers.github.io/gitlintfor full documentation.ContributingAll contributions are welcome and very much appreciated!I'mlooking for contributorsthat are interested in taking a more active co-maintainer role as it's becoming increasingly difficult for me to find time to maintain gitlint. Please leave a comment in#134if you're interested!Seejorisroovers.github.io/gitlint/contributingfor details on
how to get started - it's easy!We maintain aloose project plan on Github Projects.
Package: gitlist
GitListDisplays the state of your local git reposIf you've ever wanted a quick and easy overview of your git repos from the
command line -GitList- is for you.Installingpip install gitlistUsagegitlist [DIRECTORY_TO_SEARCH]If you omit the optional DIRECTORY_TO_SEARCHgitlistwill report on the tree
starting at the current directory. Runninggitlistwill show relative paths to
each git repository in green. If there are uncommitted changes or unpushed local
changes that are committed, then relevant messages will be displayed in yellow.TestingRun the following commands:git clone --recurse-submodules git@github.com:craigiansmith/gitlist.git
    pipenv install --dev
    pipenv shell
    python -m pytest
Package: git-llm
git-llmThe project integrates Git with a llm (OpenAI, LlamaCpp, and GPT-4-All) to extend the capabilities of git. It supports
offline processing usingGPT4Allwithout sharing your code with third parties, or
you can use OpenAI if privacy is not a concern for you. It is only recommended for educational purposes and not for
production use.InstallationTo installgit-llm, you need to have Python 3.9 and an OpenAI API
keyapi-keys. Additionally, if you want to use the GPT4All model, you
need to download theggml-gpt4all-j-v1.3-groovy.binmodel.
If you prefer a different model, you can download it fromGPT4Alland configure path to it in the
configuration and specify its path in the configuration. If you want some files to be ignored, add them to .gitignore.To installgit-llm, run the following command in your terminal:pipinstallgit-llmUsageTo usegit-llm, you need to configure it first. To do this, run the following command:git-llmconfigchangelog- generates a list of changes from outputgit diff --stagedgit-llmchangelogThis command reviews the changes staged for commit usinggit diff --stagedand writes a commit message following the
Conventional format.git-llmcommitYou can also edit the configuration manually by editing the~/.git_llm_config.yamlfile. If for some reason you cannot
find the configuration file, just run the tool and at the very beginning it will output the path to the configuration
file.# The OpenAI API key. You can get it from https://beta.openai.com/account/api-keysapi_key:sk-xxx# maximum size of a chunk of text to be sent to the modelchunk_size:500# the maximum tokensmax_tokens:1048# model name for the OpenAI APImodel_name:gpt-3.5-turbo# model path for the local modelmodel_path:models/ggml-gpt4all-j-v1.3-groovy.bin# model type: openai or localmodel_type:openaiFeaturesMore commands will be added in the future.ContributingContributions are always welcome!