Saravanan666/pypi-org huggingface dataset:
Package: pvandyken-deprecated
deprecationFork of Brian Curtin'sdeprecationlibrary, updated primarily for use in thesnakebidslibrary.The following README is copied from the original library, with relevant
modifications. The linked documentation is generally applicable, although
installation instructions will refer back to the original library.READMEThedeprecatedlibrary provides adeprecateddecorator and afail_if_not_removeddecorator for your tests. Together, the two enable the
automation of several things:The docstring of a deprecated method gets the deprecation details appended to
the end of it. If you generate your API docs direct from your source, you
don't need to worry about writing your own notification. You also don't need
to worry about forgetting to write it. It's done for you.Rather than having code live on forever because you only deprecated it but
never actually moved on from it, you can have your tests tell you when it's
time to remove the code. The@deprecateddecorator can be told when it's
time to entirely remove the code, which causes@fail_if_not_removedto
raise anAssertionError, causing either your unittest or py.test tests to
fail.Seehttp://deprecation.readthedocs.io/for the full documentation.Installationpipinstallpvandyken.deprecatedUsagefrompvandykenimportdeprecated@deprecated.deprecated(deprecated_in="1.0",removed_in="2.0",current_version=__version__,details="Use the bar function instead")deffoo():"""Do some stuff"""return1...but doesn't Python ignoreDeprecationWarning?Yes, by default since 2.7—and for good reason [^1] —and this works fine with
that.It often makes sense for you to run your tests with a-Wflag or thePYTHONWARNINGSenvironment variable so you catch warnings in development
and handle them appropriately. The warnings raised by this library show up
there, as they're subclasses of the built-inDeprecationWarning. See theCommand LineandEnvironment
Variabledocumentation for more details.Even if you don't enable those things, the behavior of this library remains
the same. The docstrings will still be updated and the tests will still fail
when they need to. You'll get the benefits regardless of what Python cares
aboutDeprecationWarning.[^1]: Exposing application users toDeprecationWarnings that are emitted by
lower-level code needlessly involves end-users in "how things are done."
It often leads to users raising issues about warnings they're presented,
which on one hand is done rightfully so, as it's been presented to them as
some sort of issue to resolve. However, at the same time, the warning
could be well known and planned for. From either side, loudDeprecationWarnings can be seen as noise that isn't necessary outside of
development.
Package: pvault
password-vault - pv.pyA CLI script that manages and generates passwords from the command line, passwords are stored in an encrypted sqlite db.How to Installpip install pvaultBasic UsageGenerate random password for an account:pv generate [accountname]Generate random password:pv generateAccess stored account password:pv account [accountname]Get list of all stored account passwords:pv accountsSave password manually:pv save [accountname]Update password by random generation:pv generate [accountname]Update password by manual entry:pv save [accountname]Delete account password:pv delete [accountname]Delete all accounts:pv delete
Package: pvc
Python vSphere Client with a dialog(1) interfacePVC is an interactive text-mode VMware vSphere Client with adialog(1)interface for GNU/Linux systems built on top of thepyVmomiVMware vSphere API Python bindings.Using PVC allows you to quickly navigate in your VMware vSphere
environment and perform common tasks against various VMware vSphere
Managed Entities.PVC is Open Source and licensed under theBSD License.StatusExperimental. PVC is in early development stage. Using PVC in a
production environment is not (yet) recommended.ContributionsPVC is hosted onGithub. Please contribute by reporting issues,
suggesting features or by sending patches using pull requests.DocumentationThe online documentation of PVC can be found at the link below:http://pvc.readthedocs.org/en/latest/At the above link you can also find example screenshots of using
PVC in a VMware vSphere environment.With DockerIt is possible to use a docker using for example:docker run -i -t –rm –dns=8.8.8.8 -h=pvc-v0.1.1 –name pvc marioezquerro/pvc:v0.1.1 /usr/local/bin/pvc-tuiBugsProbably. If you experience a bug issue, please report it to the
PVC issue tracker onGithub.
Package: pvcast
PVCast - Local Solar ForecastingFor all documentation please refer to thewiki.LicenseMIT LicenseCopyright (c) 2022-2023 Stefan de LangePermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: pvcastro-iberlef
Installation instructionsDownload and install the latest Anaconda distribution fromhereStart theAnaconda Powershell Promptif running Windows, or a terminal otherwise. Make sure conda is available in the command line path.Create a conda environment runningconda create -n pvcastro-iberlef python=3.6Update Anaconda runningconda update -n base -c defaults condaInstall pytorch runningconda install pytorch-cpu -c pytorch -n pvcastro-iberlefActivate the created conda environment usingconda activate pvcastro-iberlefInstall the AllenNLP framework runningpip install -U allennlpDownload the spacy model runningpython -m spacy download en_core_web_smInstall the pvcastro-iberlef module runningpip install -U pvcastro-iberlefExecution instructionsRun the NER prediction with a command aspython -m pvcastro_iberlef.predict_ner --document-path path_to_the_input_document --out-path path_to_the_output_fileParameters:document-path: path to the document containing the text to be predicted for NER, with one token per line, with sentences separated by blank lines.out-path: path to the document where the predictions results will be written.Must specify a filename. Example: C:\iberlef\predictions.txtObservationsSince the IberLEF NER model uses two language models based onELMo, the trained model ended up quite big, with1.4Gb aproximately. It takes a while to download it the first time, but the model is cached, so following executions after the first will be quicker.
Package: pvcheetah
Cheetah Binding for PythonCheetah Speech-to-Text EngineMade in Vancouver, Canada byPicovoiceCheetah is an on-device streaming speech-to-text engine. Cheetah is:Private; All voice processing runs locally.AccurateCompact and Computationally-EfficientCross-Platform:Linux (x86_64), macOS (x86_64, arm64), and Windows (x86_64)Android and iOSChrome, Safari, Firefox, and EdgeRaspberry Pi (5, 4, 3) and NVIDIA Jetson NanoCompatibilityPython 3.7+Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (5, 4, 3), and NVIDIA Jetson Nano.Installationpip3 install pvcheetahAccessKeyCheetah requires a valid PicovoiceAccessKeyat initialization.AccessKeyacts as your credentials when using Cheetah SDKs.
You can get yourAccessKeyfor free. Make sure to keep yourAccessKeysecret.
Signup or Login toPicovoice Consoleto get yourAccessKey.UsageCreate an instance of the engine and transcribe audio:importpvcheetahhandle=pvcheetah.create(access_key='${ACCESS_KEY}')defget_next_audio_frame():passwhileTrue:partial_transcript,is_endpoint=handle.process(get_next_audio_frame())ifis_endpoint:final_transcript=handle.flush()Replace${ACCESS_KEY}with yours obtained fromPicovoice Console. When done be sure
to explicitly release the resources usinghandle.delete().Demospvcheetahdemoprovides command-line utilities for processing audio using
Cheetah.
Package: pvcheetahdemo
Cheetah Speech-to-Text DemosMade in Vancouver, Canada byPicovoiceCheetahCheetah is an on-device streaming speech-to-text engine. Cheetah is:Private; All voice processing runs locally.AccurateCompact and Computationally-EfficientCross-Platform:Linux (x86_64), macOS (x86_64, arm64), and Windows (x86_64)Android and iOSChrome, Safari, Firefox, and EdgeRaspberry Pi (5, 4, 3) and NVIDIA Jetson NanoCompatibilityPython 3.7+Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (5, 4, 3), and NVIDIA Jetson Nano.Installationpip3 install pvcheetahdemoAccessKeyCheetah requires a valid PicovoiceAccessKeyat initialization.AccessKeyacts as your credentials when using Cheetah SDKs.
You can get yourAccessKeyfor free. Make sure to keep yourAccessKeysecret.
Signup or Login toPicovoice Consoleto get yourAccessKey.UsageMicrophone DemoYou need a working microphone connected to your machine for this demo. Run the following in the terminal:cheetah_demo_mic --access_key ${ACCESS_KEY}Replace${ACCESS_KEY}with yours obtained from Picovoice Console.File DemoRun the following in the terminal:cheetah_demo_file --access_key ${ACCESS_KEY} --wav_paths ${WAV_PATH}Replace${ACCESS_KEY}with yours obtained from Picovoice Console and${WAV_PATH}with a path to a compatible
(single-channel, 16 kHz, 16-bit PCM) wav file you wish to transcribe.
Package: pvclient
IntroductionThis is a HTTP client toPurviewas the complemntary of Pythonwrapperfor Appache Atlas.InstallationInstall the packagepip install --upgrade pvclientthen it will be uninstalled withpip uninstall pvclientAuthenticationSet the following environment variables:TENANT_ID =CLIENT_ID =CLIENT_SECRET =SUBSCRIPTION_ID =INTERACTIVEGROUPS=<Id of group(s) who interactively logs into Purview>Configurations:Set the following environment variables:RESOURCE_GROUP =LOCATION =PURVIEW_ACCOUNT_NAME=<Purview account to be created/modified >Usage:purview [-h] [--create-purview] [--assign-roles] [--delete-purview] [--create-glossary CREATE_GLOSSARY] [--list-terms] [--upload-entities]
                  [--import-terms IMPORT_TERMS] [--delete-term DELETE_TERM] [--delete-all-terms] [--list-term-templates]
                  [--import-term-templates IMPORT_TERM_TEMPLATES] [--delete-term-templates DELETE_TERM_TEMPLATES]

