Saravanan666/pypi-org huggingface dataset:
Package: devpi-passwd-reset
devpi-passwd-reset: password reset view for devpi-webThis plugin adds a new view allowing users to reset their passwords.Installationdevpi-passwd-resetneeds to be installed alongsidedevpi-web.You can install it with:pip install devpi-passwd-resetThere are no further installation steps needed asdevpi-serverwill automatically discover the plugin through calling hooks using the setuptools entry points mechanism.UsageIn a default installation, the view would be accessible athttp://localhost:3141/+password-reset.Users can enter a user name or email address.
If a matching user exists and has the email set, a mail is sent with a link to set a new password.
The link is valid for 24h as long as the password wasn’t changed in the meantime.ConfigurationYou have to configure mail server settings by providing--passwd-reset-config=path_to_config.Create a yaml file with a dictionary containing another dictionary under thepyramid_mailerkey.You must at least provide themail.default_sendersetting.
By defaultmail.hostislocalhostandmail.portis25.Seehttp://pythonhosted.org/pyramid_mailer/#configurationon configuration options available.Example config:pyramid_mailer:mail.port:8025mail.default_sender:mail@example.comdevpi-passwd-reset plugin hooksPlugins can add password validation to enforce policies using thedevpi_passwd_resetentry point insetup.py.defdevpipasswdreset_validate(password):"""Called to validate a password.

      Raises ValueError which is used as message to the user.
    """Changelog2.0.0 - 2023-12-19drop support for Python <= 3.6.require devpi-server>=6.0.01.0.0 - 2016-06-29initial release
Package: dev-pipeline
dev-pipeline============|codacy||code-climate|A tool to help manage projects with dependencies spread across repositories.Inspiration-----------I work on several projects spread across repositories; some of these leveragesub-repositories in some form, and it's led to additional complexity trying tostay in sync (especially when dealing with merges, release lines, hot fixes,and all the other fun things that happen in large software projects).  Thegoal here is to have a suite of scripts to help keep repositories in sync andworking well together, without the issues that sub-repositories introduce.Installation------------Requirements~~~~~~~~~~~~dev-pipeline requires python3; python2 will not work.>From PyPi~~~~~~~~~If a published version is good enough, you can install using pip_.  PyPi_ hasall published versions, including alpha and beta releases... code:: bash$ pip3 install dev-pipeline>From Source~~~~~~~~~~~If the version in PyPi_ isn't recent enough, you can install directoy fromsource using pip_.  Because dev-pipeline is spread across several repositories(each tool and plugin is tracked separately), you'll need to install all ofthem as well (see their documentation).  Dependencies are listed in`setup.py`_... code:: bash$ cd /path/to/dev-pipeline$ pip3 installIf you don't have pip available, you can run :code:`setup.py` directly... code:: bash$ cd /path/to/dev-pipeline$ python3 setup.py installIf the install completes without errors, then you're good to go.Using-----The first thing you'll need to do is write a `build configuration`_.  Onceyou're ready, a build directory... code:: bash# configure with default settings$ dev-pipeline configureIf everything went well, you're ready to build... code:: bash# enter whatever directory the configure step used$ cd build# bootstrap will both pull the package sources and build them$ dev-pipeline bootstrapThat's it.  Check the tool documentation for information on what's available... |codacy| image:: https://api.codacy.com/project/badge/Grade/0d9cf1d52ca846dc99de6cc621dfeb7b:target: https://www.codacy.com/app/snewell/dev-pipeline?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=dev-pipeline/dev-pipeline&amp;utm_campaign=Badge_Grade.. |code-climate| image:: https://api.codeclimate.com/v1/badges/9427722fafe270b6716f/maintainability:target: https://codeclimate.com/github/dev-pipeline/dev-pipeline/maintainability:alt: Maintainability.. _build configuration: docs/config.rst.. _pip: https://pypi.python.org/pypi/pip.. _PyPi: https://pypi.org/project/dev-pipeline/.. _setup.py: https://github.com/dev-pipeline/dev-pipeline/blob/master/setup.py
Package: dev-pipeline-bootstrap
Adev-pipelineplugin to add thebootstrapcommand.bootstrapwill update checkouts, then perform a build.  It’s similar
but not quite identical to runningcheckoutandbuildcommands
(bootstrapwill interleave the operations).InstallationThe simplest way to install is usingpip.$cd/path/to/dev-pipeline-bootstrap$pip3installIf you don’t have pip available, you can runsetup.pydirectly.$cd/path/to/dev-pipeline-bootstrap$python3setup.pyinstallYou’ll need scm plugins installed to do anything useful.DocumentationInformation about thebootstrapcommand is avaialble in thedocumentation.
Package: dev-pipeline-build
Adev-pipelineplugin to provide build functionality.  It will add thebuildcommand todev-pipeline, permitting use of any
installed builder plugin.InstallationThe simplest way to install is usingpip.$cd/path/to/dev-pipeline-build$pip3installIf you don’t have pip available, you can runsetup.pydirectly.$cd/path/to/dev-pipeline-build$python3setup.pyinstallYou’ll need scm plugins installed to do anything useful.DocumentationInformation about thebuildcommand is avaialble in thedocumentation.
Package: dev-pipeline-build-order
Adev-pipelineplugin to add thebuild-ordercommand.build-orderwill provide information about the order components will be
built in various output formats.InstallationThe simplest way to install is usingpip.$cd/path/to/dev-pipeline-build-order$pip3installIf you don’t have pip available, you can runsetup.pydirectly.$cd/path/to/dev-pipeline-build-order$python3setup.pyinstallYou’ll need scm plugins installed to do anything useful.DocumentationInformation about thebuild-ordercommand is avaialble in thedocumentation.
Package: dev-pipeline-cmake
ACMakeplugin fordev-pipelineInstallationThe simplest way to install is usingpip.$cd/path/to/dev-pipeline-cmake$pip3installIf you don’t have pip available, you can runsetup.pydirectly.$cd/path/to/dev-pipeline-cmake$python3setup.pyinstallYou’ll need cmake installed.  Doing that is beyond the scope of this document,
but it should be available for pretty much every operating system.UsingYou can usecmakeas an option forbuildin abuild.config.  Information about options you can set are in thedocumentation.
Package: dev-pipeline-configure
Adev-pipelineplugin to provide theconfigurecommand.configureis used to prepare a project for use, and is required before
any other command will work.InstallationThe simplest way to install is usingpip.$cd/path/to/dev-pipeline-configure$pip3installIf you don’t have pip available, you can runsetup.pydirectly.$cd/path/to/dev-pipeline-configure$python3setup.pyinstallDocumentationInformation about theconfigurecommand is avaialble in thedocumentation.
Package: dev-pipeline-git
Agitplugin fordev-pipelineInstallationThe simplest way to install is usingpip.$cd/path/to/dev-pipeline-git$pip3installIf you don’t have pip available, you can runsetup.pydirectly.$cd/path/to/dev-pipeline-git$python3setup.pyinstallYou’ll need git installed.  Doing that is beyond the scope of this document,
but it should be available for pretty much every operating system.UsingYou can usegitas an option forscmin abuild.config.
Information about options you can set are in thedocumentation.
Package: dev-pipeline-scm
Adev-pipelineplugin to provide source control functionality.  It will add
thecheckoutcommand todev-pipeline, permitting use of any
installed scm plugin.InstallationThe simplest way to install is usingpip.$cd/path/to/dev-pipeline-scm$pip3installIf you don’t have pip available, you can runsetup.pydirectly.$cd/path/to/dev-pipeline-scm$python3setup.pyinstallYou’ll need scm plugins installed to do anything useful.DocumentationInformation about thecheckoutcommand is avaialble in thedocumentation.
Package: devpi-plumber
Mario, the devpi-plumber, helps to automate and test largedevpiinstallations. It offers a simple python commandline wrapper
around the devpi client binary and utilities for using devpi in a test harness. To get access to the latter, install Mario
with the extratestrequirement:pip install devpi-plumber[test]Mario by Example:Among others, it can be used to automate the upload of packages:withDevpiClient('https://devpi.company.com','user','secret')asdevpi:devpi.use('user/testindex')devpi.upload('path/to/package-1.0.tar.gz')To make it easier to perform modifications on non-volatile indices, there is a context manager that temporarily toggles the volatile flag.withvolatile_index(devpi,'user/prodindex'):devpi.remove('broken_package==0.1.0')In order to simplify the testing of such plumbing scripts, it ships with a simple context manager for starting and stopping devpi servers in tests.defdo_maintenance(devpi):""" My plumbing script """devpi.use('user/testindex')# ...users={'user':{'password':'secret'},}indices={'user/prodindex':{},'user/testindex':{'bases':'user/prodindex'},}withTestServer(users,indices)asdevpi:do_maintenance(devpi)LicenseNew BSD
Package: devpi-private-mirrors
devpi-private-mirrorsPlugin prevent mixing packages using both private and public mirrors at the same time.Installationpipinstalldevpi-private-mirrorsThere is no configuration needed as devpi-server will automatically discover the plugin
through calling hooks using the setuptools entry points mechanism.MotivationSometimes you need to use private mirrors, but still want access to pypi.With base devpi only option is to specify both as private index bases,
but in that case you got mix of packages and their versions between
private and public mirrors.Which leads to security and compatibility issues.This plugin allows mark some indexes as private and hide all packages from them
from public indexes.UsageCreate local index withstage_private_basetype with several mirrorsdevpi index -c root/dev type=stage_private_base bases=root/private1,root/private2,root/pypiSetprivate_baseoption for all private basesdevpi root/private1 private_base=True
devpi root/private2 private_base=TrueNow private mirrors will not be mixed with public.Note: private indexes can be mixed with each other (for example, if you have some version
of package in private1 and some in private2, you will get both versions).
Package: devpi-process
devpi-processAllows you to createdevpiserver process with indexes, and
upload artifacts to that programmatically.installpipinstalldevpi-processusefrompathlibimportPathfromdevpi_processimportIndex,IndexServerwithIndexServer(Path("server-dir"))asserver:# create an index mirroring an Artifactory instancemagic_index_url="https://magic.com/artifactory/api/pypi/magic-pypi/simple"base_name="magic"server.create_index(base_name,"type=mirror",f"mirror_url={magic_index_url}")# create a dev index server that bases of magic PyPI, and upload a wheel to itdev:Index=server.create_index("dev",f"bases={server.user}/{base_name}")dev.upload("magic-2.24.0-py3-none-any.whl")assertdev.url# point the tool consuming the index server to this
Package: devpi-rss
devpi-rss is a plug-in fordevpi-serverwhich generates RSS feeds for
devpi indices.Requirementsdevpi-server >= 2.2.2
devpi-web >= 2.4.0Installationpip install devpi-rssWhen the devpi-server gets started without a custom theme (without passing the--themeparameter), then no further configuration is required, since devpi-rss overwrites thetemplates/macro.ptof the default theme in order to make the RSS button visible. If you use a
custom theme, then you have to manually apply the content ofdevpi-rss/templates/macro.ptinto
your theme.UsageBy default every single index generates its own RSS feed, but an RSS feed can be activated or
deactivated by modifying the regarding index property:devpi-server index someuser/someindex rss_active=Trueordevpi-server index someuser/someindex rss_active=FalseAdditional devpi-server commandline options:--rss-max-items RSS_MAX_ITEMS
                      maximum number of stored feed items [50]
--rss-truncate-desc   do not let descriptions exceed 32 lines or 1024
                      characters
--rss-no-auto         do not automatically activate rss for new indices1.0.9fix for python3.4 (thx to kelnmaari)1.0.8fix xml declaration (‘utf-8’ instead of ‘utf8’)1.0.7fix callback signature (projectname -> project) (required for recent pluggy version)
Package: devpi-slack
Installationdevpi-slackneeds to be installed alongsidedevpi-server.You can install it with:pip install devpi-slackFordevpi-serverthere is no configuration needed, as it will automatically discover the plugin through calling hooks using the setuptools entry points mechanism.Details about configuration below.Configurationdevpi-slack can trigger Slack notifications upon package upload.devpi index /testuser/dev slack_icon=http://doc.devpi.net/latest/_static/devpicat.jpg slack_hook=https://hooks.slack.com/services/XXX/YYY/ZZZ slack_user=devpiEnvironment Variables:Optionally, you can pass environment variables to configure the plugin.SLACK_HOOKto adjust the Slack hook URL used. Defaults to the devpi slack_hook value above. (Note: slack_hook provided by devpi takes precedence. Setting both will default to the value specified in devpi)SLACK_ICONto adjust the Slack icon used. Defaults to: <http://doc.devpi.net/latest/_static/devpicat.jpg>SLACK_USERto adjust the Slack username used. Defaults to: devpiUninstallRemove the index configuration:devpi index /testuser/dev slack_icon-= slack_hook-= slack_user-=
Package: devpi-theme-16
This is a custom theme for devpi-serverInstallationdevpi-theme-16needs to be installed alongsidedevpi-server.Simply install it with:pip install devpi-theme-16Fordevpi-serverthere is no configuration needed to activate the plugin,
as it will automatically discover the plugin through calling hooks using the
setuptools entry points mechanism.Contribute$ source <VIRTUALENV>/bin/activate
$ export THEME_16_ROOT=/tmp/theme-16
$ pip install devpi-server devpi-web
$ devpi-server init --serverdir $THEME_16_ROOT
$ pip install -e .
$ CHAMELEON_RELOAD=1 devpi-server --start --host 0.0.0.0 --port 9000 --serverdir $THEME_16_ROOT --threads=2 --debug ; tail -f $THEME_16_ROOT/.xproc/devpi-server/xprocess.logopen browser athttp://127.0.0.1:9000.Screenshotsindexloginremove packageproject version pagestatus pageinfo pageLinksStableDevelopmentProject home page:https://github.com/saxix/devpi-theme-16Issue tracker:https://github.com/saxix/devpi-theme-16/issues?sortDownload:http://pypi.python.org/pypi/devpi-theme-16/
Package: devpi-timemachine
devpi-timemachinedevpi-timemachineis adevpiplugin that allows you topip install(and
other similar Python package installation commands) packages as if you were
doing so on a previous date in time. Time travel into the future to install
not-yet-released packages is not supported (yet).UsageInstalldevpianddevpi-timemachine.Create a newdevpiindex. There are three important options to use here.
See below for an example command and explanation of these options.Specify your new index when using pip.$ devpi index -c 20200101 type=timemachine bases=/root/pypi
$ pip install --index-url http://localhost:3141/root/20200101/+simple/ requests
$ pip list  # Notice that these installed versions are from 2019, not 2023
Package    Version
---------- ----------
certifi    2019.11.28
chardet    3.0.4
idna       2.8
pip        23.1.2
requests   2.22.0
setuptools 67.7.2
urllib3    1.25.7
wheel      0.40.0These options do the following:The index name ("20200101" in this example) must be a date parseable bydatetime.fromisoformat. This date is used as the cutoff date for allowing
package versions through the proxy. This is the mechanism by which you can
configuredevpi-timemachine(and the only real configuration option). The
time machine plugin uses this date and PyPI file upload times to choose which
releases to filter and to emulate what was available on PyPI at a given point
in time.type=timemachineinstructs devpi to create the index with the "timemachine"
type, which automatically loads thedevpi-timemachineplugin. No other
configuration is necessary to enable the plugin.bases=/root/pypiconfigures the index to inherit from the/root/pypiindex. I recommend using this option (or using another base that inherits from
PyPI), as the date filtering is based on PyPI metadata, but it may in theory
work with other bases as well.MotivationIdeally, upgrading project dependencies is done early and often to reduce the
upgrade burden at any given point. This is not always possible, and upgrading an
older project by several years all in one swoop can be difficult. You can make
these changes in smaller chunks by explicitly upgrading major dependencies to
intermediate versions until you get to your target set of dependencies, but this
may result in installing incompatible dependencies, especially in the case of
dependency X setting a minimum version but not a maximum version for its own
dependency Y. Thedevpi-timemachineapproach allows you to upgrade all of your
dependencies up to a calendar date you choose to reduce this possibility; this
plugin can be used to simulate your desired practice of upgrading dependencies
on a cadence, e.g. monthly.StatusThis is a proof of concept at this stage. Anecdotal testing and development
shows that is works as intended, but I'm sure there are limitations, bugs, and
edge cases that are not accounted for here.
Package: devpi-tools
devpi-toolsSmall Python library for interacting with devpi servers via web APIInstallingpipinstalldevpi-toolsUsagefromdevpi_toolsimportDevpiClientclient=DevpiClient('http://127.0.0.1:3141')client.indexes()# list all indexesindex=client.index('/root/pypi')# fetch a single indexindex.projects()# list all projectsproject=index.project('devpi-tools')# fetch a single project/package by nameproject.versions()# list of uploaded versionsproject.version('1.0.1')# fetch details on a specific versionAnother example, finding the latest version of a specific package, in a specific devpi index:index=client.index('/root/pypi')v=index.project('requests').latest_version()print('version:%s'%v.version)print('uploaded:%s'%v.uploaded)
Package: devpi-web
devpi-web: web interface plugin for devpi-serverThis plugin adds a web interface with search fordevpi-server.Seehttps://doc.devpi.netfor quickstart and more documentation.Installationdevpi-webneeds to be installed alongsidedevpi-server.You can install it with:pip install devpi-webThere is no configuration needed asdevpi-serverwill automatically discover the plugin through calling hooks using the setuptools entry points mechanism.SupportIf you find a bug, use theissue tracker at Github.For general questions useGitHub Discussionsor thedevpi-dev@python.org mailing list.For support contracts and paid help contactmail at pyfidelity.com.Changelog4.2.1 (2023-07-02)Bug FixesFix #953: Exception when browsers send ETag for documentation pages.Fix #980: Remove long deprecated backward compatibility for old pluggy versions to fix error with pluggy 1.1.0.4.2.0 (2022-12-05)FeaturesSet ETag header to the doczip hash and max-age to 60 seconds for all documentation files.Add--keep-docs-packedoption.Bug Fixescommon.js, macros.pt: Fix #823: Remove moment.js and update jquery to 3.6.0.common.js: Fix #764: Jumping to anchors with whitespace in documentation now works.doc.pt, docview.js, style.css: Fix #764: Rewrote setting height of documentation iframe which also fixes scrolling to anchors generated by JavaScript.Fix project names from mirrors with devpi-server >= 6.8.0.Fix exception in not found page of project URLs.toxresults.pt, version.pt: Fix anchor generation for toxresults URLs.4.1.1 (2022-09-28)Bug FixesGeneralize GET redirect from URLs with trailing slash to ones without for consistency.4.1.0 (2022-08-16)FeaturesSupport original project names for mirrors with devpi-server 6.6.0.project.pt: Fix #601: add refresh button to project page.project.pt: add navigation links to original project page for mirrors and to “Simple page” of projects.Bug FixesFix #880: explicitly register views for GET method, so there is a 404 on POSTs, like when using twine with wrong upload url.Fix #867: AttributeError duringdevpi-importand maybe other commands.4.0.8 (2021-08-12)Bug FixesOn startup loop over mirror indexes last to avoid filling up the indexing queue, which processes non mirror indexes first.
Package: devplayer
DevPlayerCLI for playing music and creating playlists using PythonInstallationInstallation pre-requisitesffmpegUsingPyPi packageWindowspip install devplayerMacOS / Linuxpip3 install devplayerUsingsetup.pyclone the repository to local machinegit clone https://github.com/Devansh3712/DevPlayerinstalldevplayerWindowspython setup.py installMacOS / Linuxpython3 setup.pyUsageUsage: dev [OPTIONS] COMMAND [ARGS]...

  CLI for playing music and creating playlists

Options:
  --help  Show this message and exit.

Commands:
  add       add song to a playlist
  all       show all playlists
  delete    delete a playlist
  new       create a new playlist
  play      play a playlist
  playsong  play a song from a playlist
  remove    remove a song from a playlist
  show      show songs in a playlistaddUsage: dev add [OPTIONS]

add song to a playlist

Options:
-p, --playlist TEXT  name of playlist to add  [required]
-c, --custom TEXT    give custom name to song
-u, --url TEXT       URL of the song
-n, --name TEXT      name of the song
--help               Show this message and exit.downloads and adds the given song to the input playlist.YouTube URLornameof song can be used to add, with respective flagsallUsage: dev all [OPTIONS]

show all playlists

Options:
--help  Show this message and exit.shows all available playlists in the local machinedeleteUsage: dev delete [OPTIONS]

delete a playlist

Options:
-p, --playlist TEXT  name of playlist  [required]
--help               Show this message and exit.delete a playlist along with all its contentsnewUsage: dev new [OPTIONS]

create a new playlist

Options:
-n, --name TEXT  name of the playlist  [required]
--help           Show this message and exit.creates a new empty playlist in the local machineplayUsage: dev play [OPTIONS]

play a playlist

Options:
-s, --shuffle        shuffle the playlist
-p, --playlist TEXT  name of playlist to play  [required]
--help               Show this message and exit.play all the songs in the input playlist, use-sor--shuffleflag to shuffle the songs in the playlistplaysongUsage: dev playsong [OPTIONS]

play a song from a playlist

Options:
-n, --name TEXT      name of the song  [required]
-p, --playlist TEXT  name of playlist  [required]
--help               Show this message and exit.play a single specified song from the input playlistremoveUsage: dev remove [OPTIONS]

remove a song from a playlist

Options:
-n, --name TEXT      name of the song  [required]
-p, --playlist TEXT  name of playlist  [required]
--help               Show this message and exit.remove a single specified song from the input playlistshowUsage: dev show [OPTIONS]

show songs in a playlist

Options:
-p, --playlist TEXT  name of the playlist  [required]
--help               Show this message and exit.shows all available songs of the input playlist