Saravanan666/pypi-org huggingface dataset:
Package: pipevcr
pipevcrRecord and play back pipes. Similar to whatscriptdoes with the terminal but for pipes.This can be used for debugging or testing where timing matters.Installationpip3 install --user pipevcr

# or if you have pipx
pipx install pipevcrUsageusage: pipevcr [-h] [-r] [-s SPEED] [-m MAX_PAUSE] FILE

pipevcr - the linux pipe recorder

positional arguments:
  FILE                  data file

options:
  -h, --help            show this help message and exit
  -r, --record          record pipe
  -s SPEED, --speed SPEED
                        playback speed, <1 to slow down, >1 to speed up
  -m MAX_PAUSE, --max-pause MAX_PAUSE
                        max pause time between outputs in secondsRecordYou record a pipe with-r, e.g.:(echo wait 1; sleep 1; echo wait 2; sleep 2; echo end) | pipevcr -r test.vcrPlaybackAnd play it back with:pipevcr test.vcrFasterTo speed it up (2=double):pipevcr -s 2 test.vcrSlowerTo slow it down (.5=half):pipevcr -s .5 test.vcrYou can also set the maximum pause time separately:pipevcr -m 1 test.vcr
Package: pipe-viper
Pipe Viper PluginThis core plugin is meant simply for time savings and only uses the standard Python library, the goal is no additional dependencies.Plugins may take dependencies in the futureCurrently only supports running a single.ps1orstringPowershell command.I plan to add support for command scripts and other shells, as well as supporting libraries of useful script functionality. Though, this plugin will be primarily focused on PowerShell related functionality unless someone else expands on other shell support.https://pypi.org/project/pipe-viper/
Package: pipewire_python
PIPEWIRE's Python controller (wrapper)JOIN OUR TELEGRAM SUPPORT:ONLY AUDIO BY NOW [PR & FR WELCOME]STREAMING NOT SUPPORTED BY NOWPython controller, player and recorder via pipewire's commands.Pipewireis a project that aims to greatly improve handling of audio and video under Linux. (Better than pulseaudio or jack)RequirementsA Pipewire version installed (clean or via Pulseaudio) is needed, to check if you have pipewire installed and running, run this command, if the output is different, you'll need toinstall pipewire:Pipewire versions supported: 0.3.30, 0.3.32+pw-cliinfo0# Example outputid:0permissions:rwxmtype:PipeWire:Interface:Core/3cookie:134115873user-name:"user"host-name:"user"version:"0.3.30"# Possibly more actual than this versionname:"pipewire-0"...To uninstall pipewireclick here.Python 3.7+Ubuntu 20.04+Install & TutorialInstallpip3installpipewire_python# or pipTutorialPLAY AND RECORDfrompipewire_python.controllerimportController# [PLAYBACK]: normal wayaudio_controller=Controller()audio_controller.set_config(rate=384000,channels=2,_format='f64',volume=0.98,quality=4)audio_controller.playback(audio_filename='docs/beers.wav')# [RECORD]: normal wayaudio_controller=Controller()audio_controller.record(audio_filename='docs/5sec_record.wav',timeout_seconds=5)GET INTERFACESfrompipewire_python.controllerimportControlleraudio_controller=Controller()# Return all Client Interfaces on Pipewireaudio_controller.get_list_interfaces(type_interfaces="Client",filtered_by_type=True,)# Return all interfacesaudio_controller.get_list_interfaces(filtered_by_type=False,)LINK PORTSLinking Portsfrompipewire_pythonimportlinkinputs=link.list_inputs()outputs=link.list_outputs()# Connect the last output to the last input -- during testing it was found that# Midi channel is normally listed first, so this avoids that.source=outputs[-1]sink=inputs[-1]source.connect(sink)# Fun Fact! You can connect/disconnect in either order!sink.disconnect(source)# Tada!# Default Input/Output links will be made with left-left and right-right# connections; in other words, a straight stereo connection.# It's possible to manually cross the lines, however!source.right.connect(sink.left)source.left.connect(sink.right)DocumentationYou can check the automatic build documentationHERERoadmapFuture implementations, next steps, API implementation and Control over Pipewire directly from python in theROADMAP.ContributionsPR, FR, and issues are welcome. Changes with PR indevbranch please due documentation runs after each commit inmainbranch. Check morehereLicenseLICENSE
Package: pipez
Pipez - lightweight library for fast deploy stream handlingInstallFor installing default version of library usepip install pipezIf you want install specific version pipez - usepip install pipez[<your choice>]Now availablecv,fastapiandonnxruntimeversions.
If you want install pypez with all depencies, you can usepip install pipez[all]If you want to install a few version - see nex example:pip install pipez[cv, onnxruntime]Quick startDeveloping custom nodeIf you want use your node - you can useRegistry.addas class decorator
frompipez.registry. You should also import baseNodeclass frompipez.node. For example:frompipez.nodeimportNodefrompipez.registryimportRegistryRegistry.addclassMyNode(Node):...Once required method which you should override:work_func(...)which
handleBatchfrompipez.batch. However, methodspost_init(...)andclose(...)also available. See next example:fromtypingimportOptionalfrompipez.batchimportBatch,BatchStatusfrompipez.nodeimportNodefrompipez.registryimportRegistryRegistry.addclassMyNode(Node):def__init__(self,a:int=1,**kwargs):super().__init__(**kwargs)self._a=adefpost_init(self):self._a*=10defclose(self):self._a=0defwork_func(self,data:Optional[Batch]=None)->Batch:self._a*=2ifself._a>1000:returnBatch(status=BatchStatus.END)returnBatch(data=[dict(a=self._a)])Build pipelinesWhen you defined all nodes what you need, we build pipeline from them.
You can use json describe or class for node. See next examples:For using json describing you must addRegistry.addas class decorator
for you node, else you will get error.{"cls":"MyNode","a":5,"type":"Process","output":"some_trash"}For using class you must import your node class.frompipez.nodeimportNodeTypefrom...importMyNodeMyNode(a=5,type=NodeType.PROCESS,output='some_trash')As we can see, we usedNodeType, which define type of node.For building pipeline, we must usebuild_pipelinefrompipez.build.
For example:frompipez.buildimportbuild_pipelinefrompipez.nodesimportDummyNodefrompipez.nodeimportNodeTypefrom...importMyNodewatchdog=build_pipeline(pipeline=[MyNode(a=10,type=NodeType.THREAD,output='q1'),DummyNode(type=NodeType.PROCESS,input='q1',output='q2'),DummyNode(type=NodeType.THREAD,input=['q1, q2'],output='q3'),{"cls":"DummyNode","type":"thread","input":"q3"}])As we can see,build_pipelinereturnwatchdog.
You can read about it in next section.WatchDogTODOРЎontributorsAlexander,https://github.com/tam2511Vitaly,https://github.com/purple63
Package: pipfile-cli
Pipfile-CLI is a command line interface around the Pipfile API. It allows you
to interact with a Pipfile without Pipenv.The command line interface’s design is based on the three transformation
functions, as described by Sam Boyer in hisSo you want to write a package managerpiece:The user edits Pipfile to add and/or remove packages.lockresolves the abstract dependency set specified in Pipfile, and write
the resulting concrete dependency set into Pipfile.lock.syncinstalls the concrete dependency set specified by Pipfile.lock into
the current environment (with pip).Onlysyncis implemented at the present time.
Package: pipfile-freeze
pipfile-freezeEnglish |简体中文CLI tool to convert Pipfile/Pipfile.lock to requirments.txtRequired Python version>=2.7, >=3.4What does it do?The tool is built on top ofrequirementslibto provide a simple CLI to
convert the Pipenv-managed files to requirements.txt.Pipenv is a great tool for managing virtualenv and dependencies, but it may be not that useful in deployment.
Pip installation is much faster than Pipenv manipulation, since the latter needs extra requests to PyPI for hash checking.
Installing a Pipenv in deployment may be overkilled, especially using docker to deploy. We just need a requirements.txt to tell CI or production server
which packages and versions should be installed.Installation$pipinstallpipfile-freezeAn executable namedpipfilewill be ready for use in the bin path.Examples:Output requirements directly to the console:
$ pipfile freeze