Interaction with Purview

optional arguments:
  -h, --help            show this help message and exit
  --create-purview
  --assign-roles
  --delete-purview
  --create-glossary CREATE_GLOSSARY
                        Create a glossary with name
  --list-terms
  --upload-entities
  --import-terms IMPORT_TERMS
  --delete-term DELETE_TERM
                        Delete a term from the default Glossary
  --delete-all-terms    Delete all terms from the default Glossary
  --list-term-templates
                        List all term templates from the default Glossary
  --import-term-templates IMPORT_TERM_TEMPLATES
                        Import term templates from a file to the default Glossary
  --delete-term-templates DELETE_TERM_TEMPLATES
                        Delete all templates from a file from the default Glossary
Package: pvcobra
Cobra Voice Activity Detection EngineMade in Vancouver, Canada byPicovoiceCobra is a highly accurate and lightweight voice activity detection (VAD) engine.CompatibilityPython 3.7+Runs on Linux (x86_64), macOS (x86_64), Windows (x86_64), Raspberry Pi, NVIDIA Jetson (Nano), and BeagleBone.Installationpip3 install pvcobraAccessKeyCobra requires a valid PicovoiceAccessKeyat initialization.AccessKeyacts as your credentials when using Cobra SDKs.
You can get yourAccessKeyfor free. Make sure to keep yourAccessKeysecret.
Signup or Login toPicovoice Consoleto get yourAccessKey.UsageCreate an instance of the engineimportpvcobrahandle=pvcobra.create(access_key=${AccessKey})Replace${AccessKey}with your AccessKey obtained fromPicovoice Console.handleis
an instance of Cobra.When initialized, the valid sample rate is given byhandle.sample_rate. Expected frame length (number of audio samples
in an input array) ishandle.frame_length. The engine accepts 16-bit linearly-encoded PCM and operates on
single-channel audio.defget_next_audio_frame():passwhileTrue:voice_probability=handle.process(get_next_audio_frame())When done, resources have to be released explicitly:handle.delete()Demospvcobrademoprovides command-line utilities for processing real-time
audio (i.e. microphone) and files using Cobra.
Package: pvct
A program to construct a pseudo-variable count time diffraction pattern from many fixed-time diffraction patterns.Free software: Apache Software License 2.0Installationpip install pvctYou can also install the in-development version with:pip install https://github.com/rowlesmr/pvct/archive/master.zipDocumentationhttps://pvct.readthedocs.io/DevelopmentTo run all the tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.0.0 (2021-11-06)First release on PyPI.
Package: pvdeg
LicensePublicationsDocumentationBuild statusPV Degradation Tools (pvdeg)This repository contains functions for calculating degradation of photovoltaic modules. For example, functions to calculate front and rear relative Humidity, as well as Acceleration Factors. A degradation calculation function is also being developed, considering humidity and spectral irradiances models.TutorialsJupyter BookFor in depth Tutorials you can run online, see ourjupyter-bookClicking on the rocket-icon on the top allows you to launch the journals onGoogle Colaboratoryfor interactive mode.
Just uncomment the first linepip install ...to install the environment on each journal if you follow this mode.BinderTo run these tutorials in Binder, you can click here:It takes a minute to load the environment.LocallyYou can also run the tutorial locally in a virtual environment, i.e.,venvorminiconda.Create and activate a new environment, e.g., on Mac/Linux terminal withvenv:python -m venv pvdeg
. pvdeg/bin/activateor withconda:conda create -n pvdeg
conda activate pvdegInstallpvdeginto the new environment withpip:python -m pip install pvdegStart a Jupyter session:jupyter notebookUse the file explorer in Jupyter lab to browse totutorialsand start the first Tutorial.DocumentationDocumentation is available inReadTheDocswhere you can find more details on the API functions.InstallationRelative Humidity and Acceleration Factors for Solar Modules releases may be installed using thepipandcondatools. Compatible with Python 3.5 and above.Install with:pip install pvdegFor developer installation, clone the repository, navigate to the folder location and install as:pip install -e .[all]LicenseBSD 3-clauseContributingWe welcome contributiosn to this software, but please read the copyright license agreement (cla-1.0.md), with instructions on signing it in sign-CLA.md. For questions, email us.Getting supportIf you suspect that you may have discovered a bug or if you'd like to
change something about pvdeg, then please make an issue on ourGitHub issues page.CitingIf you use this functions in a published work, please cite:Holsapple, Derek, Ayala Pelaez, Silvana, Kempe, Michael. "PV Degradation Tools", NREL Github 2020, Software Record SWR-20-71.And/or the specific release from Zenodo:Ovaitt, Silvana, Brown, Matt, Springer, Martin, Karas, Joe, Holsapple, Derek, Kempe, Michael. (2023). NREL/PVDegradationTools: v0.1.0 official release (0.1.0). Zenodo. https://doi.org/10.5281/zenodo.8088403
Package: pve-cli
pve-cliCLI Tool to manage VMs and more on proxmox clustersConfigFor config option reference seeconfig.example.toml.
The config file path can be provided via command line option--config/-cand is searched by default in the following
paths:Linux (Unix):~/.config/pve-cli/config.tomlMacOS:~/Library/Application Support/pve-cli/config.tomlWindows:C:\Users\<user>\AppData\Local\pve-cli\config.tomlThis leverages theget_app_dirmethod
fromclick.
Package: pvenv
In a nutshellInstallationThe easiest way is to use pipx to installpvenv.$pipxinstallpvenvPlease make sure that the correct directory is added to your path. This
depends on the OS.Runpvenvto get the path to be sourced in the shell rc:$pvenvUsageYou can use the following commands:venv activate(aliased toavenv) to activate a virtual environmentvenv deactivate(aliased todvenv) to deactivate a virtual environmentvenv list(aliased tolsvenv) to list all the virtual environmentsvenv make(aliased tomkvenv) to create a new virtual environmentvenv rm(aliased tormvenv) to remove a virtual environmentLinksDocumentationChangelog
Package: pvextractor
Position-Velocity Diagram ExtractorFull docs are availablehereTool to slice through data cubes and extract position-velocity (or
other) slices.There are a fewutilitiesrelated to header
trimming & parsing. Otherwise, there’s one main function,pvextractor, that takes a data cube and
a series of points and returns a PV array. It is based on scipy’smap_coordinatesbut also has .For an example use case, see [this notebook]
(http://nbviewer.ipython.org/urls/raw.github.com/radio-astro-tools/pvextractor/master/examples/IRAS05358Slicing.ipynb)
(for a permanent, compiled version, lookhere)Powered by Astropy BadgeMinimal Install Instructionspip install https://github.com/ericmandel/pyds9/archive/master.zip
pip install https://github.com/radio-astro-tools/spectral-cube/archive/master.zip
pip install https://github.com/radio-astro-tools/pvextractor/archive/master.zipThe pvextractor GUIRun it like this:from pvextractor.gui import PVSlicer
pv = PVSlicer('L1448_13CO.fits')
pv.show()Click to select “control points” along the path, then press “enter” to
expand the width of the slice, then click. Optionally, “y” will show the
exact regions extracted.Using pvextractor in ds9There is a python script that will be installed along with pvextractor.
You can invoke it from the command line, but the preferred approach is
to load the tool into ds9. First, determine the path tods9_pvextract.ans; it is inscripts/ds9_pvextract.ans. Then start up
ds9 with the analysis tool loadedds9 -analysis load /path/to/pvextractor/scripts/ds9_pvextract.ans  &Then load any cube in ds9, draw a line, and press ‘x’ or press “PV
Extractor” in the menu.Example DS9 useBuild and coverage status
Package: pvfalcon
Falcon Binding for PythonFalcon Speaker Diarization EngineMade in Vancouver, Canada byPicovoiceFalcon is an on-device speaker diarization engine. Falcon is:Private; All voice processing runs locally.Cross-Platform:Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)Raspberry Pi (4, 3) and NVIDIA Jetson NanoCompatibilityPython 3.7+Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.Installationpip3 install pvfalconAccessKeyFalcon requires a valid PicovoiceAccessKeyat initialization.AccessKeyacts as your credentials when using Falcon SDKs.
You can get yourAccessKeyfor free. Make sure to keep yourAccessKeysecret.
Signup or Login toPicovoice Consoleto get yourAccessKey.UsageCreate an instance of the engine and perform speaker diarization on an audio file:importpvfalconhandle=pvfalcon.create(access_key='${ACCESS_KEY}')segments=handle.process_file('${AUDIO_PATH}')forsegmentinsegments:print("{speaker tag=%d- start_sec=%.2fend_sec=%.2f}"%(segment.speaker_tag,segment.start_sec,segment.end_sec))Replace${ACCESS_KEY}with yours obtained fromPicovoice Consoleand${AUDIO_PATH}to the path an audio file. Finally, when done be sure to explicitly release the resources usinghandle.delete().Demospvfalcondemoprovides command-line utilities for processing audio using
Falcon.
Package: pvfalcondemo
Falcon Speaker Diarization DemosMade in Vancouver, Canada byPicovoiceFalconFalcon is an on-device speaker diarization engine. Falcon is:Private; All voice processing runs locally.Cross-Platform:Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)Raspberry Pi (4, 3) and NVIDIA Jetson NanoCompatibilityPython 3.7+Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.Installationpip3 install pvfalcondemoAccessKeyFalcon requires a valid PicovoiceAccessKeyat initialization.AccessKeyacts as your credentials when using Falcon SDKs.
You can get yourAccessKeyfor free. Make sure to keep yourAccessKeysecret.
Signup or Login toPicovoice Consoleto get yourAccessKey.UsageFile DemoRun the following in the terminal:falcon_demo_file --access_key ${ACCESS_KEY} --audio_paths ${AUDIO_PATH}Replace${ACCESS_KEY}with yours obtained from Picovoice Console and${AUDIO_PATH}with a path to an audio file.Microphone DemoYou need a working microphone connected to your machine for this demo. Run the following in the terminal:falcon_demo_mic --access_key ${ACCESS_KEY}Replace${ACCESS_KEY}with yours obtained from Picovoice Console. Once running, the demo prints:>>> Press `ENTER` to start:PressENTERkey and wait for the following message in the terminal:>>> Recording ... Press `ENTER` to stop:Now start recording and when done pressENTERkey.
Package: pvi
PVI (PV Interface) is a framework for specifying the interface to an EPICS
driver in a single YAML file. The initial target is asyn port driver based
drivers, but it could be extended to streamDevice and other driver types at a
later date.It allows the asyn parameter interface to be specified in a single place,
and removes boilerplate code in the driver CPP, template files, documentation,
and low level opis.PyPIpip install pviSource codehttps://github.com/epics-containers/pviDocumentationhttps://epics-containers.github.io/pviReleaseshttps://github.com/epics-containers/pvi/releasesNote: This module is currently a proposal only, so all details are subject to
change at any point. The documentation is written in the present tense, but only
prototype code is written.Seehttps://epics-containers.github.io/pvifor more detailed documentation.
Package: pviewer
PViewerTable of ContentsAbout the ProjectBuilt WithGetting StartedProject SetupUsageLicenseContactAcknowledgementsAbout The ProjectPViewer is a tool which will be used to find the conflicting policies for a AWS IAM user.Built Withpython3Getting StartedThis is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.Installation via pipInstall using pip:pip3installpviewerSet the AWS_PROFILE as environment variableexportAWS_PROFILE=defaultRunpython3-mpviewer-uusernameProject SetupClone this repoWith HTTPSgitclonehttps://github.com/ankitsaini2609/PViewer.gitWith SSH (just use HTTPS if you aren't sure what SSH is)gitclonegit@github.com:ankitsaini2609/PViewer.gitHop into the project directorycdPViewer/pviewerInstall python3 packagessudopip3install-rrequirements.txtSet the AWS_PROFILE as environment variableexportAWS_PROFILE=defaultRun it :rocket:python3__main__.py-uusernameWhere username is IAM username in AWS for which you have to find the overlapping policies.6. OutputUsageTwo policies allowing you to write objects in the same S3 bucket. It will plot a graph and connecting overlapping policies as edges.LicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactAnkit SainiTwitter -@d3afh3av3nGithub -ankitsaini2609Medium -ankitsaini2609LinkedIn -ankitsaini2609AcknowledgementsGitHub Emoji Cheat SheetChoose an Open Source License