Saravanan666/pypi-org huggingface dataset:
Package: pyioc3
pyioc3Python Inversion of Control (IoC) ContainerAboutpyioc3 is a lightweight and versatile Inversion of Control (IoC) container for
Python. It simplifies the management of dependencies and enables cleaner, more
modular code by promoting the use of Dependency Injection (DI) patterns. With
pyioc3, you can effortlessly wire up your application's components, specify
their lifecycles, and inject dependencies without the hassle of manual
instantiation.Key FeaturesMultiple APIspyioc3 offers multiple configuration interfaces including two manual
configuration APIs and a decorator-based autowiring API. These APIs are
flexible, yet simple to use.Fluent Interfacepyioc3 manual APIs support method chaining to minimize boiler-plate code and
intermediate variables.Scoped Lifecyclespyioc3 supports various scopes, including Singleton, Transient, and Requested.
This provides fine-grained control of the lifecycle of your objects.Predictabilitypyioc3 is an immutable ioc container that guarentees predictability of the
dependency tree.Constuctor Based DIpyioc3 implements constructor based dependency injection making it easy to drop
into existing applications.Performancepyioc3 pre-computes the dependency tree, resulting in fast instantiations to
keep your code fast.OOP Principlespyioc3 is designed to improve the maintainability, testability, and flexibility
of your Python applications.Quick StartInstall the packagepipinstall--userpyioc3StaticContainerBuilder APIfrompyioc3importStaticContainerBuildercontainer=(StaticContainerBuilder().bind(Duck).bind(QuackProvider,Squeak).build())duck=container.get(Duck)duck.quack()BuilderBase APIfrompyioc3.builderimportBuilderBase,ProviderBindingclassDuckBuilder(Duck):def__init__(self):super().__init__(target_t=Duck)defwith_quack_noise(self,noise:str)->"DuckBuilder":self.using_provider(annotation=QuackProvider,implementation=DynamicQuackProvider,on_activate=lambdax:x.set_quack_noise(noise))returnselfrubber_duck=(DuckBuilder().with_quack_noise("Squeak").build())rubber_duck.quack()Annotation APIfrompyioc3.autowireimportbind,AutoWireContainerBuilderclassQuackProvider:defquack(self):raiseNotImplementedError()@bind()classDuck:def__init__(self,quack:QuackProvider):self._quack=quackdefquack(self):self._quack.quack()@bind(QuackProvider)classSqueak(QuackProvider):defquack(self):print("Squeak")duck=AutoWireContainerBuilder("my_package").build().get(Duck)duck.quack()
Package: pyiocontrol
pyiocontrolМодуль для работы с API iocontrol.ruМодуль позволяет работать с сервисом iocontrol в интерпретаторе Python версии >= 3УстановкаВручную:python3 setup.py installПри помощи pip:pip3 install pyiocontrolПримеры:Чтение переменных из панели:importpyiocontrolmypanel=pyiocontrol.Panel("название_панели")x=mypanel.название_переменной# например: x = mypanel.mysensorЗапись переменых в панель:import pyiocontrol

mypanel = pyiocontrol.Panel("название_панели")

