Saravanan666/pypi-org huggingface dataset:
Package: pipictureframe
Pi Picture FrameA picture frame script primarily developed for Raspberry
Pi but can also run under Linux.
(Some extra work is needed to run under Windows.)It usespi3dto render the pictures.
The actual OpenGL code is frompi3d_demos.Installationsudopip3installpipictureframeUsageRunpi-picture-frame -hto get a comprehensive list of options.FeaturesSmooth and configurable transitions from picture to
picture incl. pre-loading of next picture to avoid
artifacts during transitionProbaility of picture selection based on the number of times
it has been shown in the pastBackground blurringImage resizingConfigurable display of text (e.g. date, file name, etc.)Caching of all picture files in db.Filtering of image listFiltersCurrently only a filter based on image ratings is
implemented. If additonal filters are needed, let me
know.
Package: pipim
pipim: PIP IMprovedDrop-in replacement for pip with behavior that imitates other popular languages
packages managers.Installingpip install --user pipimThen, if you wish for pipim to be invoked when you simply typepip, you can
usepipim replace-pipto create a script in~/.local/bin/pipthat will run
pipim.RationaleWhen you work on Python projects, you often find yourself creating virtual
environments, and having to manually activate them or install dependencies in
them.This is not something you typically do with other languages, where the package
manager is smart enough to know if you meant to install packages at the user
level or at the project level.This is more or less in line with the Zen of Python: explicit is better than
implicit. However I grew tired of having this behavior available everywhere
except with Python, so I decided to write a simple wrapper around pip that will
use virtual environments by default, unless--useris passed.FeaturesBy default, pipim will be installed aspipim, however, you can use it as a
drop-in replacement ofpip, and the following examples assume you did.Automatic use of virtual environmentsThe following commands will automatically create a virtual environment called.venv/if one does not exist already, and then the actual commands inside of it:pip install package1 [package2...]pip uninstall package1 [package2...]If you wish to work outside of a virtual environment, you can use the--userflag. This will try to usepipusif it is
found in your PATH, and will resort to regularpipotherwise.Install packages from requirements.txtIf you do not specify any package, this will runpip install -r requirements.txtin the virtual environment. As with other install commands, this will
create the venv first if it does not exist already.Simply run:pip# orpipinstallEasily installs itself as a replacementYou can usepipim replace-piponce to create a simple script in~/.local/bin/pipthat will invoke pipim instead of pip. This will allow you to
forget about pipim and just runpiplike you always did before, except that
now it comes with extra perks ✨✨.Run a command inside the virtual environmentpip run <command> [arguments...]The first argument will be invoked from.venv/bin/, everything that follows is
passed to it. For example:pip run flask --helpAlways fallback to regular pipEvery unmatched flags are passed down to pip, any unrecognized command will run
pip too.ContributingNoticed a bug? Want to request a feature? Simplyopen a new Issue.
Package: pipimport
Pipimport automatically installs missing modules using pip at import time.
It is best used with virtualenv.Just import pipimport and call install():>>> import pipimport
>>> pipimport.install()Now you can normally import modules that are not currently installed.
Pipimport will call pip (form your virtualenv) and install it before importing.>>> import unipath
Will install module unipath
Downloading/unpacking unipath
  Downloading Unipath-1.0.tar.gz
  Running setup.py egg_info for package unipath
Installing collected packages: unipath
  Running setup.py install for unipath
Successfully installed unipath
Cleaning up...
>>> unipath
<module 'unipath' from '/home/carles/Projectes/piphook/ve/local/lib/python2.7/site-packages/unipath/__init__.pyc'>The modules that can’t be found are remembered so sequential imports don’t try to
download them again. This list is saved in the virtualenv directory ( sys.prefix )
or in the working directory (the first with writing permissions) with the name
of .pipimport-ignore . The list is loaded in subsequent sessions.
Package: pipimport3
Python3 compatible fork of original pipimportPipimport automatically installs missing modules using pip at import time.
It is best used with virtualenv.Just import pipimport and call install():>>> import pipimport
>>> pipimport.install()Now you can normally import modules that are not currently installed.
Pipimport will call pip (form your virtualenv) and install it before importing.>>> import unipath
Will install module unipath
Downloading/unpacking unipath
  Downloading Unipath-1.0.tar.gz
  Running setup.py egg_info for package unipath
Installing collected packages: unipath
  Running setup.py install for unipath