Output requirements to the file, default './requirements.txt' with -o:
$ pipfile freeze -o
$ pipfile freeze -o /path/requirements.txt

Specify a project root path
$ pipfile freeze -p myproject

Complex example
$ pipfile freeze -p myproject --hashes -d -o /path/requirements.txtIf your Pipfile like this:[[source]]name="tuna"url="http://pypi.tuna.tsinghua.edu.cn/simple"verify_ssl=true[[source]]name="pypi"url="https://pypi.org/simple"verify_ssl=true[dev-packages][packages]requests="*"ilogger="==0.1"apscheduler="*"pywinusb={version="1.1",sys_platform="== 'win32'"}[requires]python_version="3.7"Here is the output (requirements.txt):--index-url http://pypi.tuna.tsinghua.edu.cn/simple
--trusted-host pypi.tuna.tsinghua.edu.cn
--extra-index-url https://pypi.org/simple

apscheduler
ilogger==0.1
pywinusb; sys_platform == 'win32'
requestsUsage:$ pipfile freeze --help
usage: pipfile freeze [-h] [-p PROJECT] [--hashes] [-d] [-o [file]] [file]

positional arguments:
  file                  The file path to convert, support both Pipfile and
                        Pipfile.lock. If it isn't given, will try Pipfile.lock
                        first then Pipfile.

