Saravanan666/pypi-org huggingface dataset:
Package: pivuq
PIVUQ: PIV Uncertainty QuantificationDescriptionThis package contains python implementations of uncertainty quantification (UQ) for Particle Image Velocimetry (PIV). Primary aim is to implement UQ algorithms for PIV techniques. Future goals include possible extensions to other domains including but not limited to optical flow and BOS.List of approachs:pivuq.diparity.ilk: Iterative Lucas-Kanade based disparity estimation. [scikit-image]pivuq.disparity.sws: Python implementation of Sciacchitano, A., Wieneke, B., & Scarano, F. (2013). PIV uncertainty quantification by image matching.Measurement Science and Technology, 24(4).https://doi.org/10.1088/0957-0233/24/4/045302. [piv.de]InstallationInstall using pippipinstallpivuqDevelopment modeInitializecondaenvironmentcondaenvcreate-fenvironment.ymlInstall packages usingpoetry:poetryinstallHow to citeWork in progressversion:https://doi.org/10.5281/zenodo.6458153In future, please cite the following paper:Manickathan et al. (2022). PIVUQ: Uncertainty Quantification Toolkit for Quantitative Flow Visualization.in prep.
Package: piwate
PIcasa Web Album Tag Export/update.usage:Getting TAG from Picasa web alubm.
using piwato.py(PIcasa Web Album Tag Output)Export tagfile is tab separated and UTF-8 textEditing tagfile by your favalate tool.
(OpenOffice calc, MS-EXCEL and etc.)Update Picasa web album by edited tagfile.using piwati.py(PIcasa Web Album Tag Import)release:
0.3 - bug fix and change; add tsv title to tag_<<tag name>>s .
Package: piwaterflow
PiWaterflowThis is a resilient watering system, executed in a Raspberry Pi to control irrigation valves using relays.
It's intended to be executed periodically (i.e. cron every 5 minutes).Requirements:Raspberry Pi (any model)Relays to control the valvesOptional control relay to enable alternative power inverterIt supports 2 watering programs every day.Programs can be forced at any time.Valves can be manually triggered.Programs, forced programs and manual Valves can be manually stopped.Metrics can be emitted to influxdb to register actions (programs and valves).This package fits with piwwwaterflow, so that it can be controlled via HTTP page.TODO:Abort watering if humidity is above threshold (90% default). Send email warning
Package: piwavelet
PIWaveletPython Interface for Wavelet  AnalysisDISCLAIMER
This module is a Python interface for the matlab package for wavelet,
cross-wavelet and coherence-wavelet analysis provided by
Aslak Grinsted, John C. Moore and Svetlana Jevrejeva.http://noc.ac.uk/using-science/crosswavelet-wavelet-coherence

This software may be used, copied, or redistributed as long as it
is not sold and this copyright notice is reproduced on each copy
made. This routine is provided as is without any express or implied
warranties whatsoever.TO RUN
It is necessary to have gnuoctave and oct2py installed in your machine
Gnu Octave:http://www.gnu.org/software/octave/(sudo apt-get install octave)
oct2py:https://github.com/blink1073/oct2py(easy_install oct2py)INSTALL:
python setup.py installor:

conda install -c jabuticabads piwavelet

or:

pip install piwaveletOBSERVATION:
Octave supports most but not all of the core syntax and commands of MatLab.
The main noticable differences are nested functions are not allowed, and GUIs (including uigetfile, etc.) are not supported.DOC:
For more information an how to use see:http://duducosmos.github.com/PIWavelet/AUTHOR
Eduardo S. Pereira
email:pereira.somoza@gmail.comAgradecimentos:
Gostariamos de agradecer a Fundação de Ampáro a Pesquisa de São Paulo pelo apoi. Processo: 2012/21877-5.REFERENCES
[1] Mallat, Stephane G. (1999). A wavelet tour of signal processing
[2] Addison, Paul S. The illustrated wavelet transform handbook
[3] Torrence, Christopher and Compo, Gilbert P. (1998). A Practical
Guide to Wavelet Analysis
[4] Grinsted, A., Moore, J.C., Jevrejeva, S., 2004,
Nonlin. Processes Geophys., 11, 561–566, doi:10.5194/npg-11-561-2004
[5] Jevrejeva, S., Moore, J.C.,  Grinsted, A., 2003,
J. Geophys. Res., 108(D21), 4677, doi:10.1029/2003JD003417
[6] Torrence, C., Webster, P. ,1999,
J.Clim., 12, 2679–2690
Package: piweatherrock
PiWeatherRockPiWeatherRock displays local weather on (almost) any screen you connect to a Raspberry Pi. It also works on other platforms, including macOS.More information about the project and full documentation can be found athttps://piweatherrock.technicalissues.us. Be sure to check out the getting started guide under the documentation link there for instruction on how to set everything up.Release processeditversion.pyaccording to the types of changes madeeditrequirements.txtif neededpython3 setup.py sdist bdist_wheeltar tzf dist/piweatherrock-*.tar.gztwine check dist/*[optional]twine upload --repository-url https://test.pypi.org/legacy/ dist/*twine upload dist/*Create a git tag and push it
Package: piweatherrock-webconfig
piweatherrock-webconfigThis is the source code for thepiweatherrock-webconfigPython module. Its provides a web interface for configuringPiWeatherRock.UsageMany thanksRelease processUsageThis is a standalone package that just needs to know where the config file for PiWeatherRock is located. For example, if you keep the config file in the home directory of the default user on a Raspberry Pi, you'd call it like this:pwr-webconfig-c/home/pi/piweatherrock.jsonMany thanksThe code for this was contributed by@metaMMA. It used to be embedded in the main PiWeatherRock code base but has now been moved here so that it can be installed via pip.Release processeditversion.pyaccording to the types of changes madepython3 setup.py sdist bdist_wheeltar tzf dist/piweatherrock-*.tar.gztwine check dist/*[optional]twine upload --repository-url https://test.pypi.org/legacy/ dist/*twine upload dist/*Create a git tag and push it
Package: pi-weatherstation
pi_weatherstationRead the data from pimoroni BME680 and display on pimoroni SPI screenDependencies:wkhtmltopdf(https://wkhtmltopdf.org/downloads.html)Install on RaspberryPIEnable SPI and I2CInstall the dependenciessudo apt-get install python3-venv python3-dev libatlas-base-dev wkhtmltopdf libopenjp2-7Create the folder to store the virtualenvmkdir pi_weatherstation

cd pi_weatherstationCreate the virtualenv and activate itpython3 -m venv .env

source .env/bin/activateInstall the via pip with the sensors dependenciespip install pi_weatherstation\[st7789,bme680\]Runpi_weatherstation -l debugConfig fileYou can copy the example config file fromhttps://github.com/guilhermef/pi_weatherstation/blob/main/examples/config.iniThe fieldmetrics_location_labelwill be added as a location label on prometheus.Then you can runpi_weatherstation -c <path to config.ini>Long term data storageThis will also start a prometheus metric server that you can use to scrape.
You can configure a label name location if you have multiple instances.Install Prometheus on RaspberryPICreate a free account on Grafana CloudCopy the existing prometheus.yml file to scrape the local pi_weatherstation,
and add your remote_write auth on it.https://github.com/guilhermef/pi_weatherstation/blob/main/examples/prometheus.ymlImport the example dashboard on your new Grafana:https://github.com/guilhermef/pi_weatherstation/blob/main/examples/grafana_dashboard.jsonRunning as a serviceIf you want, you can use the systemd service unit file as an examplehttps://github.com/guilhermef/pi_weatherstation/blob/main/examples/pi_weatherstation.serviceto/etc/systemd/system/pi_weatherstation.servicethen, run:sudo systemctl daemon-reload
sudo systemctl enable pi_weatherstation.service
sudo systemctl start pi_weatherstation.service
Package: piwebx
Release InformationChangelogAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog.0.0.2 (12 Jan 2024)Added WebId search functions forPoints (find_points_web_id)Attributes (find_attributes_web_id)The resolved WebId's can be used directly in all streams data collection functionsAdded data type search forPoints (find_points_type)Attributes (find_attributes_type)Addedget_current,get_recorded_at_timeandget_interpolated_at_timestreams functions0.0.3 (16 Jan 2024)Added WebId search functions forAssetservers (find_assetserver_web_id)Assetdatabase (find_assetdatabase_web_id)Dataservers (find_dataserver_web_id)0.0.4 (21 Jan 2024)Fixed a bug in allstreamsfunctions that would allow them to exceed themax_concurrencyparameterFull changelog
Package: piwho
Piwho is python wrapper aroundMARFspeaker recognition framework for the Raspberry pi and other SBCs. With
the Piwho you can implement speaker recognition in your projects.Blink exampleimportRPi.GPIOasGPIOimporttimefrompiwhoimportrecognition,vaddefblink(pin):GPIO.setmode(GPIO.BOARD)GPIO.setup(pin,GPIO.OUT)foriinrange(0,10):GPIO.output(pin,GPIO.HIGH)time.sleep(1)GPIO.output(pin,GPIO.LOW)time.sleep(1)if__name__=="__main__":recog=recognition.SpeakerRecognizer('./')vad.record()name=recog.identify_speaker()ifname[0]=='Abhishek':blink(11)Tested onUbuntu 15.10Pi 1 model B (raspbian wheezy, jessie)Pi 2 model B (raspbian wheezy, jessie, stretch)CHIPInstallationUpdate the Pi$sudoapt-getupdate$sudoapt-getupgradeYou need to have JDK (min version: 1.7) installed on your Pi.# verify jdk is installed$java-versionPyaudio is required to run audio recording script. (Optional)# Install portaudio$sudoapt-getinstallportaudio19-dev# Install python dev package$sudoapt-getinstallpython2.7-dev# Install pyaudio$pipinstallpyaudioPiwho is on PyPI$pipinstallpiwhoor clone the project from github$gitclonehttps://www.github.com/Adirockzz95/Piwho.git$cdPiwho$pythonsetup.pyinstallTestsTests are implemented using unittest framework:$pipinstall-rrequirements.txt$python-munittestdiscover-v./testsDocumentationTraining the modelRecognitionGender detectionintegrating with JasperTips / CaveatsRecognition/Training time depends on the length of an audio file.If possible overclock your Pi- use Turbo mode.Give maxmium RAM to CPU.ReadMARF
manualto know how the it works.Recognition speed is directly proportional to the CPU power.MiscHere are resources/similar projects I came across while working on this
project.recognito: Works
very well on Pi, but data storage is not implemented.voiceidALIZEShoutMARF
manualLIUM
siteLICENSEMIT
Package: piwigo
piwigoPiwigo is a famous open-source online photo gallery.piwigo is a module python for communicate with API Piwigo.Installationpip install piwigoOrgit clone https://github.com/fraoustin/piwigo.git
cd piwigo
python setup.py installUsageimport piwigo
mysite = Piwigo('http://mysite.com')
print(mysite.pwg.getVersion())Piwigo object has attribute name of webservice.List of webservice athttp://mysite.com/tools/ws.htmSample of uplad file in category with id=1import piwigo
mysite = Piwigo('http://mysite.com')
mysite.pwg.session.login(username="test", password="test")
mysite.pwg.images.addSimple(image="myphoto.jpg", "category"=1)
mysite.pwg.session.logout()V. 1.0.0check version. 0.0.4manage types.BooleanType for python27add close connection for python3V. 0.0.2add getParamsV. 0.0.1init
Package: piwigotools
piwigotoolsPiwigo is a famous open-source online photo gallery.Piwigotools is a module python for manage your piwigo gallery.
The module add command “piwigo”InstallationWarningPiwigotools needs the progressbar module.But progressbar moduel is not compatible with python3install for python2.7pip install progressbarinstall for python 3git clone https://github.com/coagulant/progressbar-python3.git
cd progressbar-python3
python setup.py installInstallpip install piwigotoolsOrgit clone https://github.com/fraoustin/piwigotools.git
cd piwigotools
python setup.py installUsagepiwigo verb --param1=value1 --param2=value2 ...0.1.3correction per page in images0.1.2correction per page to int0.1.1correction of help for piwigotools.main0.1.0add verb sync-up and sync-down0.0.2add verb upload, download and wsintegrate progressbarmanage thread0.0.1init
Package: piwik-api
Python 3 client library for thePiwik Reporting
API.ThePiwik Tracking
APIis not
supported.Example Usagefrom piwik_api import PiwikAPI

p = PiwikAPI(url='https://piwik.example.com',
             token='e9f31a88fce426cd27aa4734ace348b8')

# Get list of sites with activity today
sites = p.MultiSites.getAll(period='day', date='today')

# Get stats for all pages, filtered by date range
from datetime import date
pages = p.Actions.getPageURLs(idSite=1, period='range', date=date(2017, 6, 1),
                              end_date=date(2017, 6, 15))
Package: piwikapi-drred
This is a Python implementation of the Piwik tracking and analytics APIs.piwikapi-drredincludes the following changes:Use Python Requests instead of urllibImplement Content TrackingImplement Site SearchImplement User ID trackingImplement custom-dimensionsAdd variable tracking supportExtra logging and debugging message when running testsReplace md5 with more secure way to generate random stringBetter Python 3 supportFull Documentation athttp://piwikapi.readthedocs.org/en/latest/index.html.
Package: piwik-pro-log-analytics
Piwik PRO Server Log AnalyticsImport your web server logs to Piwik PRO.RequirementsPython 3.6+.Piwik PRO >= 16+, all the versions, including Cloud, Core and On-Premises are supportedGetting startedDownload this git repositorygit clone git@github.com:PiwikPRO/log-analytics.git. The script uses only python standard library, so no external packages are required. Alternatively you can download our PyPi package -pip install piwik-pro-log-analytics.Generate Client ID and Client Secret for communication with Piwik PRO API - docs on how to do this can be found ondevelopers.piwik.proYou are now ready to import your web server's access logs into Piwik PRO:piwik_pro_log_analytics/import_logs.py --client-id <client-id> --client-secret <client-secret> --url=<my-organization>.piwik.pro /path/to/access.logIf you installed log analytics viapip, instead ofpiwik_pro_log_analytics/import_logs.pyusepiwik_pro_log_analyticsIf the code fails, saying, that your log format doesn't contain hostname - you must decide what App you'd like to track to. You can find App ID in Piwik PRO UI> Administration> Sites & apps>. After that, use--idsite <app-id>flag to tell the importer which App you'd like to track to.More usage instructionsMore usage instructions can be found ondevelopers.piwik.proLicenseLog-analytics is released under the GPLv3 or later.  Please refer toLEGALNOTICEfor copyright and trademark statements andLICENSE.txtfor the full text of the GPLv3.
Package: piwik-tracker
Official python implementation of the Piwik tracking API. You can use it to track visitors, ecommerce, actions, goals,
generate reports and much more.Free software: BSD licenseInstallationpip install piwik-trackerDocumentationhttps://piwik-python-tracker.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.0 (2016-04-29)First release on PyPI.
Package: piws_setup
SummarySetup to add all the required CubicWeb cubes when starting a new population
imaging studies.How toExecute the piws_setup command:Usage: piws_setup [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -d DIR, --directory=DIR
                        Specify the directory where the cubes will be cloned.
  -l DEBUG_LEVEL, --level=DEBUG_LEVEL
                        Set the debug level.
Package: pix2py
pix2pyA python package to plot pixelmaps generated byTheriak-Dominousingmatplotlib.InstallationThe latest version of pix2py can be installed using pip:pipinstallpix2pyQuickstartIn your Python script or notebook you must first importPixelMapfrompix2py.frompix2pyimportPixelMapTo use pix2py, you need to have a pixelmap folder called_pixelmapsgenerated byDominoin your working directory. Or you can specify the path to the pixelmap folder:frompathlibimportPathpixelmap_dir=Path("{INSERT PATH HERE}","_pixelmaps")Since the individual pixelmaps for solid solution phases are named after the dominant endmember, you need to provide a dictionary to map a phase name to all endmember names for that phase in the thermodynamic database used to generate the pixelmaps.This dictionary has the general form:ENDMEMBER_DICT = {"phase_name": "endmember1, endmember2, ...", ...}. Create a local dictionary for the project by:LOCAL_ENDMEMBER_DICT={}LOCAL_ENDMEMBER_DICT["biotite"]="phl","annm","obi","east","tbi","fbi","mnbi"Additonal phases can be added to the dictionary as needed:LOCAL_ENDMEMBER_DICT["LIQtc6"]="q4L","abL","kspL","anL","slL","fo2L","fa2L","h2oL"Next, set up a pixelmap object by passing the path to the pixelmap folder and the endmember dictionary.pixmap=PixelMap(pixelmap_dir,LOCAL_ENDMEMBER_DICT)To plot a pixelmap, use theplot_pixelmapmethod of the pixelmap object. The method takes a variable to plot (variable) the phase name (mineral) as input arguments and returns a matplotlib figure object and ax object.pixmap.plot_pixelmap("vol",mineral="LIQtc6")To plot isolines, use theplot_isolinesmethod of the pixelmap object. The method takes a variable to plot (variable) and the phase name (mineral) as input arguments and returns a matplotlib figure object and ax object.pixmap.plot_isolines("vol",mineral="LIQtc6")Capture the figure and ax objects to save or further customise the plotted pixelmap.fig,ax=pixmap.plot_pixelmap("vol",mineral="LIQtc6")fig.savefig("LIQtc6_vol.png",dpi=300)You can use matplotlib's functions to further customise the plotted pixelmap.fig,ax=pixmap.plot_pixelmap("vol",mineral="LIQtc6")ax.set_title("LIQtc6 Volume Fraction")Full Examplefrompix2pyimportPixelMapfrompathlibimportPathpixelmap_dir=Path("{path_to_pixelmap_folder}","_pixelmaps")LOCAL_ENDMEMBER_DICT={}LOCAL_ENDMEMBER_DICT["biotite"]="phl","annm","obi","east","tbi","fbi","mnbi"pixmap=PixelMap(pixelmap_dir,LOCAL_ENDMEMBER_DICT)fig,ax=pixmap.plot_pixelmap("#Mg",mineral="biotite")fig.savefig("Biotite_Mg.png",dpi=300)
Package: pix2vertex
Unrestricted Facial Geometry Reconstruction Using Image-to-Image Translation - Official PyTorch Implementation[Arxiv][Video]Evaluation code for Unrestricted Facial Geometry Reconstruction Using Image-to-Image Translation. Finally ported to PyTorch!Recent Updates2020.10.27: Added STL support2020.05.07: Added a wheel package!2020.05.06: AddedmyBinderversion for quick testing of the model2020.04.30: Initial pyTorch releaseWhat's in this release?Theoriginal pix2vertex repowas composed of three partsA network to perform the image to depth + correspondence maps trained on synthetic facial dataA non-rigid ICP scheme for converting the output maps to a full 3D MeshA shape-from-shading scheme for adding fine mesoscopic detailsThis repo currently contains our image-to-image network with weights and model toPyTorchand a simplepythonpostprocessing scheme.The released network was trained on a combination of synthetic images and unlabeled real images for some extra robustness :)InstallationInstallation from PyPi$pipinstallpix2vertexInstallation from source$gitclonehttps://github.com/eladrich/pix2vertex.pytorch.git$cdpix2vertex.pytorch$pythonsetup.pyinstallUsageThe quickest way to tryp2vis using thereconstructmethod over an input image, followed by visualization or STL creation.importpix2vertexasp2vfromimageioimportimreadimage=imread(<someimagefile>)result,crop=p2v.reconstruct(image)# Interactive visualization in a notebookp2v.vis_depth_interactive(result['Z_surface'])# Static visualization using matplotlibp2v.vis_depth_matplotlib(crop,result['Z_surface'])# Export to STLp2v.save2stl(result['Z_surface'],'res.stl')For a more complete example see thereconstruct_pipelinenotebook. You can give it a try without any installations using ourbinder port.Pretrained ModelModels can be downloaded from these links:pix2vertex modeldlib landmark predictor- note that the dlib model has its own license.If no model path is specified the package automagically downloads the required models.TODOsPort Torch model to PyTorchRelease an inference notebook (usingK3D)Add requirementsPack as wheelPorted to MyBinderAdd a simple method to export a stl file for printingPort the Shape-from-Shading method used in our matlab paperWrite a short blog about the revised training schemeCitationIf you use this code for your research, please cite our paperUnrestricted Facial Geometry Reconstruction Using Image-to-Image Translation:@article{sela2017unrestricted,
  title={Unrestricted Facial Geometry Reconstruction Using Image-to-Image Translation},
  author={Sela, Matan and Richardson, Elad and Kimmel, Ron},
  journal={arxiv},
  year={2017}
}
Package: pixabay
python-pixabay (pixabay) is unofficial API client library for pixabay API (https://pixabay.com/api/docs/)Install from pippip3installpixabayInstall from sourcegit clone https://github.com/Lukas0025/python-pixabay.git
cd python-pixabay
make installGetting startedsimple exampledownload imageimportpixabay.core# init pixabay APIpx=pixabay.core("YOUR API KEY")# search for spacespace=px.query("space")# get len of hits len(space)print("{}hits".format(len(space)))# downalod fisrt imagespace[0].download("space.jpg","largeImage")download videoimportpixabay.core# init pixabay APIpx=pixabay.core("YOUR API KEY")# search for spacespace=px.queryVideo("space")# get len of hits len(space)print("{}hits".format(len(space)))# downalod fisrt videospace[0].download("space.mp4","large")examplesdocumentationGetting helpIssues:https://github.com/Lukas0025/python-pixabay/issuesReporting bugs and contributingWant to report a bug or request a feature? Please openan issue.Want to help us with build? Contact meLicensingpython-pixabay is licensed under Apache2
Package: pixabay.py
pixabay.pyapi still in progress. examples in test.py for every functionTo get an API key for pixabay, go tohttps://pixabay.com/api/docs/Make an account, and then go to the parameters for image searching. One of the values should say 'key', with your api key. When creating a pixabay client, just input your API keyexample: pixaclient = pixabay.Client(api_key=os.get_env("API_KEY"))Then you should be good to go! You can use all of the functions in examples.py
,
Package: pixabay.py-OBLIQUEE
pixabay.pyapi still in progress. examples in test.py for every functionTo get an API key for pixabay, go tohttps://pixabay.com/api/docs/Make an account, and then go to the parameters for image searching. One of the values should say 'key', with your api key. When creating a pixabay client, just input your API keyexample: pixaclient = pixabay.Client(api_key=os.get_env("API_KEY"))Then you should be good to go! You can use all of the functions in examples.py
,
Package: pixabay-python
Pixabay_PythonThis is a Python library for interacting withPixabayapi.RequirementsRequirements can be installed by this line:$ python -m pip install pixabay_pythonUsageYou need to first sign up to Pixabay and get an api key fromhere.
Then you can use your api key to access Pixabay like the
following examplesexample 1import pixabay_python as pxb

client = pxb.PixabayClient(apiKey="your_api_key") 
searchResult = client.searchImage(q="tree")
hitsList = list(searchResult.hits)
pxb.download(url=hitsList[0].largeImageURL, outputDir="./anOutDir")example 2import pixabay_python as pxb

client = pxb.PixabayClient(apiKey="your_api_key") 
searchResult = client.searchImage(q="tree")
hitsList = list(searchResult.hits)
someSelectedURLs = [hit.largeImageURL for hit in hitsList[:5]]
pxb.downloadList(urlList=someSelectedURLs, outputDir="./anOutDir")LicensePixabay_Python is licensed under Apache 2.0 License.CreditsDeveloped by Farzad Shayanfar