Saravanan666/pypi-org huggingface dataset:
Package: repo2rocrate
repo2rocrateGenerate aWorkflow Testing RO-Cratefrom a "best-practices" workflow repository. In this context, "best-practices" means the set of guidelines, especially regarding repository structure and metadata, put together by the workflow language community. Here is the list of currently supported workflow languages, together with the community resources used as a reference:Galaxy:IWC's howto for adding workflowsNextflow: nf-coreguidelinesandinfo on pipeline structure(and ultimately the template generated bynf-core create)Snakemake:snakemake-workflowsguidelines, Snakemakedistribution and reproducibility docsInstallationpip install repo2rocrateUsageThe package consists of an API and a command line tool, also calledrepo2rocrate. It can generate RO-Crate metadata in-place or build an RO-Crate in a separate directory. The approach is to generate as many metadata as possible based on what can be extracted from known files and knowledge of the expected layout; the user can complement this by adding or overriding various bits via the available options.Examples:git clone https://github.com/crs4/fair-crcc-send-data
repo2rocrate -r fair-crcc-send-data --repo-url https://github.com/crs4/fair-crcc-send-data --license GPL-3.0git clone https://github.com/nf-core/rnaseq
cd rnaseq/
repo2rocrateThe above commands add anro-crate-metadata.jsonfile to the repository directory. To generate an RO-Crate in a separate directory, use the-ooption. Runrepo2rocrate --helpto get a description of all available options.
Package: repo-activity-score
repo-activity-scoreThe goal of this repository is to collect reference implementations of theRepository Activity Score.Currently we got only a single implementation (in Python), but are considering to add similar versions for JavaScript, Go and C#. Feel free to contribute other implementations! :)Installationpipinstallrepo-activity-scoreUsageimportrepo_score.scoreasScore# code sample - get the repo json data# https://github.com/zkoppert/innersource-crawlergithub_repo_json=github.get_reposcore=Score.calculate(github_repo_json)LimitationsThese implementations assume that the repositories for which you want to calculate the Repository Activity Score are hosted in GitHub i.e. the respective metadata is available via the GitHub Search API and GitHub stats/participation API.
The current algorithm is based on the structure available through thezkoppert/innersource-crawlerresult.Some incompatibility could be found, however, it should be possible with relatively low effort to adapt these implementations to other version control systems.Educational purposes onlyThese implementations are provided as reference implementations and with that for educational purposes only.LicenseMIT
Package: repoaudit
repoauditA tool for validating apt and yum repositories.Installation and UsageTo install repoaudit from PyPI:pip install repoauditThen run:repoaudit --helpExamples# validate all distros of azure-cli apt repo
repoaudit apt https://packages.microsoft.com/repos/azure-cli/

# validate only focal and bionic distros of azure-cli apt repo
repoaudit apt --dists focal,bionic https://packages.microsoft.com/repos/azure-cli/

# validate azurecore repo
repoaudit yum https://packages.microsoft.com/yumrepos/azurecore/

# validate all nested yumrepos
repoaudit yum -r https://packages.microsoft.com/yumrepos/

# validate all nested aptrepos
repoaudit yum -r https://packages.microsoft.com/repos/

# output json results to a file
repoaudit yum -r https://packages.microsoft.com/yumrepos/ -o example_file.json