Successfully installed unipath
Cleaning up...
>>> unipath
<module 'unipath' from '/home/carles/Projectes/piphook/ve/local/lib/python2.7/site-packages/unipath/__init__.pyc'>The modules that can’t be found are remembered so sequential imports don’t try to
download them again. This list is saved in the virtualenv directory ( sys.prefix )
or in the working directory (the first with writing permissions) with the name
of .pipimport-ignore . The list is loaded in subsequent sessions.
Package: pipin
Let’spipin!pipin is a little Python script to search for a given app(s) within your project’s dependencies.You could probably handle same needs withackorgrep, butpipinis less characters to write, colorizes the output nicely etc.RequirementsPython 2.6+ or 3.3+argparseif py2.6InstallationTo installpipin, simply run:sudo pip install pipinNote: you probably want to install it as sudo in order topipin everywhere.UsageGo to folder where all your projects are stored:cd /home/projects/Just tellwhatandwhereyou want to pipin:pipin Django==1.4.2 .This will search for “Django==1.4.2” in requirements.txt file in current directory (because “.”).Search within specific project only? Not a problem!pipin Django==1.4.2 /path/to/project/Different requirements file? Not a problem too!pipin Django==1.4.2 . -f dev_requirements.txtYou might also need to search for multiple apps at once. Then do:pipin Django==1.4.2 South .Also, literal asterisk (*) is supported:pipin Django*1.4 .This will find occurences ofDjango==1.4andDjango>=1.4as they are
both valid.
Package: pipinator
This is just a sample project to illustrate how to package a Django project so it can be installed over PyPi with pip.You can find the source code at:https://github.com/antonpirker/django-pip-projectThe important parts are in the files:django-pip-project/setup.pyanddjango-pip-project/pipinator/__main__.py.Installing the project from a local directory:If you clone the code repository to a local directory (~/tmp/django-pip-project/) you can install the project with the following command:$ pip3 install -e ~/tmp/django-pip-project/After this you can run the debug server of the project with a simple:$ pipinatorYou need to runpipinatorinside (or above) the local directory you cloned the project to or you will get anSuspiciousFileOperationError.Uploading to PyPI:Check description format:Check if thedescriptionandlong_descriptioncan be rendered by PyPI:$ pip install readme_renderer
$ python setup.py check -r -sCreate a source distribution:This creates adist/directory containing a archive with your project:$ python setup.py sdistNote: There are also other ways to package your project. See the Python documentation for a complete guide on how to package your project:https://packaging.python.org/tutorials/distributing-packages/#packaging-your-projectCreate an account on PyPI:See:https://packaging.python.org/tutorials/distributing-packages/#create-an-accountUpload your project to PyPI:You have to use twine to upload your package (you will need to enter your username and password):$ pip install twine
$ twine upload dist/*If you want to save your credentials to a file, so you do not have to enter them every time you upload a version see:https://packaging.python.org/tutorials/distributing-packages/#create-an-account
Package: pipincluder
pipincluder for import packages without errors of unavailability.To import packages if they are found, or download them from pypi if they are not present.This project is in order to bypass errors during importing any package.Installation:pip install pipincluder==1.0.6Usage:frompipincluderimportpipincluderexec(pipincluder(<YOUR_PACKAGES>).modules())Examples:try:frompipincluderimportpipincluderexcept:print("please use this command : pip install pipincluder")exit()# Example:1exec(pipincluder("from os import path","from hexor import hexor","from ashar import ashar").modules())#test ashar package:print(ashar("123","this is just an example :)").encode())Changelog:## 1.0.6
 - fix bugs.
## 1.0.5
 - fix bugs.
 - new build 
## 0.0.1
 - First public release.BTC : 16mUJYXdNh9VkjN3MQawA8wvYJqL9F5CKZ
Package: pip-init
Generate a base setup.py file to upload a python package topypiInstallpip install pip-initUsagepip-initI created a setup.py file, what are the next steps?What are the next steps to upload a package topypi?Create or edit the python code of your package:mkdir package_code
$EDITOR package_code/__init__.pyCreate an account on thePyPI website.Create a ~/.pypirc file[pypi]
repository = https://pypi.python.org/pypi
username = <username>
password = <password>Register and upload your package to pypipython setup.py register
python setup.py sdist upload -r pypiReferencesPackaging and Distributing Projects, pypa.Sharing Your Labor of Love: PyPI Quick and Dirty, Hynek Schlawack.Open Sourcing a Python Project the Right Way, Jeff Knupp.Empaquetando y distribuyendo código python con pip (spanish), JuanPabloAJ.setup.py vs requirements.txt, Donald Stufft.Pypi classifiers list.ContributorsJuanPablo AJDavid YenTom VinerKrisztián FeketeKevin J. Qiu
Package: pip-inside
pip-insideLikepoetry, but usingpipto maintain dependencies.Usingflit-coreas thebuild-backend.CONVENSIONS:dynamicversion(__version__ = 'your version'in{root_module}/__init__.py)non-dynamicdescription(inpyproject.toml)nosrcfolder in project rootvirtualenv folder named.venvin project rootnot checking hashesinstall# in each of your virtual envpipinstallpip-insidecommandspip-insidepi>pi
Usage:pi[OPTIONS]COMMAND[ARGS]...

Options:-V,--versionshowversionofthistool--helpShowthismessageandexit.

Commands:addAddapackageasprojectdependencybuildBuildthewheelandsdistdepsShowdependencytreeexportExportdependenciesto'requirements.txt'initInitprojectincurrentdirectoryinstallInstallprojectdependenciesbygroupspublishPublishthewheelandsdisttoremoterepositoryremoveRemoveapackagefromprojectdependenciessearchSearchapackagefromPYPIshellEnsure'.venv'virtualenv,andnewshellintoitupgradeUpgradepipandpip-insideversionShow/ChangeversionofcurrentprojectversionsShowrecentreleasesofapackageinPYPI
Package: pip-install
installA package to install pip packages from within code.Requires Python 2.7+, 3.5+Usage:import install
install.install('pkg_you_want')

# ... after retrieving a requirements.txt from the web or somewhere else
install.install('requirements.txt', requirements=True)

# ... need arbitary options?
install.install('my_pkg', pip_options=['--isolated'], install_options=['--no-clean', '--pre'])
Package: pip-install-privates
pip_install_privatesInstall pip packages from private Github repositories without an SSH agent.InstallationGet it frompypi:pipinstallpip_install_privatesOr install directly from GitHub:pipinstallgit+https://github.com/ByteInternet/pip-install-privates.git@master#egg=pip-install-privatesUsageTo use pip_install_privates, you need a Personal Access Token from Github. Go toSettings → Personal access tokensand click “Generate new token”. Make sure to give the “repo” permission (“Full control of private repositories”). Copy the generated token and store it somewhere safe. Then use it in the command below:pip_install_privates--token$GITHUB_TOKENrequirements.txtRunpip_install_privates--helpfor more information.DevelopingAfter performinggit cloneon the repository, create a virtualenv however you prefer, for example:mkvirtualenv-a$PWDpip_install_privatesInstall the package, its dependencies and dev dependencies:pipinstall-e.-rrequirements.txtRun tests for your specific Python verison:nosetestsOr for all Python versions:toxAboutThis software is brought to you by Byte, a webhosting provider based in Amsterdam, The Netherlands. We specialize in fast and secure Magento hosting and scalable cluster hosting.Check out ourGithub pagefor more open source software orour siteto learn about our products and technologies. Look interesting? Reach out about joiningthe team. Or just drop by for a cup of excellent coffee if you’re in town!
Package: pip-install-test
A stub package for testing if pip install is working.IntroductionThe intent of this package is to provide a simple module that can be easily installed and uninstalled.
This provides a straightforward mechanism for showing that an arbitrary environment is capable of installing third party modules viapip.
It is not intended to exercise the full feature set ofpiporsetuptools, but to provide a minimal existence proof of viability.UsageInstall:pip install pip-install-testor:pip install --user pip-install-testImport:>>> import pip_install_testor:python -c 'import pip_install_test'Uninstall:pip uninstall pip-install-test
Package: pipipxx
docsread-the-docslinuxstatic analysislinuxCPython 3.7windowsCPython 3.7pipxis great for keeping your CLI tools isolated and your system Python paths clean.
However, it still requires that you installpipxitselfin your system Python.Butpipxis a CLI tool installed throughpip…why not installpipxwithpipx?
Why not indeed!Withpipx-in-pipx, all you need to do is install :$pipinstallpipx-in-pipxBut wait! You say.
Didn’t you just say that we shouldn’t install things to system Python?Yes.
Whatpipx-in-pipxactually does is slightly (but only slightly) evil.
Rather than actually installing anything when you run “install”,pipx-in-pipxinstead builds a temporary virtual environment,
installspipxthere,
and then usesthatpipxto installpipxin your user local space,
just like any otherpipx-installed tool.What you end up with is apipxinstallation that isitselfmanaged bypipx.Sharp EdgesWhich Python?By default,pipxuses its own Python for each environment that it creates.
Normally, this would be the system Python, whatever it was when you installedpipx.
However, when your are using apipx-in-pipx-installedpipx,
the default Python thatpipxuses for each environment it creates is instead
whatever Python you used to “install”pipx-in-pipx.This has two notable side effects:If you uninstall yourpipx-managedpipx,
then all of the tools that you installed using thatpipxwill stop working
because their Pythons suddenly point to nothing.If you want to change the Python used by all of yourpipx-managed tools,
you only need to reinstall one of them (pipx) rather than reinstalling all of them.Uninstallingpipxhas a handy feature to uninstallallpipx-managed tools.
Because you have now madepipxmanage itself,
runningpipxuninstall-allwill alsouninstallpipx.This is not a bug, but a feature.
By installingpipxusingpipx-in-pipx,
you have expressed an intent that youwantpipxto manage itself.
If that’s not what you want, this is not the tool for you.If you at any point uninstall yourpipx-managedpipx,
you can simplypip installpipx-in-pipxagain to rebuild it.
Package: pi-pir-webthing
pi_pir_webthingA web connected PIR motion sensor on Raspberry PiThis project provides awebthing APIto a PIR motion sensor such asdescriped here.The pi_pir_webthing package exposes an http webthing endpoint which supports detecting motion via http. E.g.# webthing has been started on host 192.168.0.23

curl http://192.168.0.23:9544/properties 

{
   "motion": true,
   "last_motion": "2020-09-28T08:04:02.330388"
}The RaspberryPi/PIR sensor hardware setup and wiring may look likeHC SR501 example.To install the software you may usePIPpackage manager such as shown belowsudo pip install pi_pir_webthingAfter this installation you may start the webthing http endpoint inside your python code or via command line usingsudo pir --command listen --port 9544 --gpio 14Here, the webthing API will be bind on port 9544 and be connected to the PIR pin using gpio 14Alternatively to thelistencommand, you can use theregistercommand to register and start the webthing service as systemd unit.
By doing this the webthing service will be started automatically on boot. Starting the server manually using thelistencommand is no longer necessary.sudo pir --command register --port 9544 --gpio 14
Package: pipita
pipita======|Build| |downloads| |license| |version| |PEP8|An API wrapper for PyPIInstall (automatic)-------------------::$ pip install pipitaInstall (manual)----------------::$ git clone$ cd pipita$ python setup.py installUsage-----::Demo~~~~License-------.. |Build| image:: https://travis-ci.org/walidsa3d/pipita.svg?branch=master.. |downloads| image:: https://img.shields.io/pypi/dm/pipita.svg.. |license| image:: https://img.shields.io/pypi/l/pipita.svg.. |version| image:: https://img.shields.io/pypi/v/pipita.svg.. |PEP8| image:: https://img.shields.io/badge/code%20style-pep8-orange.svg:target: https://www.python.org/dev/peps/pep-0008/
Package: pipiyiTools
一个小工具合集EpubSpliter 创建 epub 电子书FileOperation 操作文件ListQueue list 队列Log 日志MyRequest 一个带随机 header 的 requestsPooledBase 数据库操作Storage 基于 heapq 队列编译:python3 setup.py sdist bdist_wheel
上传:twine upload dist/*
Package: piplayer
NOTE: In progress!! Come back later!PiPlayerA relatively easy-to-use utility to set up one or more RaspberryPi's as a video player.PiPlayer will install vlc on your Pi(s), transfer videos, and set them to play on startup.InstallationYou should have one or more Pi's on your local network. The Pi's should have:the latest raspbian with console only installauto-login enabledpasswordless authentication with ssh keysOn your computer, install PiPlayer with:pipinstallpiplayerUsageBasic usageYou can send one or more videos directly to individual Pi's like so:piplayer--hostHOSTNAME--videoVIDEONAME.mp4This will transfer the video file(s) to the Pi, and make them play on startup in a loop. The--videooption can take multiple video files.Project fileFor more complex scenarios, you can also create project instructions as a YAML file. Here's an example project file:players:-host:player1.localvideos:vid1.mp4-host:player2.localvideos:["vid2.mp4","vid3.mp4"]To use:piplayer--projectPROJECTFILE.yamlRequired settings:playersis an array, containing at minimum ahostandvideoentry.host: the hostname or ip of the Pi on the local networkvideos: the local path(s) to video files to be sent to the PiThis can be a single video, an array, or a glob pattern (likemyvids/*.mp4).Optional settings:The following settings are optional:loop: should the playlist loop?Can betrueorfalse. Defaults totrue.random: play the videos in random orderCan betrueorfalse. Defaults tofalse.user: the username on the PiDefaults topi.gap: (TODO!) time in seconds to pause between each video (shows a black screen)Defaults to0.0.start_at: (TODO!) start the playlist at a specific time.Defaults to0.0.If you want to apply the same settings to all the Pi's, add asettingsdictionary like so:settings:user:cooluserrandom:truegap:2These settings will be sent to all the Pi's listed in theplayerssection (but individual player settings have precedence).
Package: piplexed
Piplexed - Find outdated packages installed with pipxDocumentation:https://aj-white.github.io/piplexed/Table of ContentsInstallationUsageWhy piplexed ?CaveatsLicenseOverview: What is piplexed ?Piplexedis a command line tool to identify outdated python packages, installed fromPyPI, viapipx. It displays it's output as a nicerichprinted tree.InstallationPiplexedis designed to be installed globally viapipx.To installpiplexed:pipx install piplexedAlternatively you can run it wihtout installation, supplying the required arguments shown belowpipx run -- piplexed <ARGS>UsageList outdated packages installed with pipx (no pre or dev release)piplexed list --outdatedOutput ignores prelease and dev releases by default.List outdated packages installed with pipxpiplexed list --outdated --preOutput includes prerelease and dev releases and highlights them.List packages installed with pipxpiplexed listOutputs similar information topipx list, albeit minus the names of the binaries, in a rich table format.piplexed list --treeAn optional tree flag can be passed for a tree view (less useful if there are a lot of packages)Why piplexedThe namepiplexedis a play on words, it contains the letters for pipx and I was also mildly perplexed trying to find a simpler way to identify outdated pipx installed packages, only to discover it didn't exist. Put the two together and well.... you get the idea (naming things is hard after all!).
For a longer answer see thedocumentation.CaveatsPiplexedis a project that I built for my workflow, but it may not work for everyone.It is only intended to work for packages that are installed fromPyPI, so will not work for local packages or git/url etc.LicensePiplexedis distributed under the terms of theMITlicense.
Package: pip-licenses-lib
pip-licenses LibraryRetrieve the software license list of Python packages installed withpip.AboutThis package is a fork of the greatpip-licensestool, which provides a CLI with similiar functionality. For now,pip-licensesitself mostly focuses on the CLI part; while library-based access is possible, some interesting methods for further reuse are nested and therefore hidden inside the corresponding API.While there have been some attempts to provide similar features in the upstream repository, they are not available inside the official package at the moment, while I needed a short-term solution. Examples:In May 2021, a package structure has been introduced by#88. In August 2023, this is still only available on adev-4.0.0branch, while version 4.0.0 has been released in November 2022.In October 2020, the PR#78for handling multiple license files has been closed to maybe include it in the future, which has not yet happened.As parsing the license data of packages as provided by the maintainers is at least some first hint regarding the license status, I decided to create this fork with the required modifications and enhancements to suit my current needs.Differences to pip-licensesChanges compared to original version:Enable support for Python < 3.8 by using theimportlib_metadatabackport and dropping support for the new annotations behaviour for now.Remove all output/rendering functionality.Move all methods to the top level.Always return all copyright and notice file matches.Always return the system packages as well.Include the license names and distribution object inside the result dictionary.Do not use abbreviations for naming purposes.Rewrite tests to use plainunittestfunctionality.Add option to skip retrieving license and notice files for faster version-only checks.InstallationYou can install this package from PyPI:python-mpipinstallpip-licenses-libAlternatively, you can use the package from source directly after installing the required dependencies.UsageThe main entry point ispiplicenses_lib.get_packages(), which will yield a list of package data dictionaries.LicenseThis package is subject to the terms of the MIT license.DisclaimerAll results are generated automatically from the data supplied by the corresponding package maintainers and provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. No generated content should be considered or used as legal advice. Consult an Attorney for any legal advice.