Saravanan666/pypi-org huggingface dataset:
Package: pyado
Pythonic Azure DevOps InterfaceFeaturesTODORequirementsTODOInstallationYou can installPythonic Azure DevOps InterfaceviapipfromPyPI:$pipinstallpyadoUsagePlease see theCommand-line Referencefor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,Pythonic Azure DevOps Interfaceis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.CreditsThis project was generated from@cjolowicz'sHypermodern Python Cookiecuttertemplate.
Package: pyadomd
pyadomdA pythonic approach to query SSAS data models.Installationpip install pyadomdQuery SSAS Tabular modelfromsysimportpathpath.append('\\Program Files\\Microsoft.NET\\ADOMD.NET\\150')frompyadomdimportPyadomdconn_str='Provider=MSOLAP;Data Source=localhost;Catalog=AdventureWorks;'query="""EVALUATE Product"""withPyadomd(conn_str)asconn:withconn.cursor().execute(query)ascur:print(cur.fetchall())Integrates easily with pandasfrompandasimportDataFramewithPyadomd(conn_str)asconn:withconn.cursor().execute(query)ascur:df=DataFrame(cur.fetchone(),columns=[i.nameforiincur.description])FAQQ: I get the following exception?System.IO.FileNotFoundException:Unabletofindassembly'Microsoft.AnalysisServices.AdomdClient'.atPython.Runtime.CLRModule.AddReference(Stringname)A: This exception is most likely raised because you have'ent added the folder with the Microsoft.AnalysisServices.AdomdClient.dll to your path, before you import the pyadomd package.Example:fromsysimportpath#added to the path _before_ importing the pyadomd packagepath.append('\\Program Files\\Microsoft.NET\\ADOMD.NET\\150')frompyadomdimportPyadomdQ: When I try to connect an Azure Analysis Service instance I get an:Authentication faild: User ID and Password are required when user interface is not available?A: This exception is most likely raised due to your "app" is not registered. Please follow the microsoft app registration documentationmicrosoft docs. The script: connect_to_ass.py (link to script) is a simple example on how to create a connection to a Azure Analysis Service. Please note that this is only an example, and not necessarily suitable for all apps.
Package: pyadrc
Active Disturbance Rejection Control for PythonA simple, yet powerful control method for when a PID controller just doesn’t cut it.FeaturesDiscrete linear time invariant active disturbance rejection controller for digital control systems.Implementation in state-space representation form of first- and second-order ADRC.For practical application - half-gain tuning, magnitude and rate limiter for actuator limitationsUser guide and/or theoretical background (for when you don’t have anything else to read).A first/second-order LTI model generator and a quadcopter altitude model for experimentation, testing and verification.InstallationInstallingpyadrcis really simple, just run this command in your terminal:pipinstallpyadrcor you can clone the repository and install it manually:gitclonegit://github.com/onguntoglu/pyadrccdpyadrcpythonsetup.pyinstallLicencepyadrcis licenced under the MIT LicenceAcknowledgementsNone of this work would be possible withoutGernot Herbstand his papers:Practical Active Disturbance Rejection Control: Bumpless Transfer, Rate Limitation and Incremental Algorithm,https://arxiv.org/abs/1908.04610A Simulative Study on Active Disturbance Rejection Control (ADRC) as a Control Tool for Practitioners,https://arxiv.org/abs/1908.04596Transfer Function Analysis and Implementation of Active Disturbance Rejection Control,https://arxiv.org/abs/2011.01044Half-Gain Tuning for Active Disturbance Rejection Control,https://arxiv.org/abs/2003.03986A Minimum-Footprint Implementation of Discrete-Time ADRC,https://arxiv.org/abs/2104.01943
Package: pyads
pyads - Python packageThis is a python wrapper for TwinCATs ADS library. It provides python functions
for communicating with TwinCAT devices.pyadsuses the C API provided byTcAdsDll.dllon Windowsadslib.soon Linux. The documentation for the ADS API is available oninfosys.beckhoff.com.Documentation:http://pyads.readthedocs.io/en/latest/index.htmlInstallationFrom PyPi:pipinstallpyadsFrom conda-forge:condainstallpyadsFrom source:gitclonehttps://github.com/MrLeeh/pyads.git--recursivecdpyads
pythonsetup.pyinstallFeaturesconnect to a remote TwinCAT device like a plc or a PC with TwinCATcreate routes on Linux devices and on remote plcssupports TwinCAT 2 and TwinCAT 3read and write values by name or addressread and write DUTs (structures) from the plcnotification callbacksBasic usageimportpyads# connect to plc and open connectionplc=pyads.Connection('127.0.0.1.1.1',pyads.PORT_TC3PLC1)plc.open()# read int value by namei=plc.read_by_name("GVL.int_val")# write int value by nameplc.write_by_name("GVL.int_val",i)# close connectionplc.close()Contributing guidelinesContributions are very much welcome. pyads is under active development. However it is a side-project of mine so please have some
patience when creating issues or PRs. Here are some main guidelines which I ask you to follow along:Create PRs based on themasterbranch.Add an entry to theChangelog.Keep PRs small (if possible), this makes reviews easier and your PR can be merged faster.Address only one issue per PR. If you want to make additional fixes e.g. on import statements, style or documentation
which are not directly related to your issue please create an additional PR that adresses these small fixes.
Package: pyadvantech
pyadvantechInteract with the Advantech USB-4718Install the module via:pip install pyadvantechYou might need to add the libusb.dll to your Path.Plug in the USB-4718 into your machine and install a WINUSB driver as its driver.importpyadvantech.pyadvantechaspyadevice=pya.setup(vendor_id=None,device_id=None)pya.prepare_read()print(pya.read(device))The vendor id and device id can be manually set but if left unspecified will default to the known tested values.Prepare read tells the device that it should now read the thermocouple. This call might not be necessary but it is a good Idea to call it as it moves the device out of a setup stage into the read stage.Changes to the Value Ranges of the device can be made with:importpyadvantech.pyadvantechaspyadevice=pya.setup()pya.set_channel_range(device,values=[0x0e,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b,0x0b])If values is left as none it will reset the device to the 0-100mv range.Multiple values can be selected and saved with:importpyadvantech.pyadvantechaspyadevice=pya.setup()pya.read_and_save(device,channel=1,length=1000,update=0.1,file_name="test.csv")Variable NameDescriptionDefault ValuedeviceThe Device handlerequiredchannelThe channel to be saved and storedrequired [0:7]lengthNumber of measurements to be taken1000updateThe update time in sec0.1file_nameThe file name must end in .csvformat "%Y_%m_%d_%H_%M_%S".csvAn Experimental plotting tool is also provided:importpyadvantech.pyadvantechaspyadevice=pya.setup()pya.plot_out(device,channel=1,x_name=None,y_name=None,x_range=60,update=None,acquisition_len=None)Variable NameDescriptionDefault ValuedeviceThe Device handlerequiredchannelThe channel to be saved and storedrequired [0:7]x_nameX axis labelTime inupdatesec intervalsy_nameY axis labelOutput of USB devicex_rangeRange of x axis, if leftNonewill just add new values continuouslyNoneupdateThe update time in sec0.1acquisition_lenNumber of measurements to be taken500 can be set to "inf"
Package: pyadvdocx
PyAdvDocxAn open source project inspired from python-docx in which more functionalities are added like advance replace and many more.Supported OSInstallingpip3installpyadvdocxUse cases:frompyadvdocximporttext,Documentdoc=Document("Example.docx")text.replace(doc,$name="John Doe")doc.save("Master work.docx")LicenseProject license -MITContributingAnyone is free to contribute and pull request/fork this project.Testing:cd./test
pip3installpyadvdocx
python3test_text.py# Look in data dir for *_done.docx filesChangelog:View changelog
Package: pyadventure
Create a text-based RPG with Python!New features coming every day!CURRENT FEATURES:playerenemiesmapmovementCOMING SOON:combatinventorySAMPLE TO GET STARTED:from pyadventure import pa
class myGame(pa.Game):
        def MainLoop(self, player, world):
                while True:
                        super().MainLoop(player, world)
        def setup(self):
            pa.m_print("Hello and welcome to my custom game!")
            pa.m_print("What is your name?")
            p = pa.Player(input())
            pa.m_print("Hello, " + p.name + "! How big should the world be?")
            size = int(input())
            w = super().GenerateWorld(size)
            self.MainLoop(p, w)