# check metadata signatures by providing public keys
repoaudit apt https://packages.microsoft.com/repos/cbl-d -p https://packages.microsoft.com/keys/microsoft.asc,https://packages.microsoft.com/keys/msopentech.ascDevelopmentSetupFirst install poetry per theinstallation docs.Then clone the repo, cd into the repoaudit directory, and runpoetry install.UsageTo load the poetry shell and run repoaudit:poetry shell
repoauditAlternatively you can run:poetry run repoauditReleasingFirst bump the version in pyproject.toml. Then commit it:git commit -am "0.2.0 Release"Open a PR and get it merged. Then go tothe Github new release pageand create a new releaseOnce that's done, pull the tag and use poetry to build it:git pull --tags
git checkout 0.2.0
poetry publish --build
Package: repo-autoindex
repo-autoindexGenerate static HTML indexes of various repository typesOverviewrepo-autoindexprovides a minimal CLI and Python library to generate static HTML indexes
for certain types of content, such as yum repositories.pip install repo-autoindex
REPO_URL=$(curl -s 'https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f36&arch=x86_64' | egrep '^http' | head -n1)
repo-autoindex $REPO_URL
xdg-open index.htmlSeethe manualfor more
information about the usage ofrepo-autoindex.Changelogv1.2.1 - 2024-01-15Ensure directories always appear first in indexes.v1.2.0 - 2023-09-22Support streamed fetching to reduce memory usage when fetching large files.v1.1.2 - 2023-09-18Addpy.typedto make package PEP 561 compliant / enable downstream type-checking.v1.1.1 - 2023-04-12Fix handling of kickstart repositories with no checksums in treeinfo.v1.1.0 - 2023-04-04Added limited support for kickstart repositories.v1.0.2 - 2022-10-21Reduced memory usage when handling large yum repositories.v1.0.1 - 2022-08-15Use correct SPDX license identifier in package metadata.v1.0.0 - 2022-08-15Initial stable release.LicenseThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Package: repobee-junit4
repobee-junit4, a JUnit4 test runner plugin forRepoBeerepobee-junit4 v1.0.0 requires RepoBee 3:From version 1.0,
repobee-junit4 is only compatible with RepoBee 3+.OverviewThis is a plugin forRepoBeethat runs
JUnit4 test classes on production classes in cloned student repos. It allows
teachers and teaching assistants to quickly assess the work performed by
students in a managed and fair way. The plugin hooks into therepos clonecommand, and executes test classes on repos when they have been cloned to disk.
A summary report is then printed to the logfile and terminal. By default, the
plugin will only report which test classes failed (and how many tests), but it
is possible to ask for more verbose output which includes detailed information
about each test failure. See thisexample use
casefor a more detailed look at how it works.InstallUse RepoBee's plugin manager to install.$repobeeplugininstallGetting startedThe best way to get started withrepobee-junit4is to head over to theDocs, where you (among
other things) will find more elaborateinstall instructionsandusage instructions.
The latter includes anexample use casewhich hopefully proves useful in clarifying howrepobee-junit4is supposed to
be used.RoadmapThis plugin is in the alpha testing phase. All features currently in the plugin
will remain, but the CLI is not yet final and may change. This is partly due to
the fact that the RepoBee plugin system itself is still in alpha, and may also
change.Versioning for the CLI adheres toSemantic Versioning 2.0.0. The internals
ofrepobee-junit4do not, so this project should not be used as a library.LicenseThis software is licensed under the MIT License. See theLICENSEfile for specifics.
Package: repocache
repocacheUniversal caching and proxying repository server for pypi/maven/npm/yum/rustup, speedup local using.3.5, 3.6, 3.7, 3.8How to startup?pipinstallrepocache

python-mrepocache.main-fdefault.cfg# listen at 0.0.0.0:5000How to use repocache as YUM repository?cd/etc/yum.repos.d# basecurl-Ohttp://192.168.1.2:5000/centos/huawei/Centos-7.repo# sclocurl-Ohttp://192.168.1.2:5000/centos/sclo/Centos-7.repo

yummakecacheHow to use repocache as NPM repository?npmconfigsetregistryhttps://127.0.0.1:5000/npm/default/
npmconfigsetprefix=$HOME/.node_modules_global
npm--verboseinstallsmallest-png@2.0.0-gNPM Search is support.How to use repocache as MVN repository?Change $HOME/.m2/settings.xml as:<?xml version="1.0" encoding="UTF-8"?><settingsxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns="http://maven.apache.org/SETTINGS/1.0.0"xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><profiles><profile><id>repocache</id><repositories><repository><id>repocache</id><url>http://127.0.0.1:5000/mvn/default/</url></repository><repository><id>jitpack.io</id><url>http://127.0.0.1:5000/mvn/jitpack/</url></repository></repositories></profile></profiles><activeProfiles><activeProfile>repocache</activeProfile></activeProfiles><mirrors><mirror><id>repocache</id><url>http://127.0.0.1:5000/mvn/default/</url><mirrorOf>central</mirrorOf></mirror></mirrors></settings>cd/path/to/java-project
mvninstallHow to use repocache as PIP repository?Simply install in shell:pipinstall-ihttp://127.0.0.1:5000/pypi/simple--trusted-host=127.0.0.1:5000click==7.1.2Or change $HOME/.pip/pip.conf as:[global]
trusted-host=127.0.0.1:5000
index-url=http://127.0.0.1:5000/pypi/simpleHow to use repocache as Rustup?exportRUSTUP_DIST_SERVER=http://127.0.0.1:5000/rust/default

