Saravanan666/pypi-org huggingface dataset:
Package: pymultiMATIC
pymultiMATICLegal DisclaimerThis software is not affiliated with Vaillant and the developers take no legal responsibility for the functionality or security of your vaillant devices.Install[sudo]pip3installpymultimaticTestsYou can run tests withpytestUsagesModule usageThe project is separated in two layers:1. ApiConnectorThis is the low level connector using the vaillant API and returning raw data directly coming from the API (basically,jsonformatted responses). The connector is handling the login and session (cookie based).
There are 2 helper packages for urls and payload:pymultimatic.api.urlsandpymultimatic.api.payloads.Here is an example on how to use it:importaiohttpfrompymultimatic.apiimportConnector,urls,payloadsasyncwithaiohttp.ClientSession()assession:connector=Connector('user','pass',session)# get information about your systemresponse=awaitconnector.request('get',urls.system(serial='123'))#set the target low heating temperature of a zone to 15 °Cresponse=awaitconnector.request('put',urls.zone_heating_setback_temperature(id='1',serial='123'),payload=payloads.zone_temperature_setback(15))Here is an example of response:{"body":{"facilitiesList":[{"serialNumber":"1234567891234567891234567890","name":"Name","responsibleCountryCode":"BE","supportedBrand":"GREEN_BRAND_COMPATIBLE","capabilities":["ROOM_BY_ROOM","SYSTEMCONTROL_MULTIMATIC"],"networkInformation":{"macAddressEthernet":"12:34:56:78:9A:BC","macAddressWifiAccessPoint":"34:56:78:9A:BC:DE","macAddressWifiClient":"56:78:9A:BC:DE:F0"},"firmwareVersion":"1.1.1"}]},"meta":{}}I would recommend using this layer if you only want to retrieve basic data (outdoor temperature, current temperature of zone, etc.)2. SystemManagerThis layer allows you to interact in a more friendly way with the system and it computes some data for you.
The underlyingConnectoris hidden and raw responses are mapped to more useful objects.Here is a script example:#!/usr/bin/env python3importasyncioimportsysimportaiohttpfrompymultimatic.systemmanagerimportSystemManagerfrompymultimatic.modelimportSystemasyncdefmain(user,passw):print('Trying to connect with user '+user)asyncwithaiohttp.ClientSession()assession:manager=SystemManager(user,passw,session)system=awaitmanager.get_system()print(system)if__name__=="__main__":ifnotlen(sys.argv)==3:print('Usage: python3 dump.py user pass')sys.exit(0)user=sys.argv[1]passw=sys.argv[2]asyncio.get_event_loop().run_until_complete(main(user,passw))Then you can run the script:python3 script.py user passwThe main object to manipulate ispymultimatic.model.System, which is grouping all the information about your system.In case of error coming from the API, apymultimtic.api.Erroris raised, containing the response and the payload sent to the API.I would recommend using this layer if you want to do more complex things, e.g: if you want to get the target temperature for
a room or a zone, it can become a bit complex since you have to deal with holiday mode, quick mode, quick veto, time program, etc.
This layer is hiding you this complexity.
Package: pymultimonitor
PyMultiMonitorThis module can be used to interact with Windows Display. Currently, it supports:Getting and setting current display topology (i.e. CLONE, EXTERNAL, INTERNAL, EXTENDED)Getting display nameGetting and setting current display brightnessExampleGetting current display topology>>>frompymultimonitor.core.DisplayTopologyimportDisplayTopology>>>frompymultimonitor.cinterface.constantsimportDisplayConfigTopology>>>dt=DisplayTopology()>>>dt.get_display_topology()<DisplayConfigTopology.DISPLAYCONFIG_TOPOLOGY_EXTEND:4>>>>dt.get_display_topology()==DisplayConfigTopology.DISPLAYCONFIG_TOPOLOGY_EXTENDTrueSetting display topology>>>frompymultimonitor.core.DisplayTopologyimportDisplayTopology>>>frompymultimonitor.cinterface.constantsimportDisplayConfigTopology>>>dt=DisplayTopology()>>>dt.set_topology_extend()>>>dt.get_display_topology()==DisplayConfigTopology.DISPLAYCONFIG_TOPOLOGY_EXTENDTrue>>>dt.set_topology_external()>>>dt.get_display_topology()==DisplayConfigTopology.DISPLAYCONFIG_TOPOLOGY_EXTERNALTrueGetting current display device friendly name>>>frompymultimonitor.core.DisplayInfoimportDisplayInfo>>>di=DisplayInfo()>>>di.get_display_names(){'\\\\.\\DISPLAY1':'LG ULTRAWIDE'}Getting and setting current display brightness for a particular monitor>>>frompymultimonitor.core.DisplayMonitorsimportDisplayMonitors>>>dm=DisplayMonitors()>>>physical_monitors=dm.get_physical_monitor_handles()>>>physical_monitors[PhysicalMonitor(hPhysicalMonitor=1,szPhysicalMonitorDescription='Generic PnP Monitor')]>>>frompymultimonitor.core.DisplayBrightnessimportDisplayBrightness>>>db=DisplayBrightness()>>>db.get_display_brightness_for_monitor(physical_monitors[0])Brightness(minimum=0,current=20,maximum=100)>>>db.set_display_brightness_for_monitor(physical_monitors[0],50)
Package: pyMultiOmics
pyMultiOmicspyMultiOmics is a Python package for multi-omics data integration and analysis.
It uses the Reactome database to map entities (genes, transcripts, proteins, compounds) to
their reactions and pathways. The results is then shown as a network graph. Various analyses such as
differential analysis, pathway activity analysis can be performed on this network graph, with the results
overlaid on the graph.InstallationSimply run:pip install pyMultiOmicsUsageExample basic usage is shown below:from pyWebOmics.mapping import Mapper

