Saravanan666/pypi-org huggingface dataset:
Package: pyisotools
pyisotoolspython library for working with Gamecube ISOs (GCM)FeaturesExtract and Build ISOsExtract individual files/folders from an ISOSpecifically exclude subfolders/files using glob patternsCustom file alignmentCustom file locationCustom ISO metadataLimitationsOnly supports Gamecube ISOsTODOSupport Wii ISOsISO PartitionsNative archive support (U8 and RARC)Native yaz0 and yay0 compressionCross platform file drag-drop to/from pyisotoolsFile System real time search filterFile System update real timeUsageGUITo run the GUI from the cli, simply pass:python -m pyisotoolsExtractionTo extract an ISO from the cli, pass:python -m pyisotools <iso> E [--dest path]RebuildingTo build a root folder into an iso, pass:python -m pyisotools <root> B [--newinfo] [--dest path]Configuration (rebuilding from cli)When an ISO is extracted, a file named.config.jsonis automatically generated and stored in thesysfolder in the root directory. This file contains metadata about the ISO, such as the name of the game, its version, maker code, and so on. Editing this file results in the new data being used if rebuilding with option--newinfoenabled. The fields that need clairification are listed below:Alignment: This field ofkey,valuepairs defines the alignment of every file that matches the specified glob pattern set as thekey, to be that of thevalueLocation: This field ofkey,valuepairs defines the position in the ISO of every file that matches the specified filepath set as thekey, to be that of thevalueExclude: This list of glob patterns determines if a file/folder is excluded or not. If a file/folder path matches any of the glob patterns in the list, it will not be built into the ISOConfiguration (GUI)When a root is loaded, all metadata fields are accessible directly from the main window, and each node can be right clicked on to set the alignment, location, and exclude members
Package: pyispace
PyISpacePython Instance Space Analysis ToolkitGetting StartedThis is the Python version of theInstance Space Analysis(ISA) toolkit, originally written in Matlab code. The original ISA toolkit was developed as part of the projectMATILDA, at the University of Melbourne, Australia.PyISpace is a Python package that contains a subset of the tools present in the original Matlab code repository. It is not our intention to add new features to the toolkit. For a complete experience of all tools, we recommend the original code, or theweb version.RequirementsPython 3.7 or newer.InstallationVia PyPi:pip install pyispaceOr directly from the repository code:git clone https://gitlab.com/ita-ml/pyispace.git
cd pyispace/
pip install -e .UsageCommand Line InterfaceInside the folder (rootdir) containing the required filesoptions.jsonandmetadata.csv, runisaOptionally, therootdirpath may be passed with-ror--rootdir:isa -r /Users/user/workspace/For more information about these files, please refer to the original repository instructions.Python packagefrom pyispace import train_is
model = train_is(metadata, opts)Disabling messagesPyISpace usesloggingto display messages. You can disable the messages, for example, changing the level associated to the package:logging.getLogger("pyispace").setLevel(logging.ERROR)
Package: pyispy
Free software: MIT licenseDocumentation:https://pyispy.readthedocs.io.Testing helper utility for monitoring calls to functions and methods (spying).Exampleimportmy_moduleimportpyispydefmy_ClassA():reports=[]pyispy.wiretap(my_module.ClassA,["__init__","exec"],reports)obj=my_module.ClassA()assert"__init__"inreportsTODORefactor hooks as classes to contract input arguments (object, function name,
logbook) to support polymorphic attitude inprocess_request.Implement/test wiretap on magic methodsHandle response to read-only functions (for example__add__in int type)CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.
Package: pyispyb
py-ispybISPyB backend server based on python flask-restx.DependenciesPython3.5+ / pypy2flask-restx(+flask)sqlalchemy(+flask-sqlalchemy) - Database ORM.marshmallowruamel.yamlHow to run py-ispybInstall requirementsIn case of MySQL or MariaDB you might have to install dev tools:sudo apt-get install -y python3-mysqldborapt-get install libmariadbclient-devInstall python dependencies:sudo pip install -r requirements.txtCopy and edit yaml configuration filecp ispyb_core_config_example.yml ispyb_core_config.ymlIf you do not have a running ispyb database then you can create one by running:scripts/create_core_db.shRegenerate data base models and schemascdscripts
./generate_core_models.shPATH_TO_CONFIG_FILE.yml
python3generate_core_schemas.pycd..Run application in debug modepython3 wsgi.pyinvoke app.runNow you can go tohttp://localhost:5000/ispyb/api/v1/docand explore py-ispyb via swagger ui.
For authentication json web tokens (jwt) are used. In the web browser callhttp://localhost:5000/ispyb/api/v1/auth/login, enter user credentials and retrieve access token from the response:{"token":"YOUR_JWT_TOKEN","roles":["user"]}Corresponding curl command:curl -u USER:PASS -i -H "Accept:application/json" http://localhost:5000/ispyb/api/v1/auth/loginIn the case of dummy authentication usernameuserwill grantuserrole andmanagerwill grantuserandmanagerroles.For requests use the token in theAuthorizationheader:Bearer YOUR_JWT_TOKEN. For example to retrieve proposals call:curl -X GET -H 'Authorization: Bearer YOUR_JWT_TOKEN' -i http://localhost:5000/ispyb/api/v1/proposalsMiscSwagger documentation:https://raw.githubusercontent.com/ispyb/py-ispyb/master/docs/swagger.jsonFor deployment options seedeploydirectory.Status codes:https://www.flaskapi.org/api-guide/status-codes/
Package: py-iss-telemetry
py-iss-telemetryPython library for establishing a telemetry stream with the International Space Station.This module allows public International Space Station Telemetry
values to be streamed into a list of dictionaries using Python.
A websocket is established with NASA's ISSLIVE Lightstreamer server.DISCLAIMER: The creator of this module is in no way affiliated with
Lightstreamer Srl., NASA or any ISS partners.InstallationTo install, simply run:
pip install py-iss-telemetryUsageExample:
To create a telemetry stream dostream = pyisstelemetry.TelemetryStream()

