Saravanan666/pypi-org huggingface dataset:
Package: github-cards
GitHub CardsConvert your GitHub issues into printable cards for your physical Scrum board.Free software: MIT licenseDocumentation:https://github-cards.readthedocs.io.FeaturesThis tool creates a printable HTML-file containing the issues of a GitHub repository.
You can print the file, cut the cards and attach them to your physical Scrum/Kanban board.To use it, run# github_cards REPOSITORY_OWNER REPOSITORY_NAME>>github_cardspalletsclickThere are some options available, e.g. to access private repositories or only select a certain milestone.>> github_cards --help

Usage: github_cards [OPTIONS] OWNER REPOSITORY

  Console script for github_cards.

Options:
  -u, --username TEXT            Username to perform authenticated requests
                                 with. If provided, the script will request
                                 the password.
  -p, --password TEXT            Password for the username provided. If the
                                 username is set but the password is not
                                 provided, script will request it.
  -m, --milestone-title TEXT     Limit selected issues to a milestone by the
                                 milestone's title. It will search the
                                 repository for that milestone and error if
                                 it's not available.
  -m#, --milestone-number TEXT   Limit selected issue to a milestone by the
                                 milestone's number (similarly to issue
                                 numbers). Will be overwritten by the
                                 milestone title if set.
  -s, --state [all|open|closed]  Limit to all, open or closed issues. Defaults
                                 to open
  -pr, --per-row INTEGER         Number of cards per row
  -pc, --per-column INTEGER      Number of cards per column
  -o, --output PATH              HTML filename to output to. Defaults to a
                                 value containing the repository title and the
                                 current time.
  --help                         Show this message and exit.                     Show this message and exit.ToDoUnspaghettifyError handlingAdd some testsAdd documentationCaching of already covered cardsUser provided templatesAuthenticationList milestonesCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-11-25)First release on PyPI.
Package: github-changelog
github-changelogThis is a small utility that generates a changelog between two git tags based on GitHub pull request titles as either plaintext or markdown.An example might look like:Improve test coverage for mygreatpackage.subpackage#1234Add support for Python 3#1233Installingpip install github-changelogUsingchangelog [-h] [-m] OWNER REPO [PREVIOUS] [CURRENT]Thechangelogcommand takes a GitHub repository owner (user or organization), repository name and zero, one, or two tags to limit the set of changes to consider. If no tags are provided, the changelog will be computed between the latest tag andHEAD. One tag may be provided to set the base tag to compare againstHEAD. Two tags may be provided to specify both base tag and ending tag. The generated changelog will list all GitHub pull requests that have been merged between the specified or inferred tags. If-mis specified the output will be formatted in markdown and include links to the pull requests.Pull request merges are identified by their commit message, usually taking the form ofMerge pull request #123…. Squash-and-merged pull requests are identified by having the PR number in parentheses at the end of first line of the commit message.Exampleschangelog cfpb github-changelogWill generate a text changelog between the latest tag andHEAD.changelog cfpb github-changelog 1.0.0Will generate a text changelog between1.0.0andHEAD.changelog -m cfpb github-changelog 1.0.0 1.0.1Will generate a markdown changelog between1.0.0and1.0.1.Overriding the Default BranchThe default branch is set tomain. To override this, use the optional--branchargument to specify a different branch. For example:changelogownersome-repo\--branch"production"GitHub Enterprise SupportUse the optional--github-base-url,--github-api-url, and--github-tokenarguments to connect to a GitHub Enterprise instance. For example:changelogownersome-repo\--github-base-url"https://github.company.com"\--github-api-url"https://github.company.com/api/v3"\--github-tokensecret-valueGetting helpPlease add issues to theissue tracker.Getting involvedGeneral instructions onhowto contribute can be found inCONTRIBUTING.Open source licensing infoTERMSLICENSECFPB Source Code Policy
Package: githubclient
githubclientA lightweight GitHub REST API client written in Python.LICENSEMIT LicenseCopyright (c) 2016 CloudBolt SoftwarePermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: github-clone
GitHub cloneGit clone (download) any sub-directories of any GitHub repository (at any reference) without having to clone the entire repository, with only its GitHub URL.
Uses the GitHub API to recursively clone the sub-directories tree and files.MotivationI often find myself wanting to only download a certain directory, path or package of an especially big repo that I'm currently viewing (without even cloning the entire repo at depth 1) and to do so by simply copy & pasting the GitHub URL so that's why. Probably more instances where this might come in handy ;)Rate limitThe GitHub API imposes arate limitingof up to 60 requests per hour applies but can be increased to up to 5000 requests per hour using anOAuth token(to get one seehttps://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line).GitHub clone makes an initial request to fetch repo metadata and then, a request for every subfolder in the repo. The requests to download the files within the folders are not counted against the rate limit so in most cases (i.e. the folder/repo you're trying to clone has less than 60 subfolders) the rate limit should not be a problem.Private repositoriesTo clone private repositories you need to supply anOAuth tokenfor an account with access to the private repository (to get one seehttps://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line).InstallationInstall the script via thepip:pip install github-cloneor viapipsi:pipsi install github-cloneUses Python 3.3+UsageGitHub clone (git.io/ghclone)

Usage:
  ghclone <url> [-t | --token=<token>]
  ghclone (-h | --help)
  ghclone (-v | --version)

Examples:
  ghclone https://github.com/HR/Crypter/tree/master/app
  ghclone https://github.com/HR/Crypter/tree/dev/app
  ghclone https://github.com/HR/Crypter/tree/v3.1.0/build
  ghclone https://github.com/HR/Crypter/tree/cbee54dd720bb8aaa3a2111fcec667ca5f700510/build
  ghclone https://github.com/HR/Picturesque/tree/master/app/src -t li50d67757gm20556d53f08126215725a698560b

Options:
  -h --help           Show this screen.
  -v --version        Show version.
  -t --token=<token>  Set a GitHub OAuth token (see https://developer.github.com/v3/#rate-limiting).LicenseCopyright (C) 2019-2021 Habib Rehman (https://git.io/HR)Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: githubcollaborators
githubcollaboratorsThis is a very simple tool. It takes a GitHub username & Personal Access Token,
and returns a JSON with the collaborators on the user's GitHub repos, where
there are collaborators.Personal Access TokenShould be generated fromhttps://github.com/settings/tokensRequires the following permissions:repo ("Full control of private repositories")admin:org -> read:org ("Read or and team membership, read org projects")user -> read:user ("Read all user profile data")Standalonepipinstallgithubcollaborators
githubcollaborators-u<your-github-username>-t<github-personal-access-token>-ooutput.jsonFull options:usage: githubcollaborators [-h] -u USERNAME [-t TOKEN] [-v VISIBILITY]
                           [-o OUTPUT] [--verbose]

List collaborators for all repositories for the given user. Might take a while
to run, be patient.

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        GitHub username
  -t TOKEN, --token TOKEN
                        Personal Access Token for the specified GitHub
                        username. Requires following permissions: repo("Full
                        control of private repositories"), admin: org -> read:
                        org("Read or and team membership, read org projects"),
                        user -> read: user("Read all user profile data")
  -v VISIBILITY, --visibility VISIBILITY
                        Visibility level of the repositories, can be: all,
                        public, or private
  -o OUTPUT, --output OUTPUT
                        Save to specified output file
  --verbose             Set logging level to INFOAs a libraryfromgithubcollaboratorsimportgithubcollaboratorsprint(githubcollaborators(<your_username>,<your_personal_access_token>))
Package: github-colors
Installation$[sudo]pipinstallgithub-colorsExamplesCOLORSdict>>>importgithub_colors>>>github_colors.COLORS{'1C Enterprise':'#814CCC',...}get(name,default)(default color is#ccc)>>>github_colors.get('1c enterprise')'#814CCC'>>>github_colors.get('awk','#ccc')'#ccc'>>>github_colors.get('not-existing','#ccc')'#ccc'readme42.com
Package: github-compose
AboutOrchestrate your GitHub repositories likedocker-composeorchestrates your
Docker containers. Inspired bymetainvenioby@inveniosoftware.Installgithub-composeis on PyPI, so all you have to do is:$pipinstallgithub-composeUsageCurrentlygithub-composeimplements one subcommand:$github-composeupdateThis will update the configuration of your repositories on GitHub so that it
matches what is described in a file called (by default)github-compose.yml.
Here’s an example of such a file:orgs:foo-org:repos:bar-repo:description:"Descriptionofthebarrepo."Running theupdatecommand on this file will update the description of thebar-repoof thefoo-orgto be “Description of the bar repo.”
Here’s another example:orgs:foo-org:repos:bar-repo:description:"Descriptionofthebarrepo."baz-repo:description:"Descriptionofthebazrepo."Suppose that thefoo-orgcurrently has only thebar-repo: running theupdatecommand with this file will create an emptybaz-repowhose
description is “Description of the baz repo.”AuthorJacopo Notarstefano (@Jaconotar)LicenseMIT
Package: github-contents
github-contentsRead and write both small and large files to Github.The regularGitHub Contents APIcan't handle files larger than 1MB - this class knows how to spot that problem and switch to the large-file-supporting low levelGit Data APIinstead.Note that file contents is passed and returned as bytestrings, not regular strings.Installationpip install github-contentsUsageYou will need a GitHub OAuth token with full repository access.The easiest way to create one of these is usinghttps://github.com/settings/tokensfromgithub_contentsimportGithubContents# For repo simonw/disaster-data:github=GithubContents("simonw","disaster-data",token=GITHUB_OAUTH_TOKEN,branch="main")To read a file:content_in_bytes,sha=github.read(path_within_repo)To write a file:content_sha,commit_sha=github.write(filepath=path_within_repo,content_bytes=contents_in_bytes,sha=previous_sha,# Optionalcommit_message=commit_message,committer={"name":COMMITTER_NAME,"email":COMMITTER_EMAIL,},)
Package: github-contributors
Get the github url of contributors$ github-contributors
12 user1 https://github.com/github_user1
23 user2 https://github.com/github_user2I like use the command:git shortlog -s -nbut with shortlog, I don’t obtain the real github user account.With this is more easy edit the contributors section in the readme file.Installpip install github-contributorsUsageShow as markdowngithub-contributors -m
[user1](https://github.com/github_user1)Show as rst::github-contributors -suser1
Package: github-crawler
Github CrawlerA web spider to crawl public github repositoriesBuilt with ❤︎ and :coffee: byKarthik HosurA web spider to crawl public github repositories to collect data of github user profiles,repositories and user social counts for educational purpose only. The project was earlier built to collect data from github for academic data analysis project.FeaturesExtract User Social StatusExtract Repository NamesExtract User ActivityExtract Repository Social InformationExtract Repository DataInstallationYou can install this package usingpipinstallgithub-crawlerUsageExtract the profile information of a github userImport it in your Python projectfromgithub_crawlerimportuser_profilegithub_crawler.user_profile("karthikhosur")# Use the username of the userResultThe module would return a dictionary with result as follows:{'followers': 2,
 'following': 4,
 'stars': 5,
 'repositories': ['/karthikhosur/Github-Crawler',
  '/karthikhosur/FairCV',
  '/karthikhosur/Stop-Words-Remover-API',
  '/karthikhosur/BlogsParser-API',Extract a Repository informationImport it in your Python projectfromgithub_crawlerimportrepo_infogithub_crawler.repo_info("/karthikhosur/Github-Crawler")# Use the username with the repository name in the format givenResultThe module would return a dictionary with result as follows:{'watchers': 1, 'stargazers': 1, 'forks': 1}
Package: githubcutter
githubcutterCurrent version: 0.3.1-devA tool to setup GitHub repositories using simple YAML templates.The tool was inspired bycookiecutter, which is heavily used in the lab,
as we needed a tool to automate repositories creation on GitHub.Installationpip install githubcutterDocumentationThe official documentation for githubcutter can be found onreadthedocs.BugsPost an issue to report a bug or request new features.DevelopersGiovanni Stracquadanio,giovanni.stracquadanio@ed.ac.uk
Package: githubdate
You’ve got dozens of pull-requests on hold. Some of them are ready to be
merged. But as a release manager, you need to warn everyone with “merge”
rightsnot tomerge any of these pull-requests. Because you’re on a hot
lava field, you have to stabilize things, etc.Anyway. Just push a “it’s not cool to merge this” status. And then, when the
situation is cooler, just send an update with a green light.LicenseThis is a MIT-licensed software, by Bruno Bord (c) 2014.
Package: github-deploy
github-deployUsingpolyrepo'sto manage projects ?This can introduce a number challenges one of which is maintaining consistency across multiple repositories, for files like shared configurations without introducing git submodules or mono repositories which requires a more complex deployment configuration.For example adding a github action or maintaing a consistent pull request template accross your organization.Solutiongithub-deploymakes maintaining such configurations as easy as a single command.Alias:gh-deployInstallationpipinstallgithub-deploySetupA Personal Access Token which can be created using thisguideRequired ScopesThe required scopes arerepoandworkflowUsageUpload files to githubgh-deployupload--org[org]--token[PAT_TOKEN]--dest[LOCATIONTOUPLOADFILE]--source[SOURCEFILELOCATION]Example:gh-deployupload--orgtj-actions--token[PAT_TOKEN]--dest'.github/workflows/auto-approve.yml'--sourceauto-approve.ymlNOTE:auto-approve.ymlis located on your local system.Deleting files on githubgh-deploydelete--org[org]--token[PAT_TOKEN]--dest[LOCATIONTODELETE]Example:gh-deploydelete--orgtj-actions--token[PAT_TOKEN]--dest'.github/auto-approve.yml'COMMANDgh-deploy --helpUsage: gh-deploy [OPTIONS] COMMAND [ARGS]...

  Deploy changes to multiple github repositories using a single command.

Options:
  --help  Show this message and exit.

Commands:
  delete  Delete a file in all repositories owned by an organization/user.
  upload  Upload a file to all repositories owned by an organization/user.gh-deploy upload --helpUsage: gh-deploy upload [OPTIONS]

  Upload a file to all repositories owned by an organization/user.

Options:
  --org TEXT                    The github organization.
  --token TEXT                  Personal Access token with read and write
                                access to org.

  --source PATH                 Source file.
  --dest TEXT                   Destination path.
  --overwrite / --no-overwrite  Overwrite existing files.
  --private / --no-private      Upload files to private repositories.
  --help                        Show this message and exit.gh-deploy delete --helpUsage: gh-deploy delete [OPTIONS]

  Delete a file in all repositories owned by an organization/user.

Options:
  --org TEXT    The github organization.
  --token TEXT  Personal Access token with read and write access to org.
  --dest TEXT   Destination path to delete.
  --help        Show this message and exit.Resourceshttp://www.gigamonkeys.com/mono-vs-multi/
Package: githubdeployment
Automate addingmanually ssh-key, cleaning directory from untracked files, pulling from remoteetc... After pulling
easily configurepost steps. This package can be added into your CI/CD pipeline. Tested on python 3.xGetting started# simply clone repo and cd into cloned repogitclonegit@github.com:komron-m/deployment.git&&cddeployment# after cloning copy test_config.json and set all actions and `keys`cptests/test_config.json/path/to/project_conf.json# run script with one argumentpythonsrc/main.py/path/to/project_conf.json# or use it as package after installingpipinstallgithubdeploymentConfigs{"keys":{"remote":"origin","repository_root":"/var/www/awesome-project","ssh_key":"/opt/deployment/id_rsa","working_branch":"master"},"actions":[{"description":"Install new dependencies","exe":"composer install --ignore-platform-reqs --no-interaction"}]}keysare mandatory, make sure all permissions are set for files and directories.actionscontain a list of action, wheredescriptionis plain message for logging andexeis command that run
right aftergit pull ${remote} ${working_branch}. All actions run as onepipe.
Package: github-dir-tree
github_dir_tree自动读取文件/文件夹描述, 生成markdown形式的项目结构树截图待做支持文件/目录描述支持gitingore语法过滤文件,支持自动读取.gitignore过滤文件自动增加/更新到README.md文件支持文件/目录描述支持多个描述符匹配各种形式打印并输出到各类文件中生成exe重构读取配置文件和获取标准输入的代码安装pip:pip install pip install github_dir_tree使用cmd:python -m github_dir_tree.main [文件夹路径]注意第一次使用时会自动在目标文件夹下生成.github_dir_tree配置文件, 你可以在配置文件里面修改配置自动读取.gitignore文件并自动过滤默认.dir_description为文件夹描述符
Package: github-distutils
WarningThis project is abandoned, and we recommend not to use this anymore.
Because PyPI andpipdisallows to download package distributions
from other than official PyPI for security reasons.IntroDistribute/setuptools/distutilscommand forGitHub. You can use
GitHub downloads instead ofPyPIdownloads for release.To use this, follow the instruction.InstructionFirst of all your software must be packaged within the standard distribution
way: usedistutils,Distributeorsetuptools.  This package contains
an extension command for that.Then, add this package intosetup_requiresparameter of yoursetup()configuration (ofsetup.pyscript):setup(name='YourPackageName',
      version='1.2.3',
      ...,
      setup_requires=['github-distutils >= 0.1.0'])Now there will begithub_uploadcommand for yoursetup.py:$ python setup.py github_upload --help
Common commands: (see '--help-commands' for more)

...

Options for 'github_upload' command:
  --repository (-R)  GitHub repository name e.g. user/reponame
  --username (-u)    GitHub username
  --password (-p)    GitHub password

...If-u/--usernameand-p/--passwordare not present, it will
shows the prompt.-R/--repositoryis required.UploadUpload is very easy:$ python setup.py sdist github_upload -R user/reponame registerBy explained:sdistMakes the source distribution file.  If your package name isYourPackageNameand its version is1.2.3, and then its file name
becomesYourPackageName-1.2.3.tar.gz.github_upload-Ruser/reponameUploads the built source distribution file into your GitHub repository.
It does not mean that it will be version-controlled, but it will be simply
uploaded to its downloads page.registerUsing the GitHub download URL registers the package of this version
into PyPI.
The URL of PyPI page will behttp://pypi.python.org/YourPackageName/1.2.3Defaulting optionsYou can make default values for these options by specifying in thesetup.cfgconfiguration file.  For example, if you want to default--repository,
makesetup.cfgfile like (hyphens becomes underscores):[upload]
repository = user/reponameYou can make a shorthand alias as well:[aliases]
release = sdist github_upload registerAuthor and licenseIt is distributed under Public Domain.  Just do what you want to do with this.
Written byHong Minhee.You can checkout the source code from itsGitHub repository:$ git clone git://github.com/dahlia/github-distutils.gitIf you found a bug, please report it to theissue tracker.For Bitbucket usersUsebitbucket-distutilswhich is a package by the same author
if you are using Bitbucket instead of GitHub.ChangelogVersion 0.1.1Released on June 20, 2012.  Beta version.Allow upper cases for GitHub repository names.
[#1by Xavier Barbosa]Windows compatibility: fixedUnicodeDecodeErrorfor uploads.Version 0.1.0Released on May 27, 2012.  First alpha version.
Package: github-dl
github-dl is a lightweight command line tool for downloading
repositories from`github.com <http://github.com>`__and gists from`gist.github.com <http://gist.github.com>`__. github-dl has been
tested on python 2.7.12 and python 3.5.2.InstallationThe project was recently added to PYPI. Feel free to submit an issue if
there are any issues with downloading via the command below…pipinstallgithub-dlInstallation (Development)Install the project by downloading the project as a zip file or cloning
the repository. After downloading the source, run the following command
to install in the root directory of the project…pipinstall-e.Usagegithub-dl’s functionality is currently fairly limited, but the following
functionality is supportedusage for both commandscommand line argument/optionfunctionality--helplist arguments/options for tool--usernamegithub username for credentials--passwordgithub password for credentials--tokengithub token for credentials--configdirectory to a configuration fileusage specific for$github-dlcommand line argument/optionfunctionalityqueriesquery for filtering github repositoriesdestinationdirectory to download repositories toexamples:Download all machine learning related notebooks matching a criteria: -$github-dl'machine learninglanguage:jupyter-notebooksize:<1000'github-notebooks--config=config.jsonusage specific for$gist-dlcommand line argument/optionfunctionalitysourceslist of github users accounts to download gistsdestinationdirectory to download gists to--extensionfile extension to download ex: ipynbexamples:Download all public jupyter notebooks: -$gist-dlgist-notebooks--config=config.json--extension=ipynbDownload a specific user’s public jupyter notebooks: -$gist-dlcameresgist-notebooks--config=config.json--extension=ipynb