if __name__ == "__main__":
    g = myGame()
    g.setup()
Package: py-adyen
# py-adyenAdyen Python implementation. Capable of both single and recurring payments.## InstallationInstall via pip:```bash$ pip install py-adyen```## RequirementsHmac, hashlib. If you want to use the API, you need Suds. If you want to use the forms, you need Django as well.## SettingsPlease see the wiki for [available settings](https://github.com/svdgraaf/py-adyen/wiki)## UsagePlease see the wiki for [usage examples](https://github.com/svdgraaf/py-adyen/wiki)## TODOLots! Especially in the API section (only recurring payments are directly supported for now). Help out, make a pull request :) Write tests!*****## AcknowledgementInfluenced by [django-ogone](https://github.com/tschellenbach/Django-ogone), and reused some parts of the (outdated) [django-adyen](https://github.com/dokterbob/django-adyen) package
Package: pyaehw4a1
pyaehw4a1Python module and client for Hisense AEH-W4A1 wifi moduleUsageIntranet discoverypython -m pyaehw4a1 discovery (--full)XM versionpython -m pyaehw4a1 version --host IP_ADDRESSRead statuspython -m pyaehw4a1 AC --host IP_ADDRESSSend update commandpython -m pyaehw4a1 AC --host IP_ADDRESS --command COMMANDSupported commandsonoffmode_(cool, heat, fan, dry)speed_(mute, low, med, max, auto)temp_$1_C ($1 from 16 to 32)temp_$1_F ($1 from 61 to 90)turbo_onturbo_offenergysave_onenergysave_offdisplay_ondisplay_offsleep_(1, 2, 3, 4, off)vert_dirvert_swinghor_dirhor_swingtemp_to_Ftemp_to_Cstatus_(3_0, 3_1, 7_1, 10_4, 102_0, 102_64)NoteI am NOT a programmer and this is my first attempt to write in Python!
So, it comes with ABSOLUTELY NO WARRANTY!!!I started this work to implement support for my Hisense multi splip AC
in Home Assistant... This is the first part.The module Hisense AEH-W4A1 uses a serial protocol called XM, sending
AT+XMV command my AC reports v4.4.6;
onhttps://github.com/htqwe22/deviceI found some specifications on
v3.2.6 and
onhttps://github.com/cgdgithub/ControlJavaEditionI found the official
protocol implementation but sadly without protocol specifications.If you have updated information, please send it to me!My template ishttps://github.com/JonasPed/pydanfoss-aircode.
Many thanks to the author!
Package: pyaemcloudmanagerapi
This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API ishttps://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET request tohttps://cloudmanager.adobe.io/api/programs(with the correct set of headers as described below). This swagger file can be downloaded fromhttps://raw.githubusercontent.com/AdobeDocs/cloudmanager-api-docs/master/swagger-specs/api.yaml.  # noqa: E501
Package: pyaeneas
This package is a Python client forAeneas platformfullnode WebSockets API.API documentationInstallationInstall from PyPI bypip install pyaeneasQuickstartfrompyaeneasimportAeneasapi=Aeneas()# invoke signup processresponse=api.execute('Signup')print(response['phrase'])# confirm passphraseresponse=api.execute('PassPhraseSaved',{'passPhrase':response['phrase']})print(response)Aeneas client uses this URI by default:ws://localhost:9085/aeneas.
If you want to connect to another fullnode, pass URI as a client parameter:frompyaeneasimportAeneasapi=Aeneas('ws://example.com/aeneas')TestsFor running tests install and runAeneas fullnode,
then run a command from the parent pyaeneas directory:python-munittest pyaeneas.tests.test_clientRequirementsPython >= 3.5.3aiohttp
Package: pyaerocom
pyaerocomWebsite and Documentation:https://pyaerocom.readthedocs.io/en/latest/Installation:https://pyaerocom.readthedocs.io/en/latest/install.htmlTutorials:https://pyaerocom.readthedocs.io/en/latest/pyaerocom-tutorials/index.htmlAeroCom:https://aerocom.met.noAeroValevaluation portal:https://aeroval.met.no/
Package: pyaero-dlm
Github Actions status:Coverage status:Doublet lattice methodTODOCiting this repositoryTODODocumentationTODOHistoryversion 0.1.0, from PhD thesis of Higor Luis Silva (TODO)LicenseDistrubuted under the 3-Clause BSD license
(https://raw.github.com/saullocastro/pyaero/master/LICENSE).Contact:higor@ufu.br
Package: pyaes256-encrypter
pyaes256_encrypterA package to simplify the use of AES-256 encryption with random initialization vector.Installpip install pyaes256-encrypterUsagefrompyaes256_encrypterimportencode_text,decode_text# text to be encryptedtext='hello world'# encryption keykey='key'# RANDOM ENCODED e.g. 'Dx3dCTUSXzzM8wn1L/+NHVbyaDxZFpdqe+SN2NVZgfE='encoded=encode_text(text,key)# 'hello world'decoded=decode_text(encoded,key)
Package: pyaesni
a cpython bindings to libaesni which is a binding to intel aes ni.installationIf you want to install it yourself then you’re going to need a yasm
compiler. you can get it from herehttps://yasm.tortall.net/Download.htmlYou can also download it from pip if a wheel is available for your
device.pip install pyaesniUsageUsage is pretty simple.importpyaesniencrypted=pyaesni.ige256_encrypt(data,key,iv)everything is a buffer there. you can check the examples folder for moreavailable methodsige256_encrypt
ige256_decrypt
ctr256_encrypt
ctr256_decrypt
cbc256_encrypt
cbc256_decryptcreditswirtosfor doing most of the stuff and compilationpainorme for motivating him (and some setup.py stuff)danfor the cpython boilerplate
Package: pyaesthetique
# P y A e s t h e t i q u eA python module for making your outputs have aesthetique.## Ｉｎｓｔａｌｌａｔｉｏｎ$ pip install pyaesthetique## Ｕｓａｇｅ`python from aesthetique import Aesthetique a = Aesthetique()a.translate("pythonmodule for adding aesthetic to your outputs") '『 ｐｙｔｈｏｎ ｍｏｄｕｌｅ ｆｏｒ ａｄｄｉｎｇ ａｅｓｔｈｅｔｉｃ ｔｏ ｙｏｕｒ ｏｕｔｐｕｔｓ 』 湯浅 倫太郎' `Adds aesthetic to your string, and then sprinkls some Japanese kanji that doesn’t make any sense just for fun.## See Also[Emo](https://github.com/Miserlou/Emo)[Trapify](https://github.com/Miserlou/Trapify)[Zalgo](https://github.com/Miserlou/Zalgo)
Package: pyafai
pyafai is an agent framework created for the Introduction to Artificial
Intelligence course at the Department of Informatics Engineering of the
University of Coimbra.Tutorials and documentation are currently in preparation, and should be released
soon. In the meantime, the examples directory contains some simple examples of
the use of pyafai.Copyright (c) 2014-2016 Tiago Baptista -baptista@dei.uc.ptLicensed under the Apache License, Version 2.0 (see LICENSE.txt)DependenciesPython 3 (http://www.python.org) (should also work on Python 2.7)pyglet (http://www.pyglet.org)AuthorsTiago BaptistaOther ContributorsErnesto CostaAlexandre Pinto
Package: py-af-colours
py_af_coloursThe py_af_colours package aims to maintain the accessibility of graph outputs generated in Python across the Analysis Function by simplifying the process by which users can access the standardised colour palettes. This package aids ease-of-use by reducing manual steps involved with searching for and accessing the palettes.This package sits alongside an R equivalent:https://github.com/best-practice-and-impact/afcoloursFor full documentation on py_af_colours, please go to:https://best-practice-and-impact.github.io/py-af-colours/
Package: pyaff4
AFF4 -The Advanced Forensics File FormatThe Advanced Forensics File Format 4 (AFF4) is an open source format used for
the storage of digital evidence and data.It was originally designed and published in [1] and has since been standardised
as the AFF4 Standard v1.0, which is available athttps://github.com/aff4/Standard. This project is a work in progress
implementation, providing two library implementations, C/C++ and Python.What is currently supported.The focus of this implementation is reading physical images conforming with the
AFF4 Standard v1.0, and for the ongoing development of an AFF4 based logical
image standard.Canonical images for the v1.0 physical image specification are provided in the
AFF4 Reference Images github project athttps://github.com/aff4/ReferenceImagesReading, writing & appending to ZipFile style volumes.Reading striped ZipFile volumes.Reading & writing AFF4 ImageStreams using the deflate or snappy compressor.Reading RDF metadata using Turtle (and to some degree YAML).Verification of linear and block hashed images.Reading & writing logical images (new) .Reading & writing deduplicated logical images (new).Encrypted AFF4 logical volumes (new).What is not yet supported:The write support in the libraries is currently broken and being worked on.
Other aspects of the AFF4 that have not yet been implemented in this codebase
include:Persistent data store (resolver).HTTP backed streams.Support for signed statements or Bill of Materials.Directory based volumes.NoticeThis is not an official Google product (experimental or otherwise), it is just
code that happens to be owned by Google and Schatz Forensic.References[1] "Extending the advanced forensic format to accommodate multiple data
sources, logical evidence, arbitrary information and forensic workflow" M.I.
Cohen, Simson Garfinkel and Bradley Schatz, digital investigation 6 (2009)
S57-S68.
Package: pyaffy
pyAffy is a Python/Cython implementation of the RMA algorithm for
processing raw data from Affymetrix expression microarrays. For a detailed
discussion of this implementation, see thepyAffy PeerJ preprint. For
a list of changes, see thechangelog.InstallationOption 1: Usingpip$pipinstallpyaffyOption 2: Cloning the GitHub repository$gitclonehttps://github.com/flo-compbio/pyaffy.git$cdpyaffy$pipinstall-e.UsageThermafunction expects two parameters: A custom CDF file (from theBrainarray web site) and an ordered dictionary (collections.OrderedDict)
with sample names as keys and corresponding CEL files as values.Thermafunction returns a list of genes, a list of samples, and an
expression matrix (of typenumpy.ndarray), in that order.frompyaffyimportrma# for documentation of the rma function, try:# help(rma)genes,samples,X=rma(cdf_file,sample_cel_files)A smallexample with real codeis available in thepyaffy-demosrepository.Copyright and LicenseCopyright (c) 2016 Florian WagnerpyAffy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License, Version 3,
as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Package: pyafka
pyafkaPyafka is a utility to receive Kafka events in python service. It uses confluent_kafka under the hood.To use - annotate your handler method as follows:@kafka_consumer("broker_url", ["my_topic", "some_other_topic])
def handler(message):
    print(message.value())You can pass additional arguments to '@kafka_consumer decorator'.1: Specify kafka consumer group (defaut group is random UUID):@kafka_consumer("broker_url", ["my_topic", "my_other_topic], group_id="my_group_id")
def handler(message):
    print(message.value())2: Specify payload deserializer. Currently available are BytesDeserializer and StringDeserializer (default)@kafka_consumer("broker_url", ["my_topic", "my_other_topic], deserializer=BytesDeserializer.deserialize")
def handler(message):
    print(message.value())
Package: pyAFQ
pyAFQAutomated Fiber Quantification ... in Python.For details, seeDocumentationFor further analysis of results, seeAFQ-InsightCitingpyAFQIf you usepyAFQin a scientific publication, please cite our paper:Kruper, J., Yeatman, J. D., Richie-Halford, A., Bloom, D., Grotheer, M., Caffarra, S., Kiar, G., Karipidis, I. I., Roy, E., Chandio, B. Q., Garyfallidis, E., & Rokem, A.Evaluating the Reliability of Human Brain White Matter Tractometry.
DOI:10.52294/e6198273-b8e3-4b63-babb-6e6b0da10669@article {Kruper2021-xb,
  title     = "Evaluating the reliability of human brain white matter
               tractometry",
  author    = "Kruper, John and Yeatman, Jason D and Richie-Halford, Adam and
               Bloom, David and Grotheer, Mareike and Caffarra, Sendy and Kiar,
               Gregory and Karipidis, Iliana I and Roy, Ethan and Chandio,
               Bramsh Q and Garyfallidis, Eleftherios and Rokem, Ariel",
  journal   = "Apert Neuro",
  publisher = "Organization for Human Brain Mapping",
  volume    =  1,
  number    =  1,
  month     =  nov,
  year      =  2021,
  doi       =  10.52294/e6198273-b8e3-4b63-babb-6e6b0da10669,
}
Package: pyafraid
pyafraid is a command-line tool for updating IP addresses for the afraid.org DDNS service.Installationpyafraid can be installed using the standardpython setup.py installcommand:$ [sudo] python setup.py installUsageOnce installed, simply run:$ pyafraid update|query <username> -p <password> -n <hostname>Or, if you’d like to use the SHA-1 hash instead of the
username/password combo:$ pyafraid update|query -s <sha_hash> -n <hostname>For a more detailed usage description, use the--help/-hoption:$ pyafraid -h
Usage: pyafraid.py update|query [-h] [-u <username>] [-p <password>] [-n
<hostname>]


Options:
 -h, --help            show this help message and exit
 -u USERNAME, --username=USERNAME
                       The freedns.afraid.org username
 -p PASSWORD, --password=PASSWORD
                       The associated password
 -n HOSTNAME, --hostname=HOSTNAME
                       The name of the host to update or query
 -s SHA_HASH, --sha-hash=SHA_HASH
                       The SHA-1 hash from the API interface
                       URL. Don't use this with the -u and -p options.For example, to update freedns.afraid.org to point to the current IP address,
use theupdateargument:$ pyafraid update -u myuser -p mypass -n mythbox.example.org
  Attempting to update mythbox.example.org...
  response from server:
  ERROR: Address 1.1.1.1 has not changed.To query freedns.afraid.org for information about an account, you can use thequeryargument:$ pyafraid query -u myuser -p mypass

 url:    http://freedns.afraid.org/dynamic/update.php?<some_hash>
 ip:     1.1.1.1
 desc:   example.org

 url:    http://freedns.afraid.org/dynamic/update.php?<some_other_hash>
 ip:     2.2.2.2
 desc:   deathstar.example.orgNote that specifying-n/--hostnamewill restrict the output to the given host.Usage Requirementspyafraid has only been actively tested on python 2.6, but should work with minor changes on python 2.2+.
Patches are welcomed :)Development RequirementsIn order to execute unit tests (using ‘make test’) the following modules are required:unittest2discovermockAll of these modules can be installed witheasy_install:$ [sudo] easy_install mock unittest2 discoverReporting BugsAny bugs can be reported on github (https://github.com/campbellr/pyafraid/issues/new)
or emailed tocampbellr@gmail.com.