To get the current telemetry values do

    values = stream.get_tm()

To end the session do

    stream.disconnect()
Package: pyisva
PyISVAPyISVA is a Python library that wraps the IBM Security Verify Access RESTful Web services to provide a
quick and easy way to construct configuration scripts for appliances.Supported VersionsIBM Security Verify Access 10.0.6.0IBM Security Verify Access 10.0.5.0IBM Security Verify Access 10.0.4.0IBM Security Verify Access 10.0.3.1IBM Security Verify Access 10.0.3.0IBM Security Verify Access 10.0.2.0IBM Security Verify Access 10.0.1.0IBM Security Verify Access 10.0.0.0IBM Security Access Manager 9.0.7.0IBM Security Access Manager 9.0.6.0IBM Security Access Manager 9.0.5.0IBM Security Access Manager 9.0.4.0IBM Security Access Manager 9.0.3.0IBM Security Access Manager 9.0.2.1IBM Security Access Manager 9.0.2.0InstallationFor Linux/macOS: if you clone the library to~/repos/pyisva, add this to~/.profile:# add pyisva library to Python's search pathexportPYTHONPATH="${PYTHONPATH}:${HOME}/repos/pyisva"From IBM Security Verify Access 10.0.0.0 onwards:Module has been build into a package Currently hosted on PyPi that can be installed using pip:pipinstallpyisvaUsage>>>importpyisva>>>factory=pyisva.Factory("https://isam.mmfa.ibm.com","admin","Passw0rd")>>>web=factory.get_web_settings()>>>resp=web.reverse_proxy.restart_instance("default")>>>ifresp.success:...print("Successfully restarted the default instance.")...else:...print("Failed to restart the default instance. status_code:%s, data:%s"%(resp.status_code,resp.data))...Successfullyrestartedthedefaultinstance.DocumentationDocumentation for using this library can be found onpyisva GitHub pages.
Package: pyisy
PyISYPython Library for the ISY ControllerThis library allows for easy interaction with ISY nodes, programs, variables, and the network module. This class also allows for functions to be
assigned as handlers when ISY parameters are changed. ISY parameters can be
monitored automatically as changes are reported from the device.NOTE:Significant changes have been made in V2, please refer to theCHANGELOGfor details. It is recommended you do not update to the latest version without testing for any unknown breaking changes or impacts to your dependent code.ExamplesSee theexamplesfolder for connection examples.The full documentation is available athttps://pyisy.readthedocs.io.Development TeamGreg Laabs (@overloadut) - MaintainerRyan Kraus (@rmkraus) - CreatorTim (@shbatm) - Version 2 ContributorContributingA note on contributing: contributions of any sort are more than welcome! This repo uses precommit hooks to validate all code. We useblackto format our code,isortto sort our imports,flake8for linting and syntax checks, andcodespellfor spell check.To usepre-commit, see the installation instructions for more details.Short version:# From your copy of the pyisy repo folder:pipinstallpre-commit
pre-commitinstallAVSCode DevContaineris also available to provide a consistent development environment.Assuming you have the pre-requisites installed from the link above (VSCode, Docker, & Remote-Containers Extension), to get started:Fork the repository.Clone the repository to your computer.Open the repository using Visual Studio code.When you open this repository with Visual Studio code you are asked to "Reopen in Container", this will start the build of the container.If you don't see this notification, open the command palette and select Remote-Containers: Reopen Folder in Container.Once started, you will also have atest_scripts/folder with a copy of the example scripts to run in the container which won't be committed to the repo, so you can update them with your connection details and test directly on your ISY.
Package: pyisy-beta
PyISYPython Library for the ISY ControllerThis library allows for easy interaction with ISY nodes, programs, variables, and the network module. This class also allows for functions to be
assigned as handlers when ISY parameters are changed. ISY parameters can be
monitored automatically as changes are reported from the device.NOTE:Significant changes have been made in V2, please refer to theCHANGELOGfor details. It is recommended you do not update to the latest version without testing for any unknown breaking changes or impacts to your dependent code.ExamplesSee theexamplesfolder for connection examples.The full documentation is available athttps://pyisy.readthedocs.io.Development TeamGreg Laabs (@overloadut) - MaintainerRyan Kraus (@rmkraus) - CreatorTim (@shbatm) - Version 2 ContributorContributingA note on contributing: contributions of any sort are more than welcome! This repo uses precommit hooks to validate all code. We useblackto format our code,isortto sort our imports,flake8for linting and syntax checks, andcodespellfor spell check.To usepre-commit, see the installation instructions for more details.Short version:# From your copy of the pyisy repo folder:pipinstallpre-commit
pre-commitinstallAVSCode DevContaineris also available to provide a consistent development environment.Assuming you have the pre-requisites installed from the link above (VSCode, Docker, & Remote-Containers Extension), to get started:Fork the repository.Clone the repository to your computer.Open the repository using Visual Studio code.When you open this repository with Visual Studio code you are asked to "Reopen in Container", this will start the build of the container.If you don't see this notification, open the command palette and select Remote-Containers: Reopen Folder in Container.Once started, you will also have atest_scripts/folder with a copy of the example scripts to run in the container which won't be committed to the repo, so you can update them with your connection details and test directly on your ISY.
Package: pyisyntax
pyisyntaxA Python library for working with pathology images in the iSyntax file format,
powered bylibisyntax.UsageRead and display a region of the WSI viaPillow.fromisyntaximportISyntaximportPIL.ImagewithISyntax.open("my_file.isyntax")asisyntax:# Read pixels from the specified region into a numpy arraypixels=isyntax.read_region(500,500,400,200,level=4)# Convert numpy array into a PIL imagepil_image=PIL.Image.fromarray(pixels)# Show the imagepil_image.show()Extract and save the associated macro image.fromisyntaximportISyntaxwithISyntax.open("my_file.isyntax")asisyntax:# The macro image will be returned as compressed JPEG data.jpeg_data=isyntax.read_macro_image_jpeg()# This JPEG data can be written directly to a file.withopen("macro_image.jpg","wb")asf:f.write(jpeg_data)# Alternatively, you could decompress the data using Pillow:# pil_image = PIL.Image.open(io.BytesIO(jpeg_data), formats=["JPEG"])DevelopmentDependency managementTo set up a development environment from the lock file:Ensure that you havemicromambainstalled.Create the environment:$micromambacreate-npyisyntax-fconda-lock.yml--categorymain--categorydevActivate the environment:$micromambaactivatepyisyntaxTo modify pyisyntax project dependencies:Edit pyproject.toml.Update the lock file using conda-lock:$conda-locklock-fpyproject.toml-plinux-64--micromamba
Package: pyisyox
PyISYoXPython Library for the ISY / IoX ControllersISY is a home automation controller capable of controlling Insteon, X10, Z-Wave and Zigbee/Matter devices connected to supported hardware manufactured byUniversal Devices, Inc..This Python library supports the legacy ISY994 hardware family, as well as current ISY-on-Anything (IoX) hardware, such as theeisyorPolisydevices.This library allows for easy asynchronous interaction with ISY nodes, programs, variables, node servers, and the networking module, including methods to monitor and automatically update when ISY parameters are changed.The PyISYoX library originated fromPyISY, originally authored by Ryan Kraus (@rmkraus) and maintained by Greg Laabs (@overloadut). The PyISYoX module has been rewritten by@shbatmusing the original principles of PyISY, but redesigned based on the codebase of it's primary use case as aHome AssistantIntegration.Disclaimer: This project has no affiliation withUniversal Devices, Inc., it is maintained independently and is not officially supported in anyway by the OEM. Any issues with the module must be raised here, and will be resolved as quickly as possible given limited resources. Any issues with the controllers themselves should be directed to UDI.RequirementsThe minimum required Python version is 3.10ExamplesTo test run the module, print a summary of your connected nodes, and log the events from the event websocket:pipinstallpyisyox
python3-mpyisyoxhttp://polisy.local:8080adminpasswordSee theexamplesfolder for connection examples.Partial documentation is available athttps://pyisyox.readthedocs.io. This is being updated as time allows.ContributingA note on contributing: contributions of any sort are more than welcome!AVSCode DevContaineris available to provide a consistent development environment.Assuming you have the pre-requisites installed from the link above (VSCode, Docker, & Remote-Containers Extension), to get started:Fork the repository.Clone the repository to your computer.Open the repository using Visual Studio code.When you open this repository with Visual Studio code you are asked to "Reopen in Container", this will start the build of the container.If you don't see this notification, open the command palette and select Remote-Containers: Reopen Folder in Container.Once started, you will also have aexamples/folder with a copy of the example scripts to run in the container which won't be committed to the repo, so you can update them with your connection details and test directly on your ISY.
Package: pyit600
Python: Asynchronous client for Salus iT600 devicesFor end usersSeehttps://github.com/jvitkauskas/homeassistant_salusto use this in Home Assistant.FHEM users might be interested inhttps://github.com/dominikkarall/fhempywhich provides subset of functionality.AboutThis package allows you to control and monitor your Salus iT600 smart home devices locally through Salus UG600 universal gateway. Currently heating thermostats, binary sensors, temperature sensors, covers and switches are supported. You have any other devices and would like to contribute - you are welcome to create an issue or submit a pull request.Installationpipinstallpyit600UsageInstantiate the IT600Gateway device with local ip address and EUID of your gateway. You can find EUID written down on the bottom of your gateway (eg.001E5E0D32906128).Status can be polled using thepoll_status()command.Callbacks to be notified of state updates can be added with theadd_climate_update_callback(method)oradd_sensor_update_callback(method)method.Basic exampleasyncwithIT600Gateway(host=args.host,euid=args.euid)asgateway:awaitgateway.connect()awaitgateway.poll_status()climate_devices=gateway.get_climate_devices()print("All climate devices:")print(repr(climate_devices))forclimate_device_idinclimate_devices:print(f"Climate device{climate_device_id}status:")print(repr(climate_devices.get(climate_device_id)))print(f"Setting heating device{climate_device_id}temperature to 21 degrees celsius")awaitgateway.set_climate_device_temperature(climate_device_id,21)Supported devicesThermostats:HTRP-RF(50)TS600VS10WRF/VS10BRFVS20WRF/VS20BRFSQ610SQ610RFFC600Binary sensors:SW600WLS600OS600SD600 (sometimes gateway may not expose required information for these devices to be detected, reason is unknown)TRV10RFM (only heating state on/off)RX10RF (only heating state on/off)Temperature sensors:PS600Switch devices:SPE600RS600SR600Cover devices:RS600Unsupported devicesButtons perform actions only in Salus Smart Home app:SB600CSB600Untested devicesThese switch devices have not been tested, but may work:SP600These binary sensors have not been tested, but may work:MS600TroubleshootingIf you can't connect using EUID written down on the bottom of your gateway (which looks something like001E5E0D32906128), try using0000000000000000as EUID.Also check if you have "Local Wifi Mode" enabled:Open Smart Home app on your phoneSign inDouble tap your Gateway to open info screenPress gear icon to enter configurationScroll down a bit and check if "Disable Local WiFi Mode" is set to "No"Scroll all the way down and save settingsRestart Gateway by unplugging/plugging USB powerContributingIf you want to help to get your device supported, open GitHub issue and add your device model number and output ofmain.pyprogram. Be sure to run this program with --debug option.
Package: pyitachip2ir
ITachIP2IR libraryA C++ library with python bindings for sending IR commands to an ITach IP2IR gateway.It can be given an ip address and port to connect to, or it can be given a mac address and will listen for broadcasts from any ITach gateway that matches the mac address.It gets the IR commands from a command library file that follows the format of:CH1
0000 006D 0000 0022 00AC 00AB 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0689