species_name = DANIO_RERIO
m = Mapper(species_name) \
        .set_gene(gene_data, gene_design) \
        .set_protein(protein_data, protein_design) \
        .set_compound(compound_data, compound_design) \
        .build()mcontains a mapper object, which can be interogated to obtain the data integration results.
Please refer tothis notebookfor a demo.Once mapping is completed, further analysis can be done.
For example, finding DE entities:from pyMultiOmics.analysis import AnalysisPipeline

ap = AnalysisPipeline(m)

method = INFERENCE_DESEQ
ap.run_de(method, GENES, 'Distal', 'Proximal')
ap.run_de(method, GENES, 'Distal', 'Middle')
ap.run_de(method, GENES, 'Proximal', 'Middle')

method = INFERENCE_LIMMA
ap.run_de(method, PROTEINS, 'Distal', 'Proximal')
ap.run_de(method, PROTEINS, 'Distal', 'Middle')
ap.run_de(method, PROTEINS, 'Proximal', 'Middle')

method = INFERENCE_T_TEST
ap.run_de(method, COMPOUNDS, 'Distal', 'Proximal')
ap.run_de(method, COMPOUNDS, 'Distal', 'Middle')
ap.run_de(method, COMPOUNDS, 'Proximal', 'Middle')Various queries can now be performed on the pipeline:Retrieve a single nodefrom pyMultiOmics.query import QueryBuilder

node_id = '15366'
res = QueryBuilder(ap) \
        .add(Entity(node_id)) \
        .run()
resRetrieve multiple nodesnode_id = ['15366', 'ENSDARG00000037781', 'F1QAA7']
res = QueryBuilder(ap) \
        .add(Entity(node_id)) \
        .run()
resRetrieve nodes connected to a single nodequery_id = 'F1QAA7'
res = QueryBuilder(ap) \
        .add(Entity(query_id)) \
        .add(Connected()) \
        .run()
resRetrieve top-10 significantly changing genescase = 'Distal'
control = 'Proximal'
pval = 0.05
fc_lte = -2
fc_gte = 2
N = 20