optional arguments:
  -h, --help            show this help message and exit
  -p PROJECT, --project PROJECT
                        Specify another project root
  --hashes              whether to include the hashes
  -d, --dev             whether to choose both develop and default packages
  -o [file], --outfile [file]
                        Output requirements to the fileLicenseMITThis tool is improved based on thepipfile-requirementstool, thanks to@frostmingfor his contribution.
Package: pipfile-requirements
pipfile-requirementsCLI tool to covert Pipfile/Pipfile.lock to requirments.txtRequired Python version>=2.7, >=3.4What does it do?The tool is built on top ofrequirementslibto provide a simple CLI to
convert the Pipenv-managed files to requirements.txt.Pipenv is a great tool for managing virtualenvs and dependencies, but it may be not that useful in deployment.
Pip installation is much faster than Pipenv manipulation, since the latter needs extra requests to PyPI for hash checking.
Installing a Pipenv in deployment may be overkilled. We just need a requirements.txt to tell CI or production server
which packages and versions should be installed.Installation$pipinstallpipfile-requirementsAn executable namedpipfile2reqwill be ready for use in the bin path.Usage:$ pipfile2req --help
usage: pipfile2req [-h] [-p PROJECT] [--hashes] [-d] [file]

positional arguments:
  file                  The file path to covert, support both Pipfile and
                        Pipfile.lock. If it isn't given, will try Pipfile.lock
                        first then Pipfile.

optional arguments:
  -h, --help            show this help message and exit
  -p PROJECT, --project PROJECT
                        Specify another project root
  --hashes              whether to include the hashes
  -d, --dev             whether to choose the dev-dependencies section
  -s, --sources         whether to include extra PyPi indexesLicenseMITOthersIt is my first time to use Poetry to manage my project, related to Pipenv, lol.
