Saravanan666/pypi-org huggingface dataset:
Package: punyverse
punyversePython simulator of a puny universe. (How many words can I stick into one?)InstallationTo install, runpip install punyverse.If you are on Windows, runpunyverse_make_launcher. This should create special launchers that runspunyverseon
your dedicated graphics card, should it exist.Your graphics card might not support some of the larger textures used bypunyverse, and so startup might fail.
To solve this problem, runpunyverse_small_images. It will do nothing if your graphics card supports all the
textures, so when in doubt, runpunyverse_small_imagesafter installation.Then, runpunyverseto launch the simulator, orpunyversewto launch without the console.Summarypipinstallpunyverse
punyverse_make_launcher
punyverse_small_images# Installation finished. Run:punyverseTroubleshootingIfpunyversedoes not work, try upgrading your graphics card drivers.If your graphics card does not appear to support OpenGL 3.3, then you cannot run the latest version ofpunyverse.
You can trypip install -U punyverse==0.5to install the last version ofpunyverseto support legacy devices.
You can download the wheels manually fromthe PyPI page.If the problem is unrelated to your graphics card, and it persists, try running punyverse under debug mode. To do this,
runpunyverseaspunyverse --debug. Then paste the entirety of the output into a new GitHub issuehere.
Package: pupalink
♞ pupalinkA simple Python module to search and download books from SpringerLink.🧪This project is still in an early stage of development. Expect breaking
changes.FeaturesSearch and download books from Springer LinkPrerequisitesAn active SpringerLink account with premium access.Getting startedSign in to your SpringerLink account and copy theidp_sessioncookie and paste it like below:frompupalinkimportSessionsession=Session("YOUR_IDP_SESSION")ExamplefrompupalinkimportSessionfromasyncioimportget_event_loopasyncdefmain():session=Session("YOUR_KEY")books=awaitsession.search_book("Rust")forbookinbooks:awaitsession.download_book(book)awaitsession.close()loop=get_event_loop()loop.run_until_complete(main())
Package: pupg
PUPGPython script for upgrading all python packages, which is still a big missing pip functionality.
The script runspip list -ocommand to get all outdated packages.
Then it creates a thread for all of the found upgradable packages and runspip install -U %pckgon them.Installationpip install pupgUsagepython -m pupg [-h] [-l LIMIT] [-c] [-v]optional arguments:-h, --help- show help message and exit-l LIMIT, --limit LIMIT- set default upgrade try limit (default=3) allowing safely abort upgrade of a package after given number of tries-c, --check- check if upgrade was successful at the and of the script; simply runspip list -oagain and check if the list is zero-v, --verbose- not implemented yet
Package: pupil-analysis
Pseudopupil Analysis suiteSpecialised spatial motion analysis software for Pupil Imsoft data.In general, can be used for data that follows hierarchydata_directory
├── specimen_01
│   ├── experiment_01
│   │   ├── image_001.tif
│   │   └── image_002.tif
│   └── ...
└── ...InstallingThere are two supported installation ways at the moment.
On Windows, the stand-alone installer is possibly the best option unless you feel familiar with Python.
On other platforms, use pip.Installer on Windows (easiest)A Windows installer that bundles together the Pseudopupil Analysis suite and all its depencies,
including a complete Python runtime, is provided atReleases.The installer creates a start menu shorcut calledPupil Analysis,
which can be used to launch the program.To uninstall, useAdd or Remove programsfeature in Windows.Using pip (the python standard way)The latest version fromPyPican be installed with the commandpip install pupil-analysisThis should install all the required dependencies, except when on Windows, OpenCV may requireVisual C++ Runtime 2015to be installed.Afterwards, to upgrade an existing installation to the latest versionpip install --upgrade pupil-analysisIn case of regressions, a specific version of the suite (for example 0.1.2) can be installedpip install pupil-analysis==0.1.2Finally, to open the programpython -m pupilanalysis.tkguiHow to useFirst, open a data directory (containing the folders containing the images).
Next, select the regions of interest (ROIs) and then run the motion analysis.
The ROIs and movements are saved on disk (C:\Users\USER\PupilAnalysisor/home/USER/.pupilanalysis), so these steps are needed only once per specimen.After the initial steps you, can perform further analyses in the program or
export the data bycopy-pasting to your favourite spread sheet or plotting program
or 2) exporting CSV files.NotesThis is still an early development version (expect rough edges).
Package: pupil-apriltags
pupil-apriltags: Python bindings for the apriltags3 libraryThese are Python bindings for theApriltags3library
developed byAprilRobotics,
specifically adjusted to work with the pupil-labs software. The original
bindings were provided byduckietownand were
inspired by theApriltags2
bindingsbyMatt
Zucker.Install from PyPIThis is the recommended and easiest way to install pupil-apriltags.pipinstallpupil-apriltagsWe offer pre-built binary wheels for common operating systems. To install from source,
see below.UsageSome examples of usage can be seen in thesrc/pupil_apriltags/bindings.pyfile.TheDetectorclass is a wrapper around the Apriltags functionality.
You can initialize it as following:frompupil_apriltagsimportDetectorat_detector=Detector(families="tag36h11",nthreads=1,quad_decimate=1.0,quad_sigma=0.0,refine_edges=1,decode_sharpening=0.25,debug=0)at_detector.detect(img)See theAPI reference documentationfor details.Manual installation from sourceYou can of course clone the repository and build from there. For
development you should install the development requirements as well.
This project uses the new python build system configuration fromPEP
517andPEP
518.# clone the repositorygitclone--recursivehttps://github.com/pupil-labs/apriltags.gitcdapriltags# install apriltags in editable mode with development requirementspipinstall-e.[testing]# run testspytesttests/
Package: pupil-detectors
pupil-detectorsThis Python package contains the standalone 2D pupil detectors for thePupil Coresoftware stack.Install via PyPIpip install pupil-detectorsUsageHere’s a quick example on how to detect and draw an ellipse.importcv2frompupil_detectorsimportDetector2Ddetector=Detector2D()# read image as numpy array from somewhere, e.g. here from a fileimg=cv2.imread("pupil.png")gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)result=detector.detect(gray)ellipse=result["ellipse"]# draw the ellipse outline onto the input image# note that cv2.ellipse() cannot deal with float values# also it expects the axes to be semi-axes (half the size)cv2.ellipse(img,tuple(int(v)forvinellipse["center"]),tuple(int(v/2)forvinellipse["axes"]),ellipse["angle"],0,360,# start/end angle for drawing(0,0,255)# color (BGR): red)cv2.imshow("Image",img)cv2.waitKey(0)DevelopersBuilding from SourceInstalling the dependenciesmacOS:brew install eigen opencvWindows:choco install eigen opencvUbuntu:apt-getinstalllibeigen3-devlibeigen3-devBuilding the Python package# Clone repositorygitclonegit@github.com:pupil-labs/pupil-detectors.gitcdpupil-detectors# Install from sourcepipinstall.
Package: pupil-labs-dynamic-rim
This package allows you to use the Dynamic RIM module in Pupil Labs.This is an extension of ourRIMenrichment that allows you to select a screen/display in the reference image and plot the gaze over the content displayed on it.
It will also give you a csv file with the coordinates of the gaze in the screen coordinates.To install it, use:pipinstallpupil-labs-dynamic-rimTo run it:pl-dynamic-rimSee ourdocsfor more information.
Package: pupil-labs-uvc
pyuvcPython bindings for the Pupil Labs fork oflibuvcwith super fast jpeg decompression usinglibjpegturbo(utilizing the tubojpeg api).cross platform access to UVC capture devices.Full access to all uvc settings (Zoom,Focus,Brightness,etc.)Full access to all stream and format parameters (rates,sizes,etc.)Enumerate all capture devices with device_list()Capture instance will always grab mjpeg conpressed frames from cameras.Image data is returned asFrameobject. This object will decompress and convert on the
fly when image data is requested. This gives the user the full flexiblity: Grab just the
jpeg buffers or have them converted to YUV or Gray or RGB and only when you need.TheFrameclass has caching build in to avoid double decompression or conversion.Install via PyPIpip install pupil-labs-uvcExampleSeeexamples/for code examples.Install from sourcepyuvc requires the following dependencies:libusblibturbo-jpegPOSIX Threads for Windows(Windows
only, supplied via thepupil-pthreads-winPython module)Once the dependencies are installed, you can pip install the source tree:git clone https://github.com/pupil-labs/pyuvc --recursive
export FORCE_LOCAL_LIBUVC_BUILD=ON
pip install ./pyuvcLinuxUbuntu/Debian:apt-get update -y
apt-get install -y libusb-1.0-0-dev libturbojpeg-devRunning as a non-root userOne needs to setup udev rules and add the target user to theplugdevgroup to avoid
the privileged access requirement.echo'SUBSYSTEM=="usb",  ENV{DEVTYPE}=="usb_device", GROUP="plugdev", MODE="0664"'|sudotee/etc/udev/rules.d/10-libuvc.rules>/dev/nullsudoudevadmtriggersudousermod-a-Gplugdev$USER# logout and back inmacOSHomebrew:brew update
brew install libusb jpeg-turboRunning as a non-root userUnfortunately, this is currently not possible. Seethis libusb issue threadfor details.WINDOWSRun the following code in a powershell to install the dependencies (requires7zto be installed)pipinstallbuilddelvewheelgitclonehttps://github.com/pupil-labs/pyuvc--recursivecdpyuvcscripts/download-deps-win.ps1-DEPS_TMP_PATHtmp$Env:DEPS_PATHS_LOC="tmp/dep_paths.json"python-mbuild-w# will create a wheel in dist/ folder; insert the wheel path belowpythonscripts/repair-wheels-win.py$Env:DEPS_PATHS_LOC<wheellocation>wheelhousepipinstallwheelhouse/<wheelname>Manual driver installationpyuvc requires the libUSBk driver to be installed for your corresponding camera.
Otherwise, metadata like the product name will be set to"unknown".Please seethese instructionson how to manually install libUSBk drivers for your specific camera.
Package: pupillometry
Pupil trackerTrack pupil diameter changes semi-automatically by using ROIs, brightness thresholding, color clustering, and/or ROIs.InstallationInstallPython version 3.8Open command promptRunpip install pupillometryorpython -m pip install pupillometryUsage overviewOpencmdRunpython -m pupillometry.pupil --annotate "C:\Users\Molina\Documents\public\data\pupil\amph01_vid_15fps.mp4"Annotate using mouse and shortcuts:TBDExport results:TBDVersion History0.0.1: Initial release.License© 2019Leonardo MolinaThis project is licensed under theGNU GPLv3 License.
Package: pupil-pthreads-win
pupil-pthreads-winThis is a precompiled version of pthreads for windows wrapped in a python package.
We use it as dependency for various modules for the pupil core software.This wrapper contains a x64 precompiled version of pthreads-win 2.9.1 fromhttps://sourceware.org/pthreads-win32/from Ross Johnson.
The original licensing information can be found inCOPYINGandCOPYING.LIB.InstallationNote that this library only provides pthreads for windows and thus you are not recommended to use it  on another operating system. When trying to use it on another operating system, you might receive a warning.Install from PyPI:pipinstallpupil-pthreads-winChangelog2 - 2019-09-18AddedLicense files and source attribution for pthreads-win.License file for pupil-pthreads-win.1 - 2019-08-27Initial release.
Package: pupil-tracking
Pupil_TrackingSynthetic Pupil DataSet GenerationTo de-risk the idea of using ML as the primary mechanism for determining the optical-axis of the pupil, this repo attempts to generate a synthetic dataset of images created from Blender which mimic the effect of having two cameras in very precise locations to mock up the experimental setup of have cameras mounted on a VR headset mounted on a test subject from which data collection could take place.The objective of this technique is to quickly mock-up an admittedly hyper-clean dataset of images and to attempt to apply standard computer-vision (CV) or machine-learning (ML) techniques. While not under the precise lighting conditions and while the camera position, quality, and specs will certainty not be the same as the physical experimental apparatus, this setup should be able to function as a proof-of-concept and derisk the project.Ground TruthIn the application of either CV or ML methods, the ability to know with certainty the actual position of the subject (in general) and the optical axis vector of their eye specifically, is a valuable piece of information to retain as refernence or ground truth labels.Data AugmentationSeeing as how the images being created for the dataset are synthetically created, and since we control all aspects of the scene/world of the computer generated imaging being rendered (such as lighting, shadows, reflection, saturation, image resolution, camera positions and rotation ...etc) this synthetic dataset is a prime candidate for testing out the machine learning methods under a variety of conditions which would hopefully enable the ML to generalize the problem of pupil tracking prediction. If we can overfit hyper-clean data and reliably predict the optical vector of the pupil, that might indicate that the problemmightbe solved tractibly with ML. Since there is no human subject data to train on, this also provides the only set of data possible to train on at this moment. However, while synthetic data might derisk the process of proceeding with ML in the real experimental setup, we can also attempt to generate variable data with the computer rendering tools that we have at our disposal.
Package: pupper
# pupper![https://pypi.python.org/pypi/pupper]([https://img.shields.io/pypi/v/pupper.svg)
![https://travis-ci.org/sixninetynine/pupper](https://img.shields.io/travis/sixninetynine/pupper.svg)Pupper is a utility to manage all your python cli utils!Free software: MIT license# FeaturesTODO# CreditsTODO
Package: puppetdb_api
Puppetdb-api is python API around the puppetDB REST API.QUERIESNodes,factsandresourcescan by queried by matchingnodes,factsandresourceswith boolean operatorsor,andandnot.All the queries can be done as arawqueries, to obtain the raw JSON, that puppetDB returns.NODES>>>p=PuppetDB('https://puppetdb.example.com')>>>p.nodes(Or(Fact('role','example','='),Resource('Class','Klass_name','=')))[u'node1.example.com', u'node2.example.com']>>>p.nodes_raw(Node('node1.example.com','='))[{u'deactivated': None, u'facts_timestamp': u'2014-08-25T19:45:00.707Z', u'name': u'node1.example.com', u'report_timestamp': u'2014-08-25T19:46:09.616Z', u'catalog_timestamp': u'2014-08-25T19:45:14.896Z'}]FACTSValues for multiple facts can be obtained by passing multiple facts names tofactsargument.>>>p=PuppetDB('https://puppetdb.example.com')>>>p.facts(query=And(Fact('role','example','='),Not(Resource('Class','Klass_name','='))),facts=['role','hostname']){u'hostname': [u'hostname1'], u'role': [u'example']}>>>p.facts_raw(Node('node1.example.com','~'))[{u'certname': u'node1.example.com', u'name': u'clientversion', u'value': u'3.8.7'}, {u'certname': u'node1.example.com', u'name': u'uptime_hours', u'value': u'656'}]RESOURCESValues for multiple resources can be obtained by passing multiple resources names toresourcesargument.>>>p=PuppetDB('https://puppetdb.example.com')>>>p.resources(query=And(Fact('role','example','='),Not(Resource('Class','Klass_name','='))),resources=['Some_resource']){u'Some_resource': [u'Resource_title']}>>>p.resources_raw(query=Node('node1.example.com','~'),resources=['Some_resource'])[{u'certname': u'node1.example.com', u'resource': u'8df598f3923a05e543e884d247d74cac08087a45', u'parameters': {}, u'title': u'resource_title', u'tags': [u'tag1', u'tag2'], u'exported': False, u'file': u'/etc/puppet/environments/example/example.pp', u'line': 25, u'type': u'Some_resource'}]INSTALL$pipinstallpuppetdb_api
Package: puppetdb-exporter
Prometheus exporter for PuppetDB.Install$gitclonehttps://github.com/othalla/puppetdb_exporterConfigurationExporter reads config fromCONFIG_FILEenvironment variable.Example[puppetdb]host=puppetdb.example.localport=8080ssl_verify=path/to/authorityssl_key=path/to/keyssl_cert=path/to/certproto=https[optional]fact_list=kernelrelease values.architecture
Package: puppeter
Work In Progress!A commandline tool to ease the installation of typical puppetserver - agent installation. It uses a interactive mode and batch mode as well. Batch mode utilizes a answer files for full automatic operation.InstallationTo install Puppeter simple use PIP:pipinstallpuppeterIf you like to install puppeter on clean operating system with automatic installer execute:curlhttps://raw.githubusercontent.com/coi-gov-pl/puppeter/master/setup.sh|bashIt will install PIP and compatibile Python (2.7+)The installer script is supported for:Debian 8Debian 9Ubuntu 14.04Ubuntu 16.04CentOS 6CentOS 7OracleLinux 6OracleLinux 7TODO: Write more later
Package: puppet-es
SummarySend puppet reports to ElasticSearch.UsageCommandsend_report_to_es [-h|--help] <directory>Options-h/--help   Show this help text and exitParametersdirectory   A directory containing JSON reports. The script will
            walk the directory recursively, process all JSON files
            it finds, and submit the report data to ElasticSearch
            in a single bulk transaction.ConfiguringConfiguration is read from the file specified in the environment
variablePUPPET_ES_CONFIG(defaults to/etc/puppet_es.conf) and
uses ConfigParser syntax. A sample configuration file is included asetc/puppet_es.conf.example.Section:base``on_error``(optional) What to do with the report files when we
encounter a parse error or an ElasticSearch error. Possible values:deleteDelete the file off diskarchiveMove the file to the directory specified inarchive_dirignoreLeave the file as-is (default)``on_success``(optional) What to do with the report file after
successfully posting to ElasticSearch. Possible values:deleteDelete the file off diskarchiveMove the file to the directory specified inarchive_dirignoreLeave the file as-is (default)``archive_dir``(conditionally required) The directory to move files
into whenarchiveis set foron_errororon_success. Has no
effect if neither of those is set toarchive, and is required if
either is set toarchive.Section:elasticsearch``host``(required) The fully qualified domain name for connecting
to ElasticSearch over HTTP.``port``(required) The port for connecting to ElasticSearch over
HTTP.``index``(optional) The index name to send data to. This can be a
Python formatted string in theFormatterstyle, with the following
available variables:certnamethe certname the report is fromfqdnthe fqdn of the node this script is running onisodaythe ISO day number for the reportisoweekthe ISO week number for the reportisoyearthe ISO year number for the reportdaythe numerical day of the year for the reportmonththe numerical month of the year for the reportyearthe year for the reportDefaults to'puppet-{isoyear}.{isoweek}'Section:logging``level``(optional) What message level to log. Valid options are
those defined by the Python 2.7loggingmodule. Defaults toWARNING.``stderr``(optional) Boolean value about whether to print log
messages tostderr. Defaults tofalse.``syslog``(optional) Boolean value about whether to print log
messages to syslog. Defaults totrue.``file``(optional) Filename for a file to write log messages into.
Defaults to an empty value, meaning do not log to a file.Configuring ElasticSearchAn example ElasticSearch template that supports the format this script
uses can be found atetc/puppet_template.json.
Package: puppet-master
Puppet MasterSupported from Python >= 3.6ConfigurationDjango settings required for the package:PM__SELENIUM_DRIVER- Selenium driver object used for testingPM__SELENIUM_DRIVER_PATH- Path to driver executablePM__DEFAULT_SCREENSHOT_DIR- Default screenshot directoryPM__SERVICE_URL- External service URL address on which Selenium will be run.
Used only while using SeleniumTestCase.Kobotoolbox-module onlyPM__KT_USERNAME,PM__KT_PASSWORD- Credentials used to log in to the app
Package: puppet-panko
Team and repository tags[![Team and repository tags](https://governance.openstack.org/tc/badges/puppet-panko.svg)](https://governance.openstack.org/tc/reference/tags/index.html)<!– Change things from this point on –>panko#### Table of Contents[Overview - What is the panko module?](#overview)[Module Description - What does the module do?](#module-description)[Setup - The basics of getting started with panko](#setup)[Implementation - An under-the-hood peek at what the module is doing](#implementation)[Limitations - OS compatibility, etc.](#limitations)[Beaker-Rspec - Beaker-rspec tests for the project](#beaker-rpsec)[Development - Guide for contributing to the module](#development)[Contributors - Those with commits](#contributors)[Release Notes - Release notes for the project](#release-notes)[Repository - The project source code repository](#repository)OverviewThe panko module is a part of [OpenStack](https://opendev.org/openstack), an effort by the OpenStack infrastructure team to provide continuous integration testing and code review for OpenStack and OpenStack community projects not part of the core software.  The module its self is used to flexibly configure and manage the events service for OpenStack.Module DescriptionThe panko module is a thorough attempt to make Puppet capable of managing the entirety of panko.  This includes manifests to provision region specific endpoint and database connections.  Types are shipped as part of the panko module to assist in manipulation of configuration files.SetupWhat the panko module affects[Panko](https://docs.openstack.org/panko/latest/), the events service for OpenStack.### Installing pankopanko is not currently in Puppet Forge, but is anticipated to be added soon.  Once that happens, you’ll be able to install panko with:
puppet module install openstack/panko### Beginning with pankoTo utilize the panko module’s functionality you will need to declare multiple resources.Implementation### pankopanko is a combination of Puppet manifest and ruby code to delivery configuration and extra functionality through types and providers.LimitationsAll the panko types use the CLI tools and so need to be ran on the panko node.Beaker-RspecThis module has beaker-rspec testsTo run the tests on the default vagrant node:`shell bundle install bundle exec rake acceptance `For more information on writing and running beaker-rspec tests visit the documentation:https://github.com/puppetlabs/beaker-rspec/blob/master/README.mdDevelopmentDeveloper documentation for the entire puppet-openstack project.https://docs.openstack.org/puppet-openstack-guide/latest/Contributorshttps://github.com/openstack/puppet-panko/graphs/contributorsRelease Noteshttps://docs.openstack.org/releasenotes/puppet-pankoRepositoryhttps://opendev.org/openstack/puppet-panko
Package: puppetparser
puppetparserpuppetparser is a Python library to parse Puppet scripts. This parser allows the transformation of a Puppet script into an object model that represents the constructs of the Puppet DSL language.InstallationTo install run:pip install puppetparserOr clone the Github repository and run:python3 setup.py installUsagefrompuppetparser.parserimportparsewithopen(path)asf:parsed_script,comments=parse_puppet(f.read())TestsTo run the tests:python3 -m unittest discover testsContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseGPL-3.0