res = QueryBuilder(ap) \
        .add(Select(GENES)) \
        .add(SignificantDE(case, control, pval, fc_lte=fc_lte, fc_gte=fc_gte, N=N)) \
        .run()
resFind the compounds that are connected to the DE genes aboveres = QueryBuilder(ap) \
        .add(Select(GENES)) \
        .add(SignificantDE(case, control, pval, fc_lte=fc_lte, fc_gte=fc_gte, N=N)) \
        .add(Connected(data_type=COMPOUNDS)) \
        .run()
resRetrieve entity infores = QueryBuilder(ap) \
        .add(Select(GENES)) \
        .add(SignificantDE(case, control, pval, fc_lte=fc_lte, fc_gte=fc_gte, N=N)) \
        .add(Connected()) \
        .add(Info()) \
        .run()
res
Package: py-multi-pager
NotipyHow to use pyPager's email systemCreate Note object :my_note = note.NOTE()Select Email :mail = my_note.Email(YOUR_EMAIL_ID, YOUR_EMAIL_PASSWORD)Set recevier's mail address, addressee, sender :mail.recevier = "receiver_addr@gmail.com"
mail.message = MESSAGE
mail.set_from = ME
mail.set_to = YOU
mail.set_subject = SUBJECTSend emailmail.send_email()How to use pyPager with LineGet Line Notify TokenAccess tohttps://notify-bot.line.me/doc/en/Login with Line AccountGo to MypageGenerate Access TokenSet your Line Token in config.py# Line TokenLINE_API_ID="{Your Line Account}"LINE_API_PASSWORD="{Your Token}"Create Note object :my_note = note.NOTE()Select Line and set messages:line=my_note.Line(LINE_API_ID,LINE_API_PASSWORD)line.message="Model Training Finished!"
Package: pymultipart
#HTTP Multipart Body Parser[![Build Status](https://secure.travis-ci.org/aventurella/pymultipart.png?branch=master)](http://travis-ci.org/aventurella/pymultipart)Pretty fast little parser for Multipart Form Bodies.
In the sample, full message body is 90,029 bytes and it takes
the parser, on average, about 2.7ms to process it all
and return the data.It doesnottake into accountContent-Disposition: multipart/mixed
Package: pymultipleis
pymultipleisInstallation|Examples|Documentation|Citing this workA library for fitting a sequence of electrochemical impedance spectra.Implements algorithms for simultaneous and sequential fitting.Written in python and based on theJAX library.Leverages JAX's in-built automatic differentiation (autodiff) of Python functions.Takes advantage of JAX's just-in-time compilation (JIT) of Python code toXLAwhich runs on GPU or TPU hardware.Installationpymultipleis requires the following:Python (>=3.9)JAX(>=0.3.17)Installing JAX on Linux is natively supported by the JAX team and instructions to do so can be foundhere.For Windows systems, the officially supported method is building directly from the source code (seeBuilding JAX from source).
However, it might be easier to use pre-built JAX wheels which can be found in thisGithub repo. Further details
on Windows installation is also provided in thisrepo.After installing JAX, you can now install pymultipleis via the following pip commandpipinstallpymultipleisGetting started with pymultipleiscontains a quick start guide to
fitting your data withpymultipleis.ExamplesJupyter notebooks which cover several aspects ofpymultipleiscan be found inExamples.DocumentationDetails about thepymultipleisAPI, can be found in thereference documentation.Citing this workIf you use pymultipleis for academic research, you may cite the library as follows:@misc{Chukwu2022,
  author = {Chukwu, Richard},
  title = {pymultipleis: a library for fitting a sequence of electrochemical impedance spectra},
  publisher = {GitHub},
  year = {2022},
  url = {https://github.com/richinex/pymultipleis},
}
Package: pymultirole-plugins
RequirementsPython 3.8+Flit to put Python packages and modules on PyPIPydantic for the data parts.Installationpip install flit
pip install pyformatters-pluginsPublish the Python Package to PyPIIncrement the version of your package in the__init__.pyfile:"""An amazing package!"""

__version__ = 'x.y.z'Publishflit publish
Package: pymultithreading
multithreadingA python module for creating multithreading processes easily, in a more Pythonic way.first of allspecifics:writen and owned by: Shahaf Frank-Shapirall the rights are saved for: Shahaf Frank-Shapirprogramming languages: python 3.9.12 (100%)before we startdescription:visit the docs to learn more about this project and how to develop with it.dependencies:opening:
As for this is a really complex program, which uses a lot of modules, there are required dependencies needed
in order to run the program. keep in mined the program was writen in python 3.9, so any python version lower
than 3.8 might not work properly. Moreover, built-in python modules are being used, so keep that in mind.install app dependencies by writing the "-r" option to install the requirements
writen in a file, and write the following line in the project directory:pip install -r requirements.txtrun a testrun from windows command line (inside the project directory)run with python by writing to the command line in the project directory:python test.py
Package: pymum
mumA simple tool to help you keep track of your work throughout the week, it also helps you
keep track of short-term todo stuff. It will remind you during the week so you don't
have to think about it. Just like mums do to little kids :)Table of contentsRequirementsInstallationUsageRequirementslinux OSshellat least python3.10InstallationFrom PyPi:$pipinstall--userpymumOr you can install dirstory from the git repository:$pipinstall--usergit+https://github.com/nikromen/mumUsageEnter the script$mumThe script contain only a few commands and they are really simple. Here they are:lsOutput of this command:┏━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Monday ┃ Tuesday ┃ Wednesday  ┃ Thursday ┃ Friday ┃ Saturday   ┃ Sunday   ┃ Todo       ┃
┡━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━┩
│ cook   │ rave    │ cofee      │          │ drink  │ drink more │ hangover │ sleep      │
│ eat    │ eat     │ more cofee │          │        │            │          │ sleep more │
└────────┴─────────┴────────────┴──────────┴────────┴────────────┴──────────┴────────────┘will list all your work from the week in a table.Subcommands:ls [monday|tuesday|...|sunday|todo]will list all your work from specific section. It can be days -mumsaves the things you've
done during the week in sections for each day, so you can view them individually.
You can also view thetodosectiontd [text]adds a text you specified intotodosectionSubcommands:td dn [int]adds a correspondingtodoitem to a day section. You can view the number oftodoitem
vials todocommand.dn [text]adds a text you specified to a corresponding day sectione section number_of_item [text]edits item of sectione.g.:e monday 1 this is edited textwill edit first item in monday section to "this is edited
text"mv section number_of_item sectionmoves item from one section to anothere.g.:mv friday 2 mondaywill move second item from friday section to monday sectionrstonce you told your manager on standup/mtg/whatever what have you done, you can start new blank
session viarstcommand which will initialize new blank week.Warning! The TODO section will not be removed! To remove even TODO section, userst allqquitsmum
Package: pymumble
PYMUMBLE python libraryDescriptionThis library acts as a mumble client, connecting to a murmur server, exchanging states and audio.The wiki/API explanation isHERE.Installing/Getting startedRequirementslibopusis a mandatory OS library. Please refer to your package manager to install it.With pippip install pymumbleYou need toimport pymumble_py3 as pymumbleinto your code.Deployment script is availablehereWith gitgit clone https://github.com/azlux/pymumble.gitpip3 install -r requirements.txtYou need toimport pymumble.pymumble_py3 as pymumbleinto your code.It's will be the same if you use a git sub-moduleCHANGELOGThe changelog is available on the release note.Applications list usingpymumbleFor client application examples, you can check this list :BotamusiqueMumbleRadioPlayer(archived)AbotMumbleRecbot(deprecated)FeaturesCurrently implemented:Compatible with Mumble 1.3 and normally until 1.2.2Support OPUS. Speex is not supportedReceive and send audio, get users and channels statusSet properties for users (mute, comments, etc.) and go to a specific channelKick and ban usersCallback mechanism to react on server eventsManage the blobs (images, long comments, etc.)Can send text messages to user and channelPing statisticsAudio targets (whisper, etc.)Read ACL groupsWhat is missing:I don't need these features, so if you want one, open an issue and I will work on it.UDP media. Currently it works only in TCP tunneling mode (the standard fallback of Mumble when UDP is not working)Some server management features (user creation, editing ACLs, etc.)Positioning is not managed, but it should be easy to addProbably a lot of other small featuresWONTFIXThePython 2version is available in themaster branch. It's working! But since we have moved on to Python 3, the Python 2 version will not receive future improvements.ArchitectureThe library is based on the Mumble object, which a thread. When started, it will try
to connect to the server and start exchanging the connection messages.
This thread implements a loop which takes care of the pings, sends commands to the server,
checks for incoming messages including audio, and checks for audio to be sent out.
The rate of this loop is controlled by how long it will wait for an incoming message before continuing.You can check if the thread is alive withmumble_object.is_alive().
The Mumble thread will stop if it disconnects from the server.
This can be useful if you need to restart the thread when using a supervisor.Thanks@raylufor makingpymumblespeak into channels@schlarpcfor fixes on buffer@Robert904for the inital pymumble implementationThis library is a fork of a fork of a fork (initial fromhttps://github.com/Robert904/pymumble).
But we will try to makepymumblebetter.
So I consider this fork (the@Azluxone) the current live fork ofpymumble.
Package: pymus
pymus - Audio & Music analysis toolsA Python library including several tools for automatic music analysis.
Special focus is on algorithms for score-informed analysis of melodies in audio recordings of musical instruments.sisa/Methods for score-informed analysissisa/f0_trackingScore-informed tracking of the fundamental frequency contour of each note in a transcribed melody recording.sisa/loudnessScore-informed estimation of note-wise intensity values based on a critical band approximationsisa/tuningWrapper to call NNLS VAMP plugin by Matthias Mauch using sonic-annotator (must be installed)convert/converterConverter functions between MIDI pitch, frequencies, and note namesfeatures/f0_contour_featuresAudio features that characterize (note-wise) fundamental frequency contours. These can be used to train machine
learning models to classify pitch modulation techniques such as bending, slide, vibrato etc.transform/transformerImplementations of the Short-time Fourier Transform (based on spectrogram function from Matlab) and the Reassigned
Spectrogram using the instantaneous frequency. The latter is useful for frequency tracking since it exhibits sharper
peaks for harmonic signal components compared to the STFT.wrapper/sonic_visualiser.pyCurrently just one function to export time-series to CSV files which can be loaded into Sonic Visualiser for
visualisation purposes (time values layer)
Package: pymusas
PyMUSASPythonMultilingualUcrelSemanticAnalysisSystem, is a rule based token and Multi Word Expression semantic tagger. The tagger can support any semantic tagset, however the tagset we have concentrated on and released pre-configured spaCy components for is theUcrel Semantic Analysis System (USAS).Documentation📚Usage Guides- What the package is, tutorials, how to guides, and explanations.🔎API Reference- The docstrings of the library, with minimum working examples.🚀RoadmapLanguage supportPyMUSAS currently support 8 different languages with pre-configured spaCy components that can be downloaded, each language has it's ownguide on how to tag text using PyMUSAS. Below we show the languages supported, if the model for that language supports Multi Word Expression (MWE) identification and tagging (all languages support token level tagging by default), and size of the model:Language (BCP 47 language code)MWE SupportSizeMandarin Chinese (cmn):heavy_check_mark:1.28MBWelsh (cy):heavy_check_mark:1.09MBSpanish, Castilian (es):heavy_check_mark:0.20MBFrench (fr):x:0.08MBIndonesian (id):x:0.24MBItalian (it):heavy_check_mark:0.50MBDutch, Flemish (nl):x:0.15MBPortuguese (pt):heavy_check_mark:0.27MBInstall PyMUSASCan be installed on all operating systems and supports Python version >=3.7, to install run:pip install pymusasDevelopmentWhen developing on the project you will want to install the Python package locally in editable format with all the extra requirements, this can be done like so:pipinstall-e.[tests]For azshshell, which is the default shell for the new Macs you will need to escape with\the brackets:pipinstall-e.\[tests\]Running linters and testsThis code base uses flake8 and mypy to ensure that the format of the code is consistent and contain type hints. The flake8 settings can be found in./setup.cfgand the mypy settings within./pyproject.toml. To run these linters:isortpymusastestsscripts
flake8
mypyTo run the tests with code coverage (NOTEthese are the code coverage tests that the Continuos Integration (CI) reports at the top of this README, the doc tests are not part of this report):coveragerun# Runs the tests (uses pytest)coveragereport# Produces a report on the test coverageTo run thedoc tests, these are tests to ensure that examples within the documentation run as expected:coveragerun-mpytest--doctest-modulespymusas/# Runs the doc testscoveragereport# Produces a report on the doc tests coverageTeamPyMUSAS is an open-source project that has been created and funded by theUniversity Centre for Computer Corpus Research on Language(UCREL) atLancaster University. For more information on who has contributed to this code base see thecontributions page.
Package: pymusement
PyMusementA python package and CLI to get wait times for rides at various theme parks
testExampleCLIGet wait times right from your terminalpymusement islands-adventure --type ridesLibraryfrom pymusement.parks.universal.IslandsOfAdventure import IslandsOfAdventure

ioa = IslandsOfAdventure()
print ioa.rides()
# or print ioa.shows() if you want show times insteadA full list of the rides and shows in the park will be displayed!Getting Startedpip install pymusementBased on amusement by rambleraptorParksPark NameRidesShowsMagic KingdomxEpcotxHollywood StudiosxAnimal KingdomxDisneylandxDisney's California AdventurexUniversal Studios FloridaxxIslands of AdventurexxUniversal Studios HollywoodxxUniversal Studios JapanHersheyparkxWork to be doneFind alternative for Seaworld parksAdd Six Flags parks
Package: pymusicapi
music_apisome apis to fetch musicit includeskugoukuwowangyiyunmiguqianqianexamplesfetch songimportasynciofrommusic_apiimportTemplate,mgasyncdefmain()->None:api=mg.API()songs=awaitapi.search("enemy")assertsongssong=songs[0]asserttype(song)isTemplate.Song# Song object has fields:#     desc: simple description of the song#     url: url of song#     fetch: function to fetch song url#     owner: owner of the song, instance of Templateassertsong.url==""status,url=awaitsong.fetch()ifstatusisTemplate.Song.Status.Success:print(url)assertsong.url==urlelifstatusisTemplate.Song.Status.NeedVIP:print("need vip")elifstatusisTemplate.Song.Status.NeedLogin:print("need log in")if__name__=="__main__":asyncio.get_event_loop().run_until_complete(main())log inimportasynciofromioimportBytesIOfrommusic_apiimportTemplate,mgfromPILimportImageasyncdefshow_img(img:bytes)->None:f=BytesIO(img)img=Image.open(f)img.show()asyncdefmain()->None:api=mg.API()assertapi.login.QRisnotNonelogin_by_qr=api.login.QRawaitlogin_by_qr(show_img)assertapi.login.SMSisnotNonecellphone=input("cellphone is:")fetch_captcha,send_sms,login_by_sms=api.login.SMScaptcha=""iffetch_captchaisnotNone:awaitfetch_captcha()captcha=input("captcha is:")awaitsend_sms(cellphone,captcha)verify_code=input("verify code is:")awaitlogin_by_sms(cellphone,verify_code,captcha)assertapi.login.PWDisnotNonecellphone=input("cellphone is:")password=input("password is:")fetch_captcha,login_by_pwd=api.login.PWDcaptcha=""iffetch_captchaisnotNone:awaitfetch_captcha()captcha=input("captcha is:")awaitlogin_by_pwd(cellphone,password,captcha)if__name__=="__main__":asyncio.get_event_loop().run_until_complete(main())