Package: pip-for-cmd
Welcome to the PIP for CMD project!What is PIP for CMD?PIP for CMDis a Python package that helps you with the pip package.
Its main goal is to make the pip experience moreuser-friendlyand more updates are going to be published soon.Where to get itThe source code is currently published on GitHub athttps://github.com/PipForCMD/PIP_for_CMD.First step(in the CMD)` pip install pip_for_cmd `Second step(now in your IDE)` import pip_for_cmd `Third step` pip_version() update_pip() package_installer() `choose which function you want to use.Dependencies- [os - Connects to the operating system and to the CMD.](https://docs.python.org/3/library/os.html)
- [pip - Using the original pip package to check pip versions.](https://pypi.org/project/pip/)LicenseMIT(https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt)Contact us!General questions and discussions can take place on the [PIP for CMD mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydatahttps://groups.google.com/u/6/g/pipforcmd).Thats it!
Package: pip-for-Windows
pip for Windows is a tiny Python Package manager. No more Windows command prompts !It automatically installs pip and its GUI lets you:install any package from pypi, or upgrade it using pip instruction setlist all installed packages with their version numberupgrade all packages in the local library, in one clickswitch from one python interpreter (i.e. version) to another (including pypy)run the IDLE of the selected interpreterrun a python program with the selected interpreterSee the Home page for screen shot and user guide.
Package: pipfreeze
Pip FreezeTool to produce better formatted pip freeze.Instead of a flat list of requirements, this indents requirements which are dependencies and those that are primary installs. Dependencies shared by multiple packages are commented out.This format can be re-read by the typicalpip install -r requirements.txtand requires not adjustment to other code.Installationpip install pipfreezeBasic Usagepipfreeze > requirements.txtMotivationTypicalpip freezeflattens all requirements, regardless of the dependency structure.cycler==0.10.0kiwisolver==1.3.1matplotlib==3.3.4numpy==1.20.1pandas==1.2.2Pillow==8.1.0pyparsing==2.4.7
python-dateutil==2.8.1pytz==2021.1six==1.15.0Thispipfreezecommand produces output that is valid requirements.txt but is nestedmatplotlib==3.3.4cycler==0.10.0six==1.15.0kiwisolver==1.3.1numpy==1.20.1Pillow==8.1.0pyparsing==2.4.7python-dateutil==2.8.1# six==1.15.0pandas==1.2.2# numpy==1.20.1# python-dateutil==2.8.1# six==1.15.0pytz==2021.1ContributingLocal development is controlled through docker.docker-compose.ymlcontains
different python environment containers to test this code out in.make testwill run the docker tests.Makefile contains commands for development.
Package: pip-freezer
Pip FreezerAuthor:Tim Santortsantor@xstudios.comOverviewFor the organized, but lazy developer, meaning that you'll update a package, but you don't want to be bothered with updating the requirements file. Pip Freezer pins packages no matter which requirements file they live in and maintains your comments and line breaks.NOTE: Plays nice withDjango Cookiecutter.BackgroundWe all have our preferences with how we manage package dependencies. There is the awesomePoetry, but there are still those of us who like to manually manage requirements with comments in various files such asrequirements.txt,requirements_dev.txt.requirements_test.txt, or evenrequirements/base.txt,requirements/local.txtandrequirements/production.txtor other similar variations.Simply runningpip freeze > requirements.txtis not of much use if you like to be organized and only pin what you've manually defined as a "top-level" dependency (and not its sub-dependencies).Runningpipfreezerwill only pin packages defined in your requirements files.NOTE:pipfreezerdoes not do any upating of packages itself, you can usepip install -U package-nameor something likepip-review. You would manually update packages and then runpipfreezerto auto-update those in your requirements files.InstallationTo install Pip Freezer, simply use pip:pipinstallpip-freezerUsageIn the root of your project, run:pipfreezerNOTE:pipfreezerwillnotadd or pin packages that youhave not already definedin one of your requirements files.This is intentional.IssuesIf you experience any issues, please create anissueon Bitbucket.HistoryAll notable changes to this project will be documented in this file. This project adheres toSemantic Versioning.0.1.0 (2017-12-04)First release on PyPI.0.2.0 (2018-02-25)Code cleanup and Python 2/3 support.0.3.0 (2021-09-10)Major re-release.  This package behavesNOTHINGlike the previous.0.3.1 (2021-09-10)Too hasty. Remove some print statements.0.3.2 (2021-09-13)Add experimentalpipfreezer-upgradecommand which only upgrades packages listed in requirements files.0.3.3 (2021-09-13)Fixed encountering-rinpipfreezer-upgrade0.3.4 (2021-09-14)Changed frompip freezetopip list --format jsonfor more reliable parsing
Package: pipgen
pip-package-generatorMaintained by Casey Johnson.A pip package for easily creating and distributing pip packages.https://github.com/caseyjohnsonwv/pip-package-generatorhttps://pypi.org/project/pipgenInstallation:InstallPython 3+andpip3.Runpip3 install pipgen.To create a new Python project with the pip package structure:Runsh pipify.sh <new/project/path>.To rearrange a Python project into the pip package structure:Runsh pipify.sh <existing/project/path>.To update a pip package distribution:Runsh pippush.sh <path/to/project> <local|test|prod>.To convert a pip package back into a Python project (for testing only):Runsh depipify.sh <path/to/project>.
Package: pipgeo
pipgeo: CLI for Unofficial windows Geospatial library wheelsThe amazing work ofChristoph Gohlkeis the source of all this, though the unofficial windows binaries page at lfd is no longer maintained. Christoph has created adedicated GitHub repository with a subset of geospatial wheel assets that have been released. This tool is a straightforward CLI that can pre-install a binary wheel from the latest release assets.InstallationInstallation is pretty simple use. The tool automatically also checks as new versions are released and informs you.The precompiled wheels and as such the tool is only available for python 3.8 and higherpip install pipgeopipgeo releaseThis tool fetches release assets from the latest release and lists them to the user incase they are looking for a specific packages and or want to install a specific package.Example usagepipgeo releasepipgeo fetchThis tool will allow you to fetch a specific package from the latest release and install it. You can search based on the package list returned form the release tool.Example usagepipgeo fetch --lib gdalpipgeo sysThis will install all packages from the release assets onto your system. It maintains prerequisite and dependency order to allow for easy installation.Example usagepipgeo sysChangelogv0.0.6release checker tool now checks if packages exists for installed python version in latest releasev0.0.5release tool now print available release packages and version numberimproved pypi version check functionalityfetch tool auto upgrades to latest version if new version is available in releasev0.0.4added dependency check from dependency treedependencies also installed using pipgeov0.0.3updated readme with instructions
Package: pipgeoip
PIP GeoIPGet ip information offline without apiPyGeoIP is a package that can be use to get ip information without any api and it's free.Available informationContinentCountryIso CodeCityZiptimezonelatitudelongitudeorgFeaturesCan be use in offileIt's FreeNo need api keyGet Dictionary or JSON resultTech[maxmind] - GeoIP2 DatabasesInstallationPyGeoIP tested on python 3.8. All version of python 3 shoud support.pipinstallpipgeoipExample JSON objectimportpipgeoipprint(get_geo_ip_json('204.236.186.159')){"ip":"204.236.186.159","country":"United States","continent":"North America","iso":"US","city":"San Jose","zip":"95141","timezone":"America/Los_Angeles","latitude":37.3388,"longitude":-121.8916,"org":"AMAZON-02"}Example Dictionaryprint(get_geo_ip('204.236.186.159')['country'])United StatesMySelfI am Himel, Software Engineer and Ethical HackerInstructions on how to use them in your own application are linked below.InfoLinkPortfoliohttps://himelrana.comGitHubhttps://github.com/Swe-HImelRanaLinkedinhttps://www.linkedin.com/in/swe-himelranaVersion: 1.0.0
- First ReleaseVersion 1.0.1
- Version 1.0.0 removed
- Configuration issue solvedVersion 1.0.2
- Version 1.0.1 removed
- Bug Fix
Package: pipgh
A tool to install python packages from Github.Why can’t we use Github as a means to share our Python code directly?pipghsearches and installs Python packages from Github. You can further
cite a specific branch, release or commit’s hash value. This makes the
deployment of your Python package as simple as a commit to your repository.It also allows to inspect the metadata of a repository or to
look at a singular field, which is very handy for stuff like this:$ git clone `pipgh show --clone-url docopt/docopt`Pure Python code, without dependencies. 2 and 3 compatible.
Package: pip-grab
pip-grabhttps://pypi.org/project/pip-grab/#descriptionhttps://github.com/QuantumNovice/pip-grabInstallationpip install pip-grabMotivationpip install this,pip install that,conda install this,conda install thatand you never know when pip will break conda environment or conda will break pip.
That's why it's better to keep backup of your installed packages so you can revert
changes.Usagepy -m pip_grab.pip_grab [-h] [-s] [-g] [-t TICKER]

Grabs currently installed pip packages.

optional arguments:
  -h, --help            show this help message and exit
  -s, --save            Save packages
  -g, --grab            Display packages
  -t TICKER, --ticker TICKER
                        Save installed packages after N secondsfrompip_grabimportpip_grabpip_grab.ticker(60000)Examplespy pip_grab.py --ticker 590000Output[+] Loop Started
[+] Enivronment grabs after every 2.7314814814814814 hours
Package: pip_helpers
# pip-helpers #Functions to perform common operations with the Python Package Index.Example usage:```python>>> import pip_helpers as ph>>>>>> # Install list of Python packages>>> stdout_and_stderr = ph.install(['numpy>=1.11.1', 'pandas<0.18.1'])....>>> # Uninstall list of installed Python packages>>> stdout_and_stderr = ph.uninstall(['numpy', 'pandas']).......................>>> # Get list of descriptors for installed Python packages>>> installed_package_descriptors = ph.freeze()```# Credits #Written by Christian Fobel <christian@fobel.net>
Package: pipic
$\pi$-PIC (PIPIC, Python-controlled Interactive PIC) is an open-source collection of relativistic particle-in-cell solvers featuringexact energy conservation;absence of numerical dispersion.The solvers provide a way to either suppress or eliminate numerical artefacts (instabilities, heating, numerical Cherenkov radiation, etc.) permitting larger space and time steps, as well as lower number of particles per cell.
Because of reduced computational demands, the solvers can be found useful for quick tests of ideas, as well as for scanning parameter spaces. For a description of the underlying methods seeReference.Overview$\pi$-PIC provides all tools necessary for designing 1D/2D/3D simulations and arbitrary outputs directly from Python. In addition, it has interfaces for incorporating extensions (read/modify field and particles, add/remove particles) that can be developed in Python, C/C++, Fortran or any other language that generate callable functions (seeextensionsfor a list of extensions included in $\pi$-PIC installation). The project and its development are hosted onGitHub.To get started, it should for most cases be sufficient to install $\pi$-PIC viapip(this requires:gcc,openmpandfftw3; for details and information on compilation via CMake seeinstallation instructions):pip install pipicThe basic layout of a simulation includes five elements:creating a container with cells with given parametersadding particles of all necessary typessetting initial electromagnetic fielddefining output (via loops over particles and grid values of field)advance and read the state of the defined physical systemWe demonstrate the use of these elements in thetutorial. A complete list of supported interfaces can be foundhere. The development of extensions is detailed and exemplifiedhere.New in $\pi$-PIC v1.1extensionsfor QED-PIC simulations (qed_volokitin2023,qed_gonoskov2015)extensionfor ensemble down-sampling (downsampler_gonoskov2022)See all releaseshere.ReferenceA. Gonoskov, Explicit energy-conserving modification of relativistic PIC method,J. Comput. Phys., 502, 112820;arXiv:2302.01893(2024).