mypanel.название_переменной = 42    # например: mypanel.mysensor = 42
Package: pyiodine
AHR kinetic model=================|image||image||Documentation Status||Updates|A kinetic model of the AHR and its regulation-  Free software: MIT license-  Documentation: https://iodine.readthedocs.io.Features---------  TODOCredits-------This package was created with`Cookiecutter <https://github.com/audreyr/cookiecutter>`__ and the`audreyr/cookiecutter-pypackage <https://github.com/audreyr/cookiecutter-pypackage>`__project template... |image| image:: https://img.shields.io/pypi/v/pyiodine.svg:target: https://pypi.python.org/pypi/pyiodine.. |image| image:: https://img.shields.io/travis/dileep-kishore/Iodine.svg:target: https://travis-ci.org/dileep-kishore/Iodine.. |Documentation Status| image:: https://readthedocs.org/projects/Iodine/badge/?version=latest:target: https://Iodine.readthedocs.io/en/latest/?badge=latest.. |Updates| image:: https://pyup.io/repos/github/dileep-kishore/Iodine/shield.svg:target: https://pyup.io/repos/github/dileep-kishore/Iodine/=======History=======0.1.0 (2018-06-29)------------------* First release on PyPI.
Package: pyiomica
PyIOmica (pyiomica)This repository contains PyIOmica, a Python package that provides bioinformatics utilities for analyzing (dynamic) omics datasets. PyIOmica extends MathIOmica usage to Python and implements new visualizations and computational tools for graph analyses. The documentation is available at Read the Docs:https://pyiomica.readthedocs.io/en/latest/PyIOmica Installation InstructionsA. INSTALLATIONPre-Installation RequirementsTo install PyIOmica on any platform you need Python version 3.7 or higherInstallation InstructionsTo install the current release from PyPI (Python Package Index) use pip:pipinstallpyiomicaAlternatively, you can install directly from github using:pipinstallgit+https://github.com/gmiaslab/pyiomica/orgitclonehttps://github.com/gmiaslab/pyiomica/
pythonsetup.pyinstallB. RUNNING PyIOmicaAfter installation you can run:>>>importpyiomicaC. DOCUMENTATIONDocumentation for PyIOmica is built-in and is available through the help() functionality in Python.
Also the documentation is available at Read the Docs:https://pyiomica.readthedocs.io/en/latest/D. ADDITIONAL INFORMATIONPyIOmica is a multi-omics analysis framework distributed as a Python package that aims to assist in bioinformatics.The most current version of the package is maintained athttps://github.com/gmiaslab/pyiomicaNews are distributed via twitter (@mathiomica)E. LICENSINGPyIOmica is released under an MIT License. Please also consult the folder LICENSES distributed with PyIOmica regarding Licensing information for use of external associated content.F. OTHER CONTACT INFORMATIONG. Mias Lab (https://georgemias.org)e-mail:mathiomica@gmail.comtwitter: @mathiomicaG. FUNDINGPyIOmica development and associated research were supported by the Translational Research Institute
for Space Health through NASA Cooperative Agreement NNX16AO69A (Project Number T0412, PI: Mias).
The content is solely the responsibility of the authors and does not necessarily
represent the official views of the supporting funding agencies.I. CITATIONSIf you use PyIOmica in your work please use the following citation:Sergii Domanskyi, Carlo Piermarocchi and George I Mias,PyIOmica: longitudinal omics analysis and trend identification. Bioinformatics, 36(7), 2306–2307 (2020).https://doi.org/10.1093/bioinformatics/btz896If you use PyIOmica's visibility graph functionality, please also consider the following citation:Minzhang Zheng, Sergii Domanskyi, Carlo Piermarocchi, and George I Mias,Visibility graph based temporal community detection with applications in biological time series, Sci Rep 11, 5623 (2021).https://doi.org/10.1038/s41598-021-84838-x
Package: pyion
File handling, maths, randomization, miscellaneous.INCLUDING:* general maths (most functions support both scalars and list/array-likes)** factorials** fast sum of series 1,2,3,4,5 ... N** number of sequences of N size taken from a set of K size** number of places a sequence of length N can be subdivided** round N to nearest power of B** convert a power of B, N, to an exponent of B, such that B**E == N** find common denominator** find all integers that divide evenly into N** linear/spline interpolation of a 1d series of values** binary representation of a number* spatial maths** subclassable Grid type** grid snapping and 'is-in-cell'** polar/cartesian transform** polar distance** calculate triple of weights based on position in triangle* randomization** return true P% of the time** weighted sampling from a set of items** fill weighted boxes in a roughly even way** randomly dispense contents of a box** convert nested percentage weights to flat 0..1 weights** dice roll (single, and iterative/infinite)** chain iterator, which yields values while percentage chance of successrolls succeed, and stops as soon as they fail.Like OHRRPGCE 'chain attack/ chain %' option* misc** find numeric limits of data types (builtin types or simple numpy types)** sort sequence according to template** reverse of zip (flat sequence a,b,c,a,b,c,a,b,c -> a,b,c tuples)** easily read every line or every byte of a file** calculate minimum number of bits required to store a given integer.** quickly set multiple attributes on an object** Metadata class for easy management of metadata,with yaml serialization support.also available through git. run 'git clone git://repo.or.cz/pyion.git' to grab a copy :)
Package: pyion2json
pyion2jsonConvert anAmazon Iondocument(s) to JSONInstallpip install pyion2jsonUsageConvert individual Ion valuesimport json
import amazon.ion.simpleion as ion
from pyion2json import ion_to_json