CH2
0000 006D 0000 0022 00AC 00AB 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0689DependenciesCMake 2.8 or Python 2 or 3How to useExecutable command line interface for sending one shot ir commands./itachip2ir [ip-of-itach] [itach-listening-port] [ir-commands.txt] [name-of-ir-command] [itach-mod] [itach-conn] [message-count]Python objectimportpyitachip2irimportlogginglogging.basicConfig(level=logging.INFO)# Get log messages from pyitachip2irmac_address=None# If known use this, it will search for the itachip_address="127.0.0.1"port=4998itach=pyitachip2ir.ITachIP2IR(mac_address,ip_address,port)withopen("tv_commands.txt",'r')ascmds:itach.addDevice("tv",1,3,cmds.read())ifnotitach.ready(5000):# Search for 5 seconds for deviceraiseIOError("ITach not found")itach.send("tv","ON",1)LicenseMIT LicenseAny questions please contact:alan@lightningtoads.com
Package: pyitau
Unofficial client to access your Itaú bank dataDocumentation:https://pyitau.readthedocs.io.Status page:https://pyitau.betteruptime.com/InstallationpipinstallpyitauHow to UsefrompyitauimportItau# Loginitau=Itau(agency='0000',account='12345',account_digit='5',password='012345')itau.authenticate()itau.get_statements()ContributingContributions are welcome, feel free to open an Issue or Pull Request.Pull requests must be for thedevelopbranch.gitclonehttps://github.com/lucasrcezimbra/pyitaucdpyitaugitcheckoutdeveloppython-mvenv.venvpipinstall-rrequirements-dev.txtpre-commitinstallpytest
Package: pyitect
Aarchitectinspired plugin
framework for Python 3 and Python >= 2.6A simple Framework that Provides the facility to load Component form plugins.Also binds a simple event system to bind functions to events on the system.LinksGitHub:https://github.com/Ryex/pyitectPyPi:https://pypi.python.org/pypi/pyitectTravic-CI:https://travis-ci.org/Ryex/pyitectDocs:http://pyitect.readthedocs.org/en/latest/LICENSECopyright (c) 2014, Benjamin “Ryex” Powersryexander@gmail.comPermission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Package: pyiter
PyIterPyIter is a Python package for iterative operations inspired by the Kotlin、CSharp(linq)、TypeSrcipt and Rust .
Enables strongtypingand type inference for iterative operations.Chain operations like map, reduce, filter, mapLazy evaluationparallel executionstrongtypingInstallpipinstallpyiterQuickstartfrompyiterimportiterateasitfromtqdmimporttqdmtext=["hello","world"]it(text).map(str.upper).to_list()# ['HELLO', 'WORLD']words='I dont want to believe I want to know'.split()it(words).group_by(lambdax:x).map(lambdag:(g.key,g.values.count())).to_list()# [('I', 2), ('dont', 1), ('want', 2), ('to', 2), ('believe', 1), ('know', 1)]# use tqdmit(range(10)).map(lambdax:str(x)).progress(lambdax:tqdm(x,total=x.len)).parallel_map(lambdax:x,max_workers=5).to_list()Type inferenceAPISeeAPIdocumention.You no need to read api documention. all api functions are listed by the code completion as follows.All documentions are showed as follows.Similar librariesNote that none of the following libraries are providing full strong typing for code completion.PyteratorPyFunctionalfluentSimple Smart PipepyxtensionLicenseLicensed under either ofApache License, Version 2.0, (LICENSE-APACHEorhttps://www.apache.org/licenses/LICENSE-2.0)MIT license (LICENSE-MITorhttps://opensource.org/licenses/MIT)at your option.ContributionUnless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.