curlhttp://127.0.0.1:5000/rust/rustup.sh|shSettting fileSeedefault.cfgOpen sourceThis repository was copy from pypicache early, but fully rewrite later.
PR wellcome.
Package: repo-chat
Repo ChatRepo Chat is a software package for answering queries about code repositories using large language models with document retrieval. It leverages thelangchainlibrary to facilitate the retrieval and chat operations.InstallationTo install the required libraries, run:pipinstall-rrequirements.txtUsageBasic UsageIn order to use Repo Chat, you need to set theOPENAI_API_KEYin a .env file as shown below:OPENAI_API_KEY=your_api_key_hereAfter setting the API key, you can use thechain_managermodule to create a chain:fromrepo_chatimportchain_managerchain=chain_manager.get_chain("UPGRADE_QUERY")You can then call the chain with input data:chain_input_data={"query":"What does the function do?","repo":"https://github.com/my-org/my-repo",}output=chain(chain_input_data)Advanced UsagePlease refer to the source code examples in the following files to learn more about Repo Chat's advanced features:repo_chat\chain_manager.pyrepo_chat\chat_utils.pyrepo_chat\eval_utils.pyrepo_chat\templates.pyChain TemplatesRepo Chat uses multiple chain templates for different purposes. The templates are defined inrepo_chat\templates.py. Here is a brief explanation of the available templates:UPGRADE_QUERY: Expand or refine a given query to improve the retrieved documents' quality and relevance.RUN_QUERY_RAG: Process the given query and its similar documents to provide the most accurate and relevant response possible.CONTEXT_VALIDATOR: Validate the context sufficiency of the given query and similar documents.CRITIC: Score a given response for a query by evaluating relevancy and accuracy.RAW_CODE: Process a given query for a specific code repository.EvaluationRepo Chat provides evaluation utilities in therepo_chat\eval_utils.pymodule. TheCriticChainclass is used to evaluate a response generated by the model. TheQueryEvaluatorclass is used to evaluate a single query against the Repo Chat chain, andMultiQueryEvaluatorevaluates multiple queries in parallel.ContributingFeel free to submit issues or pull requests if you have any suggestions or improvements you would like to add to Repo Chat.LicenseRepo Chat is released under the MIT License.
Package: repo-cloner
repo-clonerOpen source repository cloner.Github:https://github.com/danpeczek/repo-clonerrepo-cloner is a python utility to clone multiple repositories at once without bothering
to do it manual. Tool reads the information about your repositories and clone them into current
directory.mainSetupCurrently the tool is available only on test pypi repository.$pipinstall-ihttps://test.pypi.org/simple/repo-cloner==0.0.4Now try to run repo-cloner:$repo-cloner-hUsage:repo-cloner[--help][-h][--repo_file][-rf]--help,-h:printsthismessage--repo_file,-rf:.ymlfilewithlistofrepositoriestocloneThe list of repositories can be passed either:-git@repo1.git-https://repo2.git-https://repo3.gitor:dir1:-git@repo1.gitdir2:dir3:-https://repo2.gitdir4:-https://repo3.gitIf you will use the second approach then remember:dirwill be another directory created from the directory from where you are calling the script.You cannot mix structures - list of repositories and other directories cannot lay on the same level e.g:path1:-repo1-repo2-repo3-repo4-repo5-repo6-repo7path2:-repo8-repo9-repo10Is not allowed.LicenseMIT LICENSE
Package: repo-config
Installation$[sudo]pipinstallrepo-config$[sudo]npmi-grepo-configHow it workspath/to/repo/.config/- repo configgit@host:owner/repo.git - git remote, required for save/load~/.config/repo-config/owner/repo/- dotfilesFeaturesstore repos config in dotfilesexclude unwanted files from commityou can symlink dotfiles to a special backup repoeasy to perform search and commandsConfig$echo"/.config">>~/.gitignoreoptional. environment variables:$exportREPO_CONFIG_HOME=~/.config/repo-config# $XDG_CONFIG_HOME/repo-config by default$exportREPO_CONFIG_DIR=.config# .config by defaultExamples$cdpath/to/repo
$repo-configinit.
$...# generate and edit config/tmp files$repo-configsave.
.config/savedto~/.config/repo-config/owner/repo
$repo-configload.
.config/loadedfrom~/.config/repo-config/owner/reposymlink dotfiles to a special backup repository:$ln-fspath/to/backup-repository/repo-config~/.config/repo-configsave/load multiple repos config$find~/git-typed-maxdepth1-execrepo-configsave{}\;$find~/git-typed-maxdepth1-execrepo-configload{}\;readme42.com
Package: repocribro
Repocribro is web application allowing users to register their GitHub repository so they can
be managed, searched, browsed, tested, etc. (depends on used extensions) with the site. Main
idea is to provide simple but powerful modular tool for building groups of GitHub repositories
which are developed by different users and organizations.Cribromeans sieve inItalian language(origins in Latin wordcribrum). This project
provides tool for intelligent sifting repositories, information about them and its contents.Typical use casesCommunity- repositories hub of examples / projects related to the community (methodology,
standards, …)Courses- gathering and evaluating homeworksSpecificationPython-powered web application (Flask+SQLAlchemy)Distributed as python package (will be onPyPi) and via GitHubAbility to extend via python packages (fromPyPi)Extend web interface, functionality and/or CLI commandsFunctionalityUser login via GitHub account (will create an account in app paired with GitHub account)Each user has own page with details and list of (public) repositories in appUser can allow/forbid own GitHub repository within appEach registered repository has own page with details and history, details are gathered viaGitHub APIand some are stored in DBUser can define if the repository page should be public, hidden (secret URL) or private
(logged owner and admins)User has privileges (user/admin)User = managing own repositoriesAdmin = managing everythingMore roles can be created and privileges assigned to rolesSearch repositories (by name, author, description, language, …)Administration zoneUser managementRepositories managementOther settings including extension settingsListening (webhooks) for changes in repository:pushreleaserepositoryREST API for search, repository detail and user detail (public content)All/one repository check can be run as procedure (added to cron or runned at start of
the application)Documentation will be provided (Sphinx,readthedocs)Everything what can be will be tested (pytest,Travis CI, coverage)Ideas for extensionsrepocribro-fileRead file info and store it in database for repositoryrepocribro-testRun test/other script on repository contents and show evaluation on repository pagerepocribro-test-dockerAllow to run tests insideDocker(or other container) with restrictions so hosting
system cannot be harmedrepocribro-badgeAdd functionality to generate badge for repository (likeshields.io)repocribro-<event>Adding some actions for more webhooks (issues, milestones, statuses, …)repocribro-gitlab,repocribro-bitbucket, …repocribro-<org>Domain/organization-specific functionalityLicenseThis project is licensed under the MIT License - see theLICENSEfile for more details.
Package: repocutter
Checkout repos to current cookiecutter configCheckout one or more repos to currentcookiecutterconfigThis will make changes to local repositories, hopefully preserving their historyIdeally only the working tree will changeIgnored files should be backed upUse with cautionUsageusage: repocutter [-h] [-v] [-a] [-c] [-b REV,NEW] [-i LIST] PATH [REPOS [REPOS ...]]

