Saravanan666/pypi-org huggingface dataset:
Package: repository-scorer
radon-repository-scorerThe radon-repository-scorer is a Python package to compute a repository best engineering practices indicators.The module provides the following 8 indicators of well-engineered software projects:Core contributors:the number of contributors whose total number of commits accounts for 80% or more of the total contributions.Continuous integration (CI):the repository has evidence of a CI service, determined by the presence of a configuration file required by that service (e.g., a.travis.ymlfor TravisCI).Comments ratio:ratio between comments and lines of code.Commit frequency:the average number of commits per month.Issue frequency:the average number of issue events transpired per month.License availability:the repository has evidence of a license (i.e., a LICENSE file).Lines of Code:the number of executable lines of code.Ratio of IaC scripts:ratio between Infrastructure-as-Code (IaC) files and total files.All the previous indicators but the last are described in depth in:@inproceedings{@article{munaiah2017curating,
  title={Curating GitHub for engineered software projects},
  author={Munaiah, Nuthan and Kroh, Steven and Cabrey, Craig and Nagappan, Meiyappan},
  journal={Empirical Software Engineering},
  volume={22},
  number={6},
  pages={3219--3253},
  year={2017},
  publisher={Springer}
}Note:the tool is intended to be used as a Python library.
Therefore, the current version does not provide a command line interface.How to installFrom the Python Package Indexpip install repository-scorerFrom source codepip install -r requirements
pip install .How to usefromreposcorer.scorerimportscore_repositoryreport=score_repository(clone_to='path/to/a/dir/',full_name_or_id='repo_owner/repo_name',# e.g., radon-h2020/radon-repository-scorerhost='github',# or gitlabcalculate_comments_ratio=True,calculate_commit_frequency=True,calculate_core_contributors=True,calculate_has_ci=True,calculate_has_license=True,calculate_iac_ratio=True,calculate_issue_frequency=True,calculate_repository_size=True)Output{
  'has_ci': <bool>,
  'comments_ratio': <float in [0,1]>,
  'commit_frequency': <float>,
  'core_contributors': <int>,
  'iac_ratio': <float in [0,1]>,
  'issue_frequency': <float>,
  'has_license': <bool>,
  'repository_size': <int>
}SeeCHANGELOGfor logs detail about releases.
Package: repository-service-tuf
The Repository Service for TUF Command Line Interface (CLI) is a CLI Python
application to manage the Repository Service for TUF.The CLI supports the initial setup, termed a ceremony, where the first
repository metadata are signed and the service is configured, update metadata,
sign metadata, etc.This CLI is part of the Repository Service for TUF (RSTUF).InstallationUsing pip:$pipinstallrepository-service-tufUsagePlease, check theRepository Service for TUF Guidefor more details.ContributingPlease, visit theRepository Service for TUF Development Guide.Check ourCONTRIBUTING.rstfor more details on how to contribute to this repository.LicenseMIT
Package: repository-setup
DescriptionCreates the basic repository structure for python projectsInstallationpip install repository_setupUsagepython -m repository_setup [-h] --path PATH --name NAMEOptionShortTypeDefaultDescription--path-pString-Path of the directory in which the repository shall be created--name-nString-Name of the new repositoryExamplepython -m repository_setup -p /path/to/repo/dir -n new-module-repoCreates the following result:################################################################################

Repository Setup by 5f0
Creates the basic repository structure for python projects

Current working directory: /path/to/repository-setup

Target directory: /path/to/repo/dir
Name of new repository: new-module-repo

Creation Datetime: 01/01/1970 10:11:12

################################################################################

Repository of type module created successfully under /path/to/repo/dir/new-module-repo

################################################################################With the following folder structure:/path/to/repo/dir/new-module-repo
â”œâ”€â”€â”€ example
â””â”€â”€â”€ /src
     â””â”€â”€â”€ /new_module_repo
          â””â”€â”€â”€ __init__.py
          â””â”€â”€â”€ __main__.py
          â””â”€â”€â”€ Controller.py
â””â”€â”€â”€ .gitignore
â””â”€â”€â”€ LICENSE.md
â””â”€â”€â”€ README.md
â””â”€â”€â”€ setup.py
â””â”€â”€â”€ main.pyLicenseMIT
Package: repositorytools
Python API and command-line interface for working with Sonatype NexusHow to installpip install repositorytoolsSome command line examplesPreparing env. variablesexport REPOSITORY_URL=https://repo.example.com
export REPOSITORY_USER=admin
export REPOSITORY_PASSWORD=mysecretpasswordUploading an artifactartifact upload foo-1.2.3.ext releases com.foowareResolving artifact’s URLartifact resolve com.fooware:foo:latestDeleting artifacts# by url
artifact delete https://repo.example.com/content/repositories/releases/com/fooware/foo/1.2.3/foo-1.2.3.ext

# by coordinates
artifact resolve com.fooware:foo:latest | xargs artifact deleteWorking with staging repositoriesNexus Professional onlyrepo create -h
repo close -h
repo release -h
repo drop -h
repo list -hWorking with custom maven metadataNexus Professional onlyartifact get-metadata -h
artifact set-metadata -hSome library examplesFor most of methods the same env. variables as above have to be exported or specified in call of repository_client_factory()Uploading artifactsimport repositorytools

artifact = repositorytools.LocalArtifact(local_path='~/foo-1.2.3.jar', group='com.fooware')
client = repositorytools.repository_client_factory(user='admin', password='myS3cr3tPasswOrd')
remote_artifacts = client.upload_artifacts(local_artifacts=[artifact], repo_id='releases')
print(remote_artifacts)Resolving artifactsWorks even without authentication.import repositorytools

artifact = repositorytools.RemoteArtifact.from_repo_id_and_coordinates('test', 'com.fooware:foo:1.2.3')
client = repositorytools.repository_client_factory()
client.resolve_artifact(artifact)
print(artifact.url)Deleting artifactsimport repositorytools

artifact = repositorytools.RemoteArtifact.from_repo_id_and_coordinates('test', 'com.fooware:foo:1.2.3')
client = repositorytools.repository_client_factory(user='admin', password='myS3cr3tPasswOrd')
client.resolve_artifact(artifact)
client.delete_artifact(artifact.url)Documentationis onhttp://repositorytools.readthedocs.org/en/latest/SupportYou can support my effort many ways:create issuesfix issues (by sending pull requests)donating onhttps://gratipay.com/~stardust85/, you can send even 1 cent per month ;) (but the more the better)
Package: repostack
Author:Bruno BinetEmail:bruno.binet@gmail.comInspired fromMr-Repo.You work in many git repositories on different computers?repostackwill help manage these repositories.Usage: repostack [--version] [--help] [--dir=<path>] <command> [<args>]

options:
    -v, --version
    -h, --help
    -d, --dir=<path>      set repostack root directory [default: .]

The following commands are supported by repostack:
    init       Initialize a new repostack directory
    add        Add repos to the stack of tracked repos
    rm         Remove repos from the stack of tracked repos
    checkout   Checkout repos
    status     Give repos status
    diff       Show repos diff
    do         Run a command on repos
    help       Give more information on a specific command

See 'repostack help <command>' for more information on a specific command.
Package: reposter
reposterscript for forwarding messages from one telegram channel to another in real time, saves the history of post edits in the comments, marks the message as deleted if it deleted, and also notifies when a stream has started in the channel. There is support for messages with multiple attachments. Simple, intuitive setup and launchingnavigationinstallationinstallation via terminalchangeloglicenseinstallation^reposter.sh- for linuxreposter.bat- for windowsinstallation via terminal^install on linux:curl -sSL gmankab.github.io/reposter.sh | shinstall on any os:pip install reposterlaunch on any os:python -m reposterchangelog^you can read changelogherelicense^gnu gpl 3
Package: repostruc
REPOSTRUCrepostrucis a cross-platform library that returns the directory structure in a formated form. The structure can be copied to your clipboard or a .md file can be made available..md exampleIgnored filesrepostrucignores files from.gitinorefile if present else ignores commonly ignored files and directories.Install the RequirementspipinstallrepostrucUsageTo clipboardrepostruc-cTo filerepostruc-ffilepathToPROJECTINFO.mdrepostruc-r-fExampleViewPROJECTINFO.mdwhich was made usingrepostrucBuilt Withpathlib- pathlib offers a set of classes to handle filesystem paths.pyperclip- Cross-platform clipboard utilities supporting both binary and text data.gitignore_parser- A spec-compliant gitignore parser for Python 3.5+docopt- creates beautiful command-line interfacesContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests.AuthorsAtharva Gundawar-Initial work-Github handleSee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for detailsAcknowledgmentsGenerator function fromAaron Hall'sanswerhere
Package: reposync
reposyncreposync helps you organize git repositories. By declaring the repositories in a YAML file, reposync can then apply various git commands (limited tocloneandpullfor now) to the repositories in appropriate manners.Installation$ pip install reposyncUsageDeclare repositories inrepositories.yamllike so:Projects:
  Past:
    alpha: github.com/yourusername/alpha
  Current:
    beta: github.com/yourusername/beta
    omega: github.com/yourusername/omega

Dotfiles: github.com/yourusername/dotfiles

Contribs
  TensorFlow: github.com/tensorflow/tensorflow
  Rust github.com/rust-lang/rustThen run$ reposync cloneto clone the repositories, resulting in the directory structure below:.
├── Projects
│   ├── Past
│   │   └── alpha
│   └── Current
│       └── beta
│       └── omega
├── Dotfiles
└── Contribs
    ├── TensorFlow
    └── RustTo update these repositories, use$ reposync pull.You can specify the YAML file with--file <filename>.yaml. For the full options, see$ reposync -- --help.
Package: repo-test-sdk
Getting Started with Swagger PetstoreIntroductionThis is a sample server Petstore server.  You can find out more about Swagger athttp://swagger.ioor onirc.freenode.net, #swagger.  For this sample, you can use the api keyspecial-keyto test the authorization filters.Find out more about Swagger:http://swagger.ioInstall the PackageThe package is compatible with Python versions3 >=3.7, <= 3.11.
Install the package from PyPi using the following pip command:pipinstallrepo-test-sdk==7.7.7You can also view the package at:https://pypi.python.org/pypi/repo-test-sdk/7.7.7Initialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionenvironmentEnvironmentThe API environment.Default:Environment.PRODUCTIONhttp_client_instanceHttpClientThe Http Client passed from the sdk user for making requestsoverride_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk userhttp_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpointtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']passwordstringThe API client can be initialized as follows:fromswaggerpetstore.swaggerpetstore_clientimportSwaggerpetstoreClientfromswaggerpetstore.configurationimportEnvironmentclient=SwaggerpetstoreClient(password='Password')AuthorizationThis API usesCustom Authentication.List of APIsPetStoreUserClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: repotofile-cli
repotofile-clirepotofile-cliis a very light weight command-line tool that allows users to download a GitHub repository or an existing file directory and generate a text file containing the repository's code, excluding files specified in.gitignore. It's particularly useful for code analysis, backups and uploading to large language models like chatGPT.FeaturesClone any public GitHub repository.Optionally exclude configuration files, replacing their content with a placeholder.Generate a single text or markdown file with the entire codebase, neatly separated by files.Easy to install and use with a simple command.Ignore config files and directories by defaultAdd custom files and directories to ignoreInstallationTo installrepotofile-cli, ensure you have Python installed on your system, then run:pipinstallrepotofile-cliUsageAfter installation, you can use therepotofilecommand or its shorthandrtf:repotofile<repository-url>[options]orrtf<repository-url>[options]orrepotofile<directory>[options]Options-b,--branch: Specify a branch or tag to download. Defaults to the default branch of the repository.-o,--output: Custom output file name or path. Defaults to '[repository-name].txt'.--no-config: Replace the content of configuration files with a placeholder comment.ExamplesCloning a repository and generating the default output file:repotofilehttps://github.com/user/repoCloning a specific branch:repotofilehttps://github.com/user/repo-bfeature-branchGenerating a custom output file:repotofilehttps://github.com/user/repo-o~/Documents/repo_snapshot.txtIgnoring custom files and directories:repotofilehttps://github.com/user/repo--ignore-files"*.log,*.txt"--ignore-dirs"build,docs"ContributingContributions torepotofile-cliare welcome! Please read our contributing guidelines (link to guidelines) to get started.LicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactMaurits Bos -maurits.bos@gmail.comProject Link:https://github.com/mbbrainz/repotofile-cli
Package: repotool
Python wrappers around GitHub, GitLab and Bitbucket REST APIsClone repositorygit clone https://github.com/rcook/repotool.gitDeveloper notesVarious package properties are defined inrepotool/__init__py:__project_name____version____description__When publishing a new build of the package, ensure that__version__is incremented as appropriate.LicenceReleased underMIT License
Package: repo-tools
repo-toolsDevelopment•Documentation•Contribute•SupportThis is a small Multi Repo CLI that allows you to apply changes to multiple projects at the same time.Use it!pip install repo-tools$rt--helpUsage: rt [OPTIONS] COMMAND [ARGS]...Options:--install-completion  Install completion for the current shell.--show-completion     Show completion for the current shell, to copy it orcustomize the installation.--help                Show this message and exit.Commands:config   Configure repo_toolsexec     Execute an arbitrary commandgh       Interact with githubsnippet  Run snippets (custom snippets can be registered)Required SetupDisplay your config:rt config showCreate your Github config:rt config gh setupNote:
To create your config you will need to have a Personal Github Oauth Token, that can be createdhere.
Make sure to give itrepo:allandadmin:orgpermissions.Register Projectsrt config projects detect ./<your-projects-dir>Register Snippetsrt snippet register <path-to-snippet-file> | <path-to-dir-with-snippets>DevelopmentSetupThis project uses poetry for dependency management, let's install it:pip install poetryRunYou can use poetry to install all dependencies and use the current state of the CLI as follows:poetry installpoetry shell # opens new shell in virtual env> rt config show> ...How to ContributeIn order to contribute you just have to have Python installed on your machine. In case you do not have it installed get it frompython.org.Linting ToolThis project is usingpre-committo enable linting and auto-formatting as a pre-commit hook.
The hooks are configured in.pre-commit-config.yaml.To install the hooks you have to run the following command (only once):pipinstallpre-commit
pre-commitinstallThen you can trigger all the hooks manually by running:poetryinstall
poetryrunpre-commitrun--all-filesAdditionally on everygit committhe hooks will be triggered and have to pass.How to run testsYou can run all the tests, by simply running:poetryinstall
poetryrunpytest-vvSupport & FeedbackYour contribution is very much appreciated. Feel free to create a PR or an Issue with your suggestions for improvements.
Package: repoupdater
repoupdaterUpdate dependencies in your repositories.This application was heavily based onaddonupdaterbyLudeeus. Big props to him for probably 90%+ of this project!InstallTo install, just run:Requires Python version 3.5.3+python3-mpipinstall--upgraderepoupdater--userExampleThe following example will not commit anything since--testis enabled. This
is good for testing you have the right repo and confirming before you commit.repoupdater--tokenAAAAAAAAAAAAAAAAAAAAA--repotimmo001/home-panel--apk--docker_pathdocker--testStartingupdatesequencefortimmo001/home-panel
Checkingforapkupdates
curlAlreadyhavethenewestversion7.61.1-r1
gitAlreadyhavethenewestversion2.18.1-r0
yarnAlreadyhavethenewestversion1.7.0-r0
apk-toolsAlreadyhavethenewestversion2.10.1-r0
bashAlreadyhavethenewestversion4.4.19-r1
busyboxAlreadyhavethenewestversion1.28.4-r3
ca-certificatesAlreadyhavethenewestversion20171114-r3
nginxAlreadyhavethenewestversion1.14.2-r0
nodejs-currentAlreadyhavethenewestversion9.11.1-r2
tzdataAlreadyhavethenewestversion2018f-r0
:arrow_up:Updatestartoversion1.31-r0
Creatingnewcommitinmasterfortimmo001/home-panel{'commit':Commit(sha="4085943979212b027cf7a8a92ed74501e8614e77"),'content':ContentFile(path="docker/Dockerfile")}Testwasenabled,skippingcommitCLI optionsparamaliasdescription--token-TAn GitHub Access token withrepopermissions.--repo-RName of the repo for the repository. eg.myorg/myrepo--apk-aCheck for apk updates.--pip-pCheck for pip updates.--testNoneIf this flag is used commits will be omitted.--verboseNonePrint more stuff to the console.--apk_versionNoneTarget version of apk packages, like3.9.--docker_path-DPath to yourDockerfile. Leave this blank for the root directory.--python_req_path-PPath to your pythonrequirements.txt. Leave this blank for the root directory.--releaseNoneCreates a new release this argument require release version eg.v1.0.3.--forkNoneCreate a fork before creating a pull request, useful if you don't have access to the repo.-pull_request-PRCreate a PR instead of pushing directly to master.LinksContribution GuidelinesCode of ConductLicenseMIT LicenseCopyright (c) 2019 TimmoPermission 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: repoutil
repoutilrepoutil is a simple command line utility to write gitignores, licenses and workflow files to a project.UsageUsage: repo [OPTIONS] COMMAND [ARGS]...

  repo is a simple command line utility to write gitignores, licenses and
  workflows to a repo.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  g  Generates a gitignore file for the given language.
  l  Generates a license file for the given license.
  w  Generates a workflow file for the given language.Examples:repo g python # generate a gitignore file for python
repo l mit # generate a mit license fileVersioningrepoutil releases follow semantic versioning, every release is in thex.y.zform, where:x is the MAJOR version and is incremented when a backwards incompatible change to stella is made.y is the MINOR version and is incremented when a backwards compatible change to stella is made, like changing dependencies or adding a new function, method, or features.z is the PATCH version and is incremented after making minor changes that don't affect stella's public API or dependencies, like fixing a bug.LicensingLicense © 2021-Present Shravan AsatiThis repository is licensed under the MIT license. SeeLICENSEfor details.
Package: repovisor
The Repository Supervisorversion number: 0.0.8 author: Gavin CooperOverviewA tool for supervising multiple repositories, checking their status and
providing regular reminders of unfinished work.Who is it forThis tool is primarily designed for those developers or repository users
who may have multiple (read 10+) repositories all possibly being touched
during a day. It’s main benefit will be providing a regular report of
repositories that are in an uncomitted/unpushed or unpulled state,
allowing you to write your commit messages and push your local changes
whilst the work is still fresh in your mind.Installation / UsageTo install use pip:$ pip install repovisorOr clone the repository:$ git clone https://github.com/gjc216/repovisor.git
$ python setup.py installAs a manually run script, or added as a cron job it will provide a
status for all repositories in it’s internal database, showing the
results either within a terminal, or as a web generated reportExampleOnce installed you should have access to a command line program. To use
it try:$ repovise search /home/<userid>/<repostore>This will give output for all repositories within . Note the default is
to query the upstream locations for all repos found.It can also create a shorter representation of each repository by
passing the--brief,-boptionTechnology StackWritten in python, it is based off the GitPython package , providing
user facing UI featuresCurrently the VCS it supports is: * Git * -Mercurial- * -Subversion-ContributingTBD
Package: repox
Pyrepox: Repox for HumansPyrepox is a lightweightRepoxclient written in Python. It is designed to make reading, writing,
updating, and deleting content in your Repox instance as convenient as
possible.>>>fromrepox.repoximportRepox>>>r=Repox("http://localhost:8080","username","password")>>>r.list_all_aggregators()['dltn']>>>r.list_all_aggregators(verbose=True)[{'id':'dltn','name':'Digital Library of Tennessee','nameCode':'dltn','homepage':'http://localhost:8080/repox'}]>>>r.get_list_of_providers("dltn")['utk','utc','cmhf','knox','mtsu','crossroads','tsla','nash','memphis']Installation$ pip install repoxDocumentationDocumentation is available athttps://pyrepox.readthedocs.io/en/latest/.Examples for each currently defined method is documented in therepox package documentation.Todosare also documented.Want to Help?Help is very much appreciated.  SeeContributingor open an issue in theissue tracker.
Package: repoze.annotea
repoze.annotea READMErepoze.annoteaimplements the server side of the W3CAnnoteaspecification for RDF-based annotations on content, usingrepoze.bfgas the underlying framework for the application.Please see docs/index.rst for the documentation.repoze.annotea Changelog0.1 (2008-11-30)Initial release.