ion_doc = ion.loads('{ first: "Tom" , last: "Riddle" }')
json_doc = ion_to_json(ion_doc)
print(json.dumps(json_doc, indent=' '))Outputs:{
 "first": "Tom",
 "last": "Riddle"
}Convert a cursor from QLDBfrom pyion2json import ion_cursor_to_json

with create_qldb_session() as qldb_session:
    qldb_cursor = qldb_session.execute_statement('SELECT first,last FROM Users')
    json_rows = ion_cursor_to_json(qldb_cursor)
    print(json.dumps(json_rows, indent=' '))Outputs:[
 {
  "first": "Harry",
  "last": "Potter"
 },
 {
  "first": "Tom",
  "last": "Riddle"
 }
]TODO:Verify BLOB conversion meets expectationsVerify CLOB conversion meets expectations
Package: pyionic
PyIonicPyIonic is a Python library to interact with Ion Channel’s API.
With PyIonic it should be very easy for a user to interact with
Ion Channel and get their data.DocumentationRead up on the docs here:http://pyionic.readthedocs.io/Quick StartInstall PyIonic:pip install pyionicSet the IONCHANNEL_SECRET_KEY:export IONCHANNEL_SECRET_KEY=####IONCHANNEL_SECRET_KEY####ExamplesSample code to report the name, id, and source of all of the projects in a team.frompyionicimportcoreusers=core.Users()team_id=list(users.get_self()['data']['teams'].keys())[0]projects=core.Projects()print('--------------------------------')forprojectinprojects.get_projects(team_id)['data']:print('Name:%s'%project['name'])print('ID:%s'%project['id'])print('Source:%s'%project['source'])print('--------------------------------')Sample code to get an analysis for all projects in a team. Reports the name, id,
source and if the project passed the last analysis.frompyionicimportcoreusers=core.Users()team_id=list(users.get_self()['data']['teams'].keys())[0]projects=core.Projects()analysis=core.Analysis()print('--------------------------------')forprojectinprojects.get_projects(team_id)['data']:print('Name:%s'%project['name'])print('ID:%s'%project['id'])print('Source:%s'%project['source'])analysis_id=analysis.get_analysis_summery(team_id=team_id,project_id=project['id'])['data']['id']ifanalysis.get_analysis(team_id=team_id,project_id=project['id'],analysis_id=analysis_id)['data']['status']=='finished':print('Scan is good!')print('--------------------------------')Sample code to count all of the vulnerabilities for Python 3.4frompyionicimportcorevuln=core.Vulnerability()vulnerabilities=vuln.get_vulnerabilities('python','3.4')print('%stotal vulnerabilities found.'%vulnerabilities['meta']['total_count'])TestsTo setup tests you must first export a valid token for the pyionic test team:export IONCHANNEL_SECRET_KEY=####IONCHANNEL_SECRET_KEY####Then run:pipenv run python setup.py test
Package: pyiono
PyIonoIonosphere-related processing based on the data from space-geodetic techniques:geodetic very-long-baseline-interferometry (VLBI): legacy VLBI systemVLBI Global Observing System (VGOS): the next-generation VLBI systemGlobal Navigation Satellite System (GNSS): currently based on the custom TEC files with satellite-specific STEC valuesInstallationYou can install PyIono fromPyPI:python3 -m pip install pyionoPyIono is supported on Python 3.9 and above.How to usePyIono is a command line application, namedpyiono. To see a list of the arguments, call help:$pyiono--helpor$pyiono-hYou can also call PyIono in your own Python code, by importing from thepyionopackage:frompyiono.mathimportsquaresquare(2)
Package: pyionosphere
pyIonosphere is a Python3 package (library) of the Earth’s ionosphere models.It contains:pyfiri - FIRI-2018 non-disturbed non-auroral ionosphere D-region model;pydanilov - Danilov non-disturbed non-auroral ionosphere D-region model;pyimaz - IMAZ non-disturbed high-latitude ionosphere D-region model.
Package: pyioping
Pyioping is an abstraction layer to simplify programatic use of the ioping binary for linux. It was written to have a simple interface for test setups.FeaturesPyioping has following features:create and manage ioping instancesget results of instances by parsing output to python datastructures.register callbacks intermediate results.InstallationInstall pyioping by running:pip3installpyiopingExamplesCreate a unicast udp 1000pps setup and test for 10 secondstest2=IOPingInstance()test2.set_options(name=1,test_path="/tmp",interval=0.1)test2.start()test=IOPingInstance()test.set_options(name=2,test_path="/srv",interval=0.1)test.start()Supported ParametersTo see all supported parameters for the set_options function, review the constructor of the IPerfInstance object.ContributeIssue Tracker:https://github.com/jinjamator/pyioping/issuesSource Code:https://github.com/jinjamator/pyiopingRoadmapSelected Roadmap items:add class documentationFor documentation please refer tohttps://pyioping.readthedocs.io/en/latest/LicenseThis project is licensed under the Apache License Version 2.0
Package: pyiosbackup
DescriptionInstallationUsageCLIPythonDescriptionpyiosbackupis a utility created in order to parse and decrypt iOS backups.InstallationInstall the last released version usingpip:python3-mpipinstall--user-UpyiosbackupOr install the latest version from sources:gitclonegit@github.com:matan1008/pyiosbackup.gitcdpyiosbackup
python3-mpipinstall--user-U-e.UsageCLIBefore decrypting a backup, you need to create one. You can use the amazingpymobiledevice3to do that:pymobiledevice3backup2encryptionON1234.
pymobiledevice3backup2backup--full.After creating the backup, you can decrypt it:pyiosbackupextract-all$BACKUP_FOLDER1234--targetdecryptedYou can also extract single files by their domain and relative path:pyiosbackupextract-domain-path$BACKUP_FOLDERRootDomainLibrary/Preferences/com.apple.backupd.plist-p1234Or by their file id:pyiosbackupextract-id$BACKUP_FOLDERa8323a1323d9cad416d8b44d87c8049de1adff25-p1234You can also print some metadata about the backup:pyiosbackupstats$BACKUP_FOLDER-p1234PythonAnother way to access the functionality of the package is using python code.For example, iterating over all files in a backup will look like:frompyiosbackupimportBackupbackup_path='BACKUP_PATH'password='1234'backup=Backup.from_path(backup_path,password)forfileinbackup.iter_files():print(file.filename)print(file.last_modified)You can also access a specific file:importplistlibfrompyiosbackupimportBackupbackup_path='BACKUP_PATH'password='1234'backup=Backup.from_path(backup_path,password)backupd_plist=backup.get_entry_by_domain_and_path('RootDomain','Library/Preferences/com.apple.backupd.plist')print(plistlib.loads(backupd_plist))
Package: pyIOT
pyIOTA python module to simplify writing device drivers for the Amazon AWS IOT servicepyIOT abstracts the AWS IOT-Core service handling all of the communications between it and our device.  To implement a pyIOT application, you only need to specify how to convert from the protocol of your device into the properties that you want to expose to IOT-Core and vice-versa.  This enables IOT-Core applications to be written in a handful of lines of code.Here's an example pyIOT application for a simple relay...importserialimportpyIOTclassRelay(Component):@Component.componentToProperty('relayState','^RELAY(ON|OFF)$')deftoRelayState(self,property,value):val={'ON':True,'OFF':False}.get(value)ifval:returnvalraiseValueError('{0}is not a valid value for property{1}'.format(value,property))@Component.propertyToComponent('relayState','RELAY{0}')deffromRelayState(self,value):val={True:'ON',False:'OFF'}.get(value)ifval:returnvalraiseValueError('{0}is not a valid relayState'.format(value))defqueryStatus(self):return'RELAY?\n'try:ser=serial.Serial('/dev/ttyUSB0',9600,timeout=0.5)relayComponent=Relay(name='RelayComponent1',stream=ser,synchronous=True)relayThing=Thing(endpoint='<your endpoint>',thingName='relayOne',rootCAPath='root-CA.crt',certificatePath='relayOne.crt',privateKeyPath='relayOne.private.key',region='us-east-1',components=relayComponent)relayThing.start()exceptKeyboardInterrupt:relayComponent.exit()FeaturesHandles all communications between AWS IOT-Core and your deviceOptionally allows several components to be combined into a single IOT deviceSupports synchronous and asynchronous componentsEasily interfaces with serial and network driven componentsAllows custom communication methods including GPIO driven applicationsDocumentationFor more details on pyIOT and its usage, please consult the documenation athttps://pyiot.readthedocs.io
Package: pyiota
PyIota - Simple Go lang iota pattern implementationSimple Usagefrompyiotaimportiotawithiota.start():A=iota()B=iota()C=iota()withiota.start(10):D=iota()E=iota()F=iota()print(A,B,C,D,E,F)#=> '0 1 2 10 11 12'How it works?Defaultiota._countervalue equals to-1.A = iota()-iota.__new__()incrementsiota._counterand returns it.It is possible to resetiota._countercallingiota()withinwith iota.start(): ...block.2.1. You can also provide a number to start from. For example:D,EandFfrom example above will be equal to10,11, and12accrordingly.
Package: pyiotjokepi
This is a python library to access iot websiteIOT-JOKE(https://iot-joker.firebaseapp.com)Functions:Control devices using switchesPlot your sensor dataInstallation :Python3pip3 install pyiotjokeorpip install pyiotjokeImplementing :from iotjokepi import JokePi

ApiKey = 'Your API Key'
Link = 'http://iot-joke-pi.herokuapp.com'

# Instance to get swtich states
getOb = JokePi('Button', ApiKey, Link + '/api/getdata/')


data1 = getOb.getSwitchState('Switch Name')
data = data1

if data == 'ON':
    print('Switch is ON')
elif data == 'OFF':
    print('Switch is OFF')
else:
    print('Invalid Device')
Package: py-iou
# iouA python module using networkx, pyomo and ipopt to solve for the optimally minimum number of transactions to settle debts/expenses between friends.<p align=”center”>
<img src=”https://raw.githubusercontent.com/kdheepak89/iou/master/screenshots/screenshot1.png” width=”400” >
</p>## Installpip install py-iou
pip install py-iou –upgrade### DependenciesInstall [ipopt](https://projects.coin-or.org/Ipopt)If you have [Anaconda](https://www.continuum.io/downloads) or [Miniconda](https://conda.io/miniconda.html), you can install it using the following command.`bash conda install-cconda-forgeipopt `## RunRun the following to find the optimal transactions using input from transactions.csviou –data iou/data/transactions.csvORiou –data iou/data/transactions.csv –verbose<p align=”center”>
<img src=”https://raw.githubusercontent.com/kdheepak89/iou/master/screenshots/screenshot2.png” align=”center” width=”400” >
</p>Use helpiou –helpA transactions.csv file is required to find the optimal order## ContributionFeel free to submit a pull request.
Package: pyip
pyip is a Python package offering assembling/disassembling of raw ip packet,
including ip, udp, and icmp. Also it includes 2 utilities based on raw ip,
traceroute and ping.The primary motivation for this project is to fill the blank in Python,
i.e., handling raw ip packet. Meanwhile, the utility ‘traceroute’ is intended
to be port of Unix ‘traceroute’ to Windows platform, as Windows’ tracert has
only very limited command line options compared with Unix ‘traceroute’.
Package: pyipa
pyipa: a lib for parsing IPA filesThis is a library to easily extract information from IPA files, and also a command line utility to do thatUsageUsage:
  pyipa manifest <IPA> <IPA_URL> <ICON_URL> [<MANIFEST_FILENAME>]
  pyipa icons <IPA> [<OUTPUT_DIR>]
  pyipa [-k --keys=<comma_list>] [-o --out=<json>] [--icons] <IPA>
  pyipa --all [-o --out=<json>] <IPA>
  pyipa (-h | --help)
  pyipa --version

Options:
  -k --keys=<comma_list>  Keys to extracts in a comma separated list [default: CFBundleDisplayName,CFBundleIdentifier,CFBundleVersion]
  -o --out=<json>         Type of output can be json,text [default: json]
  --icons                 Extract icons in calling dir
  --all                   Extracts ALL Info.plist keys ignoring -k option
  -h --help               Show this screen.
  --version               Show version.ContributeFork the project on github to start making your changesSend pull requests with your bug fixes or featuresSubmit and create issues on githubTODOCli doesn’t extract Icons from a Newstand IPA
Package: pyipa_dist
pyipa_dist: a lib for creates plist and html from IPA fileThis is a library to easily creates plist and html from IPA file for Adhoc distribution, and also a command line utility to do thatInstall$pipinstallpyipa_distUsageUsage:
    pyipa_dist [-d --destUrlPath=<DestinationUrl>] IPA [FILE_OUT_DIR]
    pyipa_dist (-h | --help)
    pyipa_dist --version

Options:
    -d --destUrlPath=<DestinationUrl> Path is the output files(html, plist, ipa) location in distribution server.
                                      (eg. "https://qa.ncsoft.com/QADeploy/CredentialSDK/20151210/")
    -h --help               Show this screen.
    --version               Show version.ContributeFork the project on github to start making your changesSend pull requests with your bug fixes or featuresSubmit and create issues on github
Package: pyipasnhistory
PyIPASNHistoryThis is the client API forIP ASN History.InstallationpipinstallpyipasnhistoryUsageCommand lineYou can use theipasnhistorycommand to query the instance.usage:ipasnhistory[-h][--urlURL](--meta|--fileFILE|--ipIP)[--sourceSOURCE][--address_familyADDRESS_FAMILY][--dateDATE][--firstFIRST][--lastLAST]RunaqueryagainstIPASNHistory

optionalarguments:-h,--helpshowthishelpmessageandexit--urlURLURLoftheinstance.--metaGetmetainformation.--fileFILEMassprocessqueriesfromafile.--ipIPIPtolookup--sourceSOURCESourcetoquery(currently,only"caida"and"ripe_rrc00"aresupported)--address_familyADDRESS_FAMILYCanbeeitherv4orv6--dateDATEExactdatetolookup.Fallbacktomostrecentavailable.--firstFIRSTFirstdateintheinterval--lastLASTLastdateintheintervalLibrarySeeAPI Reference
Package: pyipatcher
pyipatcherIncomplete iOS bootchain patchers in PythonNotesIt will be pushed to pip as a package laterYou can now install it locally (see Installation)patchfinder64 is ported fromxerub's patchfinderkernelpatcher is ported frompalera1n team's fork of Kernel64PatcherInstallationInstall from PyPI (bug-free):python3 -m pip install pyipatcherInstall locally (receive updates more often):git clone https://github.com/Mini-Exploit/pyipatcher
cd pyipatcher
./install.shUsage$ pyipatcher
pyipatcher version: 1.1.1
Usage: pyipatcher [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --help  Show this message and exit.

Commands:
  ibootpatcher
  kernelpatcher
  ramdiskpatcherFuture planComplete kernel patcher ✅Add iBoot patcher, ASR patcher, restored_external patcher  ✅CreditsThanks toplxfor helping me with many fixes
Package: pyipay
pyipay======A Python library for accessing the Auction's iPay APIInstallation------------pip install pyipayUsage-----import pyipay# Creates the API instanceipay = pyipay.IpayAPI("Your iPay ID", "Your iPay Key")# Creates an itemitem = ipay.create_item("Test Item", "Test order", price=10, qty=2, option="Test option",item_url="http://localhost/item/", thumbnail_url="http://localhost/thumb",cancellable=True)items = (item, )# Creates an orderorder = ipay.create_order(payment_rule=0, total=20, shipping_price=0, shipping_type=1,back_url="http://localhost/back", service_url="http://localhost/service",redirect_url="http://localhost/redirect", address_required=False,redirection_enabled=True)# Places the orderresult = ipay.place_order(order, items)print result