Checkout repos to current cookiecutter config

positional arguments:
  PATH                          path to cookiecutter template dir
  REPOS                         repos to run cookiecutter over

optional arguments:
  -h, --help                    show this help message and exit
  -v, --version                 show program's version number and exit
  -a, --accept-hooks            accept pre/post hooks
  -c, --gc                      clean up backups from previous runs
  -b REV,NEW, --branch REV,NEW  checkout new branch from existing revision
  -i LIST, --ignore LIST        comma separated list of paths to ignore, cookiecutter vars are allowedConfigurationCurrently only written for a configuration exactly like belowTechnically a repo would not need to be apoetryproject if the below section exists within its pyproject.toml fileThis is the only use case at this time (If there are any other configurations you would like added please leave anissue)Each repository’s pyproject.toml file will be parsed for data to recreate its working treeApoetrysection in the project’s pyproject.toml file that looks like the following…[tool.poetry]description="Checkout repos to current cookiecutter config"keywords=["config","cookiecutter","jinja2","repo","template"]name="repocutter"version="0.2.0"…will temporarily write to thecookiecutterproject’s cookiecutter.json file until the repo is created{"project_name":"repocutter","project_version":"0.2.0","project_description":"Checkout repos to current cookiecutter config","project_keywords":"config,cookiecutter,jinja2,repo,template",}The above configuration will reduce the diff, but it will still work if your config is not exactly the sameWhy?As time goes on, and you usecookiecutterfor new projects, you will make more and more changes to yourcookiecutterrepoYou will find these new project layouts are preferable to your older, more outdated, projectsIf you have a project layout configured withcookiecutterthen it’s likely you will want this layout for all your projectsConfiguring your existing projects manually is even more tedious than configuring a new project manually, especially if you have a lot of themBy checking out your projects to your configuredcookiecutterlayout, you can use whatever diff tool you use to rollback any undesired changes
