Saravanan666/pypi-org huggingface dataset:
Package: github-repo-manager
repo-managerrepo-manageris a GitHub Action that manages your repository for you
based on a configuration file in your repository.ConfigurationUsageInputsrepo-manageroffers three inputs that you can use to configure its behavior.
The only required input isgithub-token.NOTE: The token you provide MUST have full admin permissions on your repo.
Thebuilt-in GitHub Actions tokenwill not work.github-token(required) :
The OAuth token thatrepo-managershould use.This token MUST have full admin permissions on your repo.
Because of this,
thebuilt-in GitHub Actions tokenwill not work.NOTE: Make sure that you never put tokens in your workflow files directly.
Always useGitHub Secretsto store these values.config-file(optional) :
The location of the config file thatrepo-managershould use.
By default,repo-managerassumes that your config file is
whereProbot Settingsneeds it to be (.github/settings.yml).
If you want to put your config file somewhere else in your repo,
you can control that using this value.debug(optional) :
If you set this value totrue,repo-managerwill output more granular logs.ExamplesTo userepo-manager, simply define a step in your workflow, providing your GitHub Token.-uses:mattsb42/repo-manager@v1with:github-token:${{ secrets.ADMIN_GITHUB_TOKEN }}If you want to enable debug logging or use a special config file location,
you indicate that with the other input values.-uses:mattsb42/repo-manager@v1with:github-token:${{ secrets.ADMIN_GITHUB_TOKEN }}config-file:.github/config/repository.yamldebug:trueDesign Goalsrepo-managerwas inspired byProbot Settingsbut is designed to solve two issues with that app:Permissions: Out of necessity,Probot Settingsrequires you to either
hand over administrator control of your repository to the Probot app
or to run an instance of the app yourself.
Granting these permissions is not always possible,
and running your own app is extra overhead that I would rather not have to deal with.repo-managersolves this problem by running as a GitHub Action
using the credentials thatyouprovide.Debugging:Probot Settingslacks a feedback mechanism to let you know
when it ran and what happened.
This is especially frustrating if you are attempting to debug a bad config,
when the only feedback you can get is that nothing happened.Becauserepo-managerruns as a GitHub Action,
you can see exactly when it ran and what happened.Because it runs as a GitHub Action,
you can also exert more fine control over whenrepo-managerruns,
rather than simply running on any pushes to your default branch.repo-manageris fully backwards compatible withProbot Settingsconfig files,
but will expand in the future to support more repository administration features.
Package: github-repo-opener
A CLI tool to open a front page of owned GitHub repositories quickly.Installation$pipinstallgithub_repo_openerPrerequisitionUser has a GitHub access token.UsageOnce installed the package, you can usegithub-repo-openercommand.$github-repo-openerPrepare a local database$github-repo-openerinitdbThis creates a sqlite database file at~/.cache/github_repo_opener/cache.sqlite3.Fetch repository data and store them in the local database$github-repo-openerfetchShow repository names$github-repo-openershowOpen a repository front page$github-repo-openeropenDrop the local database$github-repo-openerdropdbThis deletes the sqlite database file at~/.cache/github_repo_opener/cache.sqlite3.LicenseLicensed under MIT license.
Package: github-report
DescriptionThis script helps analyze GitHub repositories for a user or organization. It
fetches a list of repositories owned by a user or organization and generated a
custom report in a number of formats.In particular, it was designed for showing the size of repositories and the LFS
storage they use. Unfortunately the GitHub API doesn't report the LFS usage,
so this tool with clone the repos in order to get the LFS size. This is slow,
but it is the primary purpose of this tool, since there's no other way to do it.RequirementsPython 3.6+requestsGitPythonGitGit LFSLocal Development SetupCreate a virtualenv:virtualenv <path>Activate your virtualenv:source <path>/bin/activate(on Linux/Mac),source <path>/Scripts/activate(in bash on Windows), or<path>\Scripts\activate.bat(in Windows command
prompt)Usepip install -r requirements.txtin your virtualenv to install required
libraries.Runpython github_report.py. You may need command-line options to
specify options. Seepython github-storage-usage.py -hfor option help.AuthenticationWithout authentication you can generate a report for any user's or organization's
public repos. To include private repos you will need to authenticate as a user
who has permission to see them. To do so, log into GitHub and generate apersonal access tokenthat has at least
therepopermission. Pass this token on the command-line to the--tokenoption, or put it in a.tokenfile (or some other file that can be read with
the--token-fileoption).
Package: github-repos
Installation$[sudo]pipinstallgithub-reposConfigbashpythonexport GITHUB_TOKEN="your_github_token"os.environ["GITHUB_TOKEN"]="your_github_token"Examplesdelete orphaned repos (if basename = repo name)$cd~/git/owner
$python-mgithub_repos|awk-F'/''{print $2}'|grep-v-iF"$(ls-1)"|xargspython-mgithub_deletereadme42.com
Package: github_repos_cloner
GitHub Repos ClonerBecause GitHub delete is permanent.MotivationYes there are others, now there is this one too.TodoExplain motivation better.InstallInstall:$ {easy_install, pip} github_repo_clonerUsageUse like so:$ github_repo_cloner USER_OR_ORGExampleIn this example, all of the plone org’s repos will be cloned/updated to the cwd:$ github_repo_cloner ploneHistory0.0.3 - 2012/08/02Fix project name0.0.2 - 2012/08/02Metadata fix0.0.1 - 2012/08/02First release
Package: github-repos-json
Installation$pipinstallgithub-repos-jsonUsageusage:python-mgithub_repos_json[login]usage:python-mgithub_private_repos_jsonExamplesexportGITHUB_TOKEN='secret'python-mgithub_repos_json>repos.json
python-mgithub_repos_jsonLOGIN>repos.jsonpython-mgithub_private_repos_json>private_repos.json
Package: github-repo-stats
GitHub Repo StatsFetch your repo stats from the GitHub API. Stats currently reported include:ForksStarsWatchersClones TotalClones UniqueViews TotalViews UniqueSetUpIn order to use tool, you will require a GitHubpersonal access tokenwhich will be used to authenticate you on each API call.This should be set as an evironment variable namedGH_TOKEN. Alternatively, you an pass it directly as an option into the cli with the-t/--auth-tokenflag.InstallInstall the latest version from PyPi with:python -m pip install github-repo-statsUseUsage: cli.py [OPTIONS]

  Fetch GitHub repo stats!

  REQUIRES either a repos yaml file, an org name, or a user's name.

  Typical usage:

      $ gh-stats -r example.yaml

      $ gh-stats --repos example.yaml --output-file path/to/file.csv

Options:
  -r, --repos PATH        Yaml representation of Repos to Pull
  -o, --org TEXT          Pull stats for all repos owned by Org
  -u, --user TEXT         Pull stats for all repos owned by User
  -f, --output-file PATH  Output file path. Only supports CSV or JSON
  -t, --auth-token TEXT   GitHb Access Token
  --help                  Show this message and exit.DevelopmentFor local development, you may find it easier to add an.envfile to the project root with yourGH_TOKEN. But setting it explicitly in the environment will also work.All dev dependencies can be found in therequirements.txtfile.This project usespytestfor testing. If creating a PR, please usetoxto run the tests against all supported Python versions.
Package: github-reserved-names
UsageA singlesetis exposed, containing the reserved names:>>>importgithub_reserved_names>>>"sponsors"ingithub_reserved_names.ALLTrueSourceThe source of this data is thenpm github-reserved-names projectThis module attempts to provide a mirror of that project as a Python module.If you feel a path is missing, please file a pull request upstream and it will be pulled in here.
Package: github-reviewboard-sync
github-reviewboard-syncSyncs pull requests with ReviewBoard submissions allowing you to create a pull request and review board submission at the same timeFree software: MIT licenseDocumentation:https://github-reviewboard-sync.readthedocs.orgOverviewThis tool allows you to easily create a pull request and reviewboard submission at the same timegrsopenmy-feature-branch--github-username=MyUsernameYou can also simply provide an environment variableGITHUB_USERNAMEinstead of
passing in your github username.  To add it to your bash profile simply run the followingecho'export GITHUB_USERNAME=MyUsername'>>~/.bash_profileIf you want to compare against a different branch and open a pull request to that branchgrsopenmy-feature-branch--base=version-branchIf you want to update an existing review board submissiongrsopenmy-feature-branch-uInstallationpipinstallgithub-reviewboard-syncOr if you prefereasy_installgithub-reviewboard-syncFeaturesOpens a pull request on github with a sane name and message based on commitsOpens/updates a submission on review board with a sane summary and description based on commitsAdds github pull request url to review board submission and vice versaCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.5 (2016-06-03)Nothing changed yet.0.1.4 (2016-05-09)Nothing changed yet.0.1.3 (2016-05-06)Nothing changed yet.0.1.2 (2016-05-05)First release on PyPI.
Package: github-scrape
github-scrapeAboutScrapes github pages for a specified user,
displays a report about the user's current account status.The report contains:Number of followersNumber of users being followedNumber of users followed but not following backNumber of followers not followedCheck number of repositoriesList available repositories (public)InstallationFor first time installation:pip install github-scrapeFor recurring installation/update:pip install github-scrape --upgradeUsageTo use the package, you have to import it using any of the following:Step 1:from akinyeleib import github_scrape
from akinyeleib import github_scrape as rStep 2:Create an object of "Github" class
It's constructor accepts the github username as an argument
For this example, we would use username "akinyeleib"user1 = reader.GitHub("akinyeleib")Or:user1 = r.GitHub("akinyeleib")Step 3:Use the object to access several methods from the class.Some of the available methods include:print(f"Followers: {user1.getFollowers()}")
print(f"Following: {user1.getFollowing()}")
print("FollowersNotFollowing: " + user1.getFollowersNotFollowing())
print("FollowingNotFollowers: " + user1.getFollowingNotFollowers())
print(user1.getDetails())Other methods include:getRepos()
getDetails()
getUserName()
getFollowing()
getFollowers()
getFollowersCount()
getFollowingCount()
getFollowingNotFollowers()
getFollowersNotFollowing()Demo>>> from akinyeleib import github_scrape as r
>>> user1 = r.GitHub("Akinyeleib")
Account found for user: Akinyeleib
Akinyeleib has 17 repositories
Akinyeleib has 32 followers
Akinyeleib is following 35 user(s)
Akinyeleib has 10 user(s) not following back
Akinyeleib is not following 7 user(s) back
>>> user1repo = user1.getRepos()
>>> user1repo
['Lawson-To-Do-List', 'Todo-List', 'FlutterNewsApp', 'html-tic-tac-toe', 'nike-sneakers-store-app', 'tic_tac_toe', 'quiz-stopwatch', 'StopWatch', 'Projects', 'HangMan-Java', 'Therapy', 'CBTApp', 'Pedek', 'ChamsMobile', 'Data-Structures-and-Algorithms', 'Bounce', 'learning-python-2896241']
>>> user1.getFollowers()
['1AMTEDDY', 'DJTOHBEX', 'Sammygee0110', 'Paulokla', 'Stevixent', 'AyodejiOmole', 'eni01', 'Ayomidefln', 'Tobigr03', 'Sagaciousprince', 'Goldenson23', 'codetech18', 'Chimajunior', 'Vgod0', 'Lekan128', 'SamAkiode', 'crisovas', 'sofiaunnie', 'KingJoker101', 'Opeyemi86', 'Tinkapaul', 'Chee123-proj', 'TubiOb', 'DeekerD', 'lawson1000', 'xDAREY', 'lolakin', 'ayetolusamuel', 'Joshokelola', 'Ogizzy', 'imoleBytes', 'menabaddo']
>>> user1.getFollowing()
['Tinkapaul', 'Tobigr03', 'Akinsanmi23', 'Olaitanbosun', 'Themarv77', 'Oayanfe', 'Vgod0', 'Chimajunior', 'crisovas', 'papillo1', 'sofiaunnie', 'Paulokla', 'KingJoker101', 'Abdullateef1000', 'Sammygee0110', 'Chee123-proj', 'TubiOb', 'xDAREY', 'lawson1000', 'Stevixent', 'AyodejiOmole', 'codetech18', 'ochinawata01', 'Shittu-ayomide', 'SamAkiode', 'lolakin', 'eni01', 'ayetolusamuel', 'Ogizzy', 'Joshokelola', 'Mastersam07', 'menabaddo', 'Princeadeola', 'imoleBytes', 'DeekerD']
>>>Thank you.
Package: github-search-cli
Github-search-cliGitHub restful API search implementation on python3Aboutgithub-search-cli provides a module called Github, that can be used to access all of GitHub's Search API functionality from your command-linehttps://docs.github.com/en/rest/searchInstallationInstalling gitub-search-cli using pippip3 install github-search-cliORInstalling through GitHubpip3 install --upgrade git+https://github.com/SonyaCore/Github-search-cli.gitUsageShow help and exitpython3-mGithub-hOptions--query , -q     Query for the searching method
  --sort , -s      Sorting method for request output
  --order , -o     Define the first search result returned is the highest or lowest number of matches.
  --perpage , -p   The number of results per page
  --page , -page   Page number of the results to fetch.
  --repoid , -i    Repository id for labels endpoint
  --save , -j      Save JSON outputall the search queries forhttps://docs.github.com/en/rest/searchis implemented on this python modulelist of available search queriescode,commits,issues,labels,repository,topics,usersfor fetching 100 results or 200 results per page use --perpage arugment
ex :python3 -m Github repository --query repo:username/repo --perpage 200 --save reg.jsonSearch examplesSearch for users with a querypython3-mGithubusers-quser--saveuser.jsonSearch for repositories with defined argumentspython3-mGithubrepository--queryrepo:username/repo--savereg.jsonUsing APIYou can also use it like this:from Github.Search import Search
from Github.Timer import Timer


# initial github class
github = Search()

# initial timer class
timer = Timer()

# intial a timer (optional)
timer.start()

# using github.user method to fetch users from GitHub rest API with a query
users = github.users("code")

# using github.repository method to fetch repositories based on their name and ...
repository = github.repository("test",sort="stars",order="desc")


# using github.commits method to search on commits
commits = github.commits("repo:octocat/Spoon-Knife+css",sort="committer-date")

# printing the fetched data
print(users)
print(repository)
print(commits)

# save the result to a JSON file
github.save("user.json", users)
github.save("repo.json",repository)
github.save("commits.json",commits)

timer.stop()LicenseLicensed under theGPL-3license.
Package: github-secret-syncer
Github Secret SyncerSynchronize Github secrets with local.envfile.QuickstartInstall it with pip:pip install github-secret-syncerHave a.envandquickstart.pyfrompathlibimportPathimportgithub_secret_syncerbase_dir=Path(__file__).parentgithub_secret_syncer.sync_secrets(dotenv_path=base_dir/".env",owner="your_github_username",repo="your_github_repo_name",pat="your_github_personal_access_token",)You will get some output like this:
Package: github-sectory
Github SectoryCLI for downloading sub-directory of any Github repository using Github Content API!DemoInstall$ pip install github-sectoryUsageCommands available$ github-sectory <link_to_repo_directory>

Example:
  $ github-sectory https://github.com/amarlearning/PyStalker/tree/master/version01OR$ github-sectory <github_username> -r <repository name> -d <directory name> [arguments]

Needed:
  -r, -d for repository and directory

Optional:
  -b for branch                              [boolean]

Examples:
  $ github-sectory GoogleChrome -r samples -d push-messaging-and-notifications
  $ github-sectory GoogleChrome -r samples -d push-messaging-and-notifications -b gh-pagesNote:Default branch will be masterIssuesYou can report the bugs at theissue trackerORYou cantweet meif you can't get it to work. In fact, you should tweet me anyway.LicenseBuilt with ♥ by Amar Prakash Pandey(@amarlearning) underMIT LicenseYou can find a copy of the License athttp://amarlearning.mit-license.org/
Package: github-slugger
github-sluggerThis is a Python Fork of theJavaScriptgithub-sluggerpackageGenerate a slug just like GitHub does for markdown headings. It also ensures slugs are unique in the same way GitHub does it. The overall goal of this package is to emulate the way GitHub handles generating markdown heading anchors as close as possible.This project is not a markdown or HTML parser: passingalpha *bravo* charlieoralpha <em>bravo</em> charliedoesn’t work.
Instead pass the plain text value of the heading:alpha bravo charlie.Installpip install github-sluggerUsagefromgithub_sluggerimportGithubSluggerslugger=GithubSlugger()slugger.slug('foo')# returns 'foo'slugger.slug('foo')# returns 'foo-1'slugger.slug('bar')# returns 'bar'slugger.slug('foo')# returns 'foo-2'slugger.slug('Привет non-latin 你好')# returns 'привет-non-latin-你好'slugger.slug('😄 emoji')# returns '-emoji'slugger.reset()slugger.slug('foo')# returns 'foo'Checktest/fixtures.jsonfor more examples.If you need, you can also use the underlying implementation which does not keep
track of the previously slugged strings (not recommended):fromgithub_sluggerimportslugslug('foo bar baz')# returns 'foo-bar-baz'slug('foo bar baz')# returns the same slug 'foo-bar-baz' because it does not keep trackContributingContributions welcome! Please read thecontributing guidelinesfirst.LicenseISC
Package: github-social
github-socialCheck out your GitHub account as a social media account! Read more to find out what we can do for you.How To InstallOur package is published on PyPI, so you can install it with pip:pipinstallgithub-socialfeaturesDo you want to findout which one of your friends don't follow you back? Use the code below to find out!fromgithubsocial.GithubUserimportGithubUserGithubUser("YOUR_USERNAME").get_following_followers_diff()You can also get a list of your followers and followings by running:fromgithubsocial.GithubUserimportGithubUserfollowers=GithubUser("YOUR_USERNAME").get_followers()followings=GithubUser("YOUR_USERNAME").get_followings()
Package: githubstar
githubstarExport Github starred repos list to html, bookmark, json or markdown format, grouped by language or topics, order by time, stargazers count etc..InstallationUsingpip$ pip install githubstarUsing Binaries (x64 architecture only) fromRelease pageYou can also clone the repo and build from sourceQuick StartRun with username$ githubstar --username <username>Run with username, Github access token and default options$ export GITHUB_TOKEN=<Access-Token>
$ githubstar --username <username>or$ githubstar --username <username> --token <Access-Token>Run with language grouped and bookmark format$ githubstar --username <username> --token <Access-Token> --format bookmark --groupby languageUsage$ githubstar -h

usage: githubstar [-h] [--version] --username USERNAME [--token TOKEN] [--format {html,bookmark,md,json}]
                [--groupby {none,language,topic}]
                [--orderby {timestarred,timeupdated,alphabet,starscount,forkscount,language}]
                [--orderdirection {desc,asc}] [--ordernum {true,false}] [--excludeprivate {true,false}]
                [--destpath DESTPATH] [--destname DESTNAME]

Export a GitHub user's starred list to local file.

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --username USERNAME   [required]username to export from
  --token TOKEN         token from https://github.com/settings/tokens, to avoid rate-limiting, can also store in
                        environment as 'GITHUB_TOKEN'.
  --format {html,bookmark,md,json}
                        output format, default: html
  --groupby {none,language,topic}
                        default: none
  --orderby {timestarred,timeupdated,alphabet,starscount,forkscount,language}
                        default: timestarred
  --orderdirection {desc,asc}
                        default: desc
  --ordernum {true,false}
                        show order number before repository name or not, default: true
  --excludeprivate {true,false}
                        exclude private repositories, default: false
  --destpath DESTPATH   path to store the exported file
  --destname DESTNAME   filename of the exported fileFAQA 'RateLimitExceededException' error is met?The Github API rate limiting is reached. An access token is needed in this case. Check out thishttps://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limitingfor more details.Where to get the access token?Login with your Github account and go to this page:https://github.com/settings/tokens
Package: github-stargazers
List stargazers and check if a user starred that repository.InstallIt is recommended to be installed in a virtual environment withPython >= 3.6.Install pipenv$ pip3 install pipenvAftercdinto a working directory, configure virtual environment
and installgithub-stargazers$ pipenv --python=python3.6
$ pipenv install github-stargazersUsageAs a command-line app$ pipenv run github-stargazers <username>/<repository> [OPTIONS]whereOPTIONScould be--user <username>  GitHub username to see if it is a stargazer.If it’s used without--user, it just shows repository’s stargazers.When it’s used with--user, it shows if that user starred the
repository or not.Example:$ pipenv run github-stargazers marius92mc/github-stargazers --user marius92mcAs an importedfromgithub_stargazers.githubimportGitHubgithub=GitHub("yasoob/fb-messenger-bot")print(github.get_all_stargazers())print(github.is_stargazer("Jazzthedog"))Running from sourceRequirementsPython 3.6pipenvGetting startedInstall pipenv$ pip3 install pipenvSet Python 3.6 as the version used by pipenv to create the virtual
environment$ cd github_stargazers
$ pipenv --python=python3.6Install dependencies$ pipenv install --devRunFirst we need to install the package, according tosetup.pyinstructions.$ pipenv run python setup.py installThen we can run the installed package inside pipenv.$ pipenv run github-stargazers <username>/<repository> [OPTIONS]whereOPTIONScould be--user <username>  GitHub username to see if it is a stargazer.Run autopep8, mypy, pylint for the changed files$ ./autopep8.sh
$ ./mypy.sh
$ ./pylint.shLaunch IPython console$ pipenv run ipythonTestsRun the unit-tests.$ pipenv run pytestor with more detailed output, like this$ pipenv run pytest-vv.Debug failing tests$ pipenv run pytest -vv -s -x --pdb --showlocalsFor more details, see thepytest
documentation.
Package: github-star-import
Import and merge any Github account’s stars.Version: v0.2.2.Free software: BSD 2-Clause LicenseInstallationpip install github-star-importUsagegithub-star-import github_username github_access_token import_account_username

github-star-import ekp 85ab5c9c26a6b1592d0d97f9b61afc34b6230521 githubDocumentationhttps://python-github-star-import.readthedocs.io/en/latest/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.2.1 (2018-10-30)Requirement versions upgraded.0.2.0 (2018-10-30)Parameters updated.0.1.1 (2018-09-20)Uploaded to pypi, builded docs, ci setted.0.1.0 (2018-09-20)First release on PyPI.