Package: repod
repodThis project contains tooling to maintain binary package repositories for Linux
distributions using thepacmanpackage manager.The latest documentation can be found atrepod.archlinux.page.NOTE:Repod is still alpha grade software and as such has not yet reached
its targeted feature set. It has not been thoroughly tested in the field and
therefore should not be used in a production environment!InstallationYou can install repod using your distribution's package manager or
alternatively by executingpip install repodFurther information on optional requirements and setting up a development
environment can be found in the officialinstallation
instructions.UsagePlease refer to theusage
informationin the official
documentation to learn how to use repod.ContributingRead ourcontributing guideto learn more about how to provide fixes or improvements for the code and
documentation.LicenseRepod's code is licensed under the terms of theGPL-3.0-or-later(see the
top-levelLICENSEfile), its documentation is licensed under the terms of theGFDL-1.3-or-later(see thedocs/LICENSEfile) and its artwork (created by
Safi @betriebsbuero) is licensed under the terms
of theCC-BY-SA-4.0(see thedocs/artwork/LICENSEfile).
Package: repo-daniel
This is a learning project.to build the wheelpython setup.py bdist_wheelto pip install this from the repo_daniel folder runpip install -e .with dev requirementspip install -e .[dev]to actally install runSample Codefrom hello_world import say_hello
say_hello()Build this repohttps://www.youtube.com/watch?v=GIF3LaRqgXo
Package: repo-deploy
Automates code and configuration deployment for continuous deployment environments by periodicallypolling a source repository for configuration changes (http, git, s3, etc). When changes aredetected, the new files are retrieved and any locally configured update triggers are executed(in /etc/repo-deploy/*.d). This is intentionally separate from configuration management systemslike Puppet in order to provide more flexible packaging and build process integration. Thedeployer can be configured to run as a daemon (with supervisord) or under cron (or Puppetagent.)
Package: repogen
📣 Welcome torepogen!⚠️ WarningThis project is in rapid development. Expect breaking API changes.The goal of this project is to automate the creation and configuration of GitHub repositories.The idea is that any team working with Python could use this repository as a reference implemetation
and customize their own platform in a way that fits their team's opinions.There are two components to this platform:phitoduck-projen, a library of Python-basedprojen"Components" (building blocks) for generating scaffolded Python projectsrepogen, a CLI tool for creating configured GitHub repositories with boilerplate projectsQuick Startbrewinstallnodejs# for phitoduck-projenpipinstall-e.# create a repository with a scaffolded python project, save the stateGITHUB_TOKEN="ghp_xxxx"\PULUMI_ACCESS_TOKEN="pul-xxxx"\repogencreate-repo<name># clean up the repositoryGITHUB_TOKEN="ghp_xxxx"\PULUMI_ACCESS_TOKEN="pul-xxxx"\repogendestroy-repo<name>