Saravanan666/pypi-org huggingface dataset:
Package: pyonfireapi
Python FireAPI ClientUnofficial API client for the FireAPI from 24fire GmbH.InstallationpipinstallpyonfireapiExamples1. List all VMsfrompyonfireapiimportFireAPIClient# Set the client and authenticateclient=FireAPIClient("api-key")# Perform the Requestr=client.vm.list_all_vms()# Print statuscodeprint("Status Code: ",r.status_code)# Print jsonprint(r.json())Output:Status Code: 200{"status":"success","requestID":"a24effc3-b1d6-46a3-a49a-fe07734717ad","message":"All vm data are listed below","data":{"total_vms":2,"total_stats":{"cores":12,"mem":3072,"disk":20},"list":[{"vmid":30071,"createDate":"2023-05-31T00:38:40.000Z","node":"node09","config":{"cores":10,"mem":1024,"disk":10}},{"vmid":30074,"createDate":"2023-06-10T11:10:34.000Z","node":"node09","config":{"cores":2,"mem":2048,"disk":10}}]}}
Package: pyonfx
An easy way to create KFX (Karaoke Effects) and complex typesetting using the ASS format (Advanced Substation Alpha).Powered byPython3, PyonFX aims to offerstability,efficiency, andease of useto anyone who wants to create something more visually complex within ASS.DocumentationYou can find the full documentation of PyonFX, as well as a quick-start guide and examples, onRead The Docs.ContributingIf you want to contribute to PyonFX, please make sure to review thecontribution
guidelines.This project makes use ofGitHub issuesfor
trackingrequests and bugs only, so pleasedon'tuse issues for general questions and discussion.LicenseThis project is licensed under the LGPL v3.0 License — see theLICENSEfile for further details.AcknowledgmentsYoukafor the original main functions ideas forNyuFX;McWhitefor the original functions ideas of his library forNyuFX;Siplasfor helping me out in the realization of the current logo forPyonFX;Preacerfor the name suggestion.
Package: pyoni
# pyoniPure python tool for manipulating OpenNI recorded files (oni). This tool supports extraction of data, time rescaling and fix of broken files.Options=======================```usage: pyonitool.py [-h] [--info] [--times] [--seeks] [--dump] [--copy][--rescale RESCALE] [--fixcut] [--checkcut][--dupframes DUPFRAMES] [--stripcolor] [--stripdepth][--stripir] [--registercolor] [--registerdepth] [--mjpeg][--extractcolor EXTRACTCOLOR][--extractdepth EXTRACTDEPTH] [--extractir EXTRACTIR][--fseek FSEEK] [--fduration FDURATION][--skipframes SKIPFRAMES] [--coloreddepth][--output OUTPUT] [--cutbytime CUTBYTIME][--cutbyframe CUTBYFRAME]fileScan OpenNI ONI filespositional arguments:file                  ONI filenameoptional arguments:-h, --help            show this help message and exit--info--times               print times of each frame--seeks               print seeks--dump--copy                simply copies the content of the ONI via parsing(rebuilds the seektable only)--rescale RESCALE     rescale timings--fixcut              fixes cut file NOT TESTED HERE--checkcut            checks if file was cut NOT TESTED HERE--dupframes DUPFRAMESduplicate frames--stripcolor--stripdepth--stripir             removes IR--registercolor       registers color over depth--registerdepth       registers depth over color--mjpeg               extract the color stream as motion jpeg--extractcolor EXTRACTCOLORextract the color stream single jpeg or png images.This option specifies the target path, numbering isthe frame number--extractdepth EXTRACTDEPTHextract the depth stream single png images. Thisoption specifies the target path, numbering is theframe number--extractir EXTRACTIRextract the depth stream single png images. Thisoption specifies the target path, numbering is theframe number--fseek FSEEK         seek frame for extract--fduration FDURATIONduration of extraction in frames--skipframes SKIPFRAMESskip n frames--coloreddepth        colored depth--output OUTPUT--cutbytime CUTBYTIMEcut by specifing time in seconds:startseconds,endseconds--cutbyframe CUTBYFRAMEcut by specifing time in frames: startframe,endframe```Build=======================Two C++ codes require manual steps using cmake and then the resulting shared libraries needs to be visible to python at startup (PATH under Windows, LD_LIBRARY_PATH under Linux, DYLD_LIBRARY_PATH under OSX)1) make sure that Eigen3 is available http://eigen.tuxfamily.org2) go top level3) mkdir buildcd buildcmake ..4) make5) make the output DLL/SO visibleIn the next version I will package everythingReferences=======================https://github.com/OpenNI/OpenNI2/blob/master/Source/Drivers/OniFile/DataRecords.cpphttps://github.com/OpenNI/OpenNI2/blob/master/Source/Core/OniRecorder.cpphttps://github.com/OpenNI/OpenNI2/blob/master/Source/Core/OniDataRecords.cppCODECS: https://github.com/OpenNI/OpenNI2/blob/5b88c95e4f8d19b95713e3c873c7d07e48e5605b/Source/Drivers/OniFile/Formats/Xn16zEmbTablesCodec.hhttps://github.com/OpenNI/OpenNI2/blob/5b88c95e4f8d19b95713e3c873c7d07e48e5605b/Source/Drivers/OniFile/Formats/XnStreamCompression.cpp
Package: pyonize
Pyonizeconvert json|dict to python objectSetuppip install pyonizeExamplesfrompyonizeimportpyonizedeneme=pyonize({"id":1,"name":"jhon","job":{"id":1,"title":"CTO"},"list":[1,2,3],"dictlist":[{"name":"foo"},{"name":"bar"}]})print(deneme.name)print(deneme.job)print(deneme.job.title)frompyonizeimportPyonclassFoo(Pyon):defbar(self):...data={"id":1,"name":"jhon","job":{"id":1,"title":"CTO"},"list":[1,2,3],"dictlist":[{"name":"foo"},{"name":"bar"}]}foo=Foo(data)print(foo.id)print(foo.dictlist[1].name)
Package: pyonly
PyOnlyPyOnly lets you build interactive web UIs using Python instead of JavaScript. It enables you to deploy machine learning applications because existing libraries such as TensorFlow can be used. PyOnly works without plugins or code transpilation in all modern web browsers, including mobile browsers. The client logic runs on the server and the required UI changes are sent to the client. Consequently, you don't have to jump between client and server code since both are in the same script. On top of that, you can integrate PyOnly into your existing projects because JavaScript functions, APIs and libraries can be accessed.Install$ pip install pyonlyDocumentationDocumentation is available athttp://pyonly.com/docs/overview.php
Package: pyonlyoffice
Beginning of work.Create a script and import the module for the library to work:import pyonlyofficeAdd authorization data:onlyoffice = pyonlyoffice.PyOnlyOffice(
    username="test@example.com",
    password="qwerty123",
    baseurl="https://example.com/",
)OnlyOffice API -https://api.onlyoffice.com/
Package: pyonms
PyONMSA Python library for accessing the OpenNMS REST API.This is being developed with Python 3.11 and OpenNMS 32.
It may work on older versions, but they haven't been tested yet.OpenNMS REST API documentationPyONMS documentationPyPi LibraryInformationThis currently is an early, pre-release version of this library.
It is not maintained or supported by The OpenNMS Group.Endpoints SupportedCurrently supported endpoints include:Alarms (read-write)Business Services (read-write)Enlinkd (read-only)Events (read, send)Foreign Sources (read-write)Health (read-only)Info (read-only)IP Interfaces (read-only)Nodes (read, metadata modify requires Horizon 32.0.6+ or Meridian 2023.1.11+)RequisitionNodes (read-only)Requisitions (read-write)User Defined Links (read-write)Getting StartedYou can install this library by running:pip3 install pyonmsSee theproject documentationfor instructions on using this library.ChangelogChangelog
Package: pyonos
Wrapper around the IONOS DNS, Domains & SSL APIInstallationPyonos is a PyPi package and can be installed using pip.pip install pyonosFeaturesFull DNS, Domains & SSL API coverageTop-Level methods for easier use of the core methodsDynDns Update FunctionQuickstartIONOS exposes3 different API's.DnsDomainsSslEvery API has its corresponding & same name class that can be imported from pyonos.
Every class needs to be authenticated using aprefix and a secret.Similarly, every API endpoint has its own corresponding method. Methods always return a PyonosResponse object which has two properties:.status_code: The http status code returned.json: the json response (if not available: None)DNS APIFull IONOS DNS DocumentationStart by importing theDnsclass from pyonos.frompyonosimportDnsNow we need to authenticate with a prefix and a secret.frompyonosimportDnsdns=Dns("abc","def")Now we use the.get_zones()method to get all zones available.
BecausePyonosResponseoverwrites it's _str_ method, we can just print the response.frompyonosimportDnsdns=Dns("abc","def")response=dns.get_zones()print(response)# get single properties like this:#   response.status_code#   response.jsonList of all available methods/endpointsMethod names are a combination of the http method used and their category.Dns (Official API Docs)Zonesget_zones: Returns list of customer zones.get_zone: Returns a customer zone.patch_zone: Replaces all records of the same name and type with the ones provided.put_zone: Replaces all records in the zone with the ones provided.Recordspost_records: Creates records for a customer zone.get_record: Returns the record from the customer zone with the mentioned id.delete_record: Delete a record from the customer zone.put_record: Update a record from the customer zone.DynDnspost_dyndns(): Activate dyndns for a group of domains.AboutMade with â™¥ byaaronlyyLicenseGNU GPL v3
Package: pyonr
pyonPYON Reader - Python Object NationTable of ContentsInstallationHow to useCreating PYON FileReading FileWriting FileInstallationpipinstallpyonrHow to useCreating PYON filelet's create ourPYONfile,
i'm going to call itfriends.pyon{
    "me": {
        "name": "Nawaf",
        "age": 15
    }
}Reading Fileimportpyonrfile=pyonr.read('friends.pyon')# Replace "friends.pyon" with your file namefileData=file.read# {'me': {'name': 'Nawaf', 'age': 15}}type(fileData)# <class 'dict'>Writing Fileimportpyonrfile=pyonr.read('friends.pyon')fileData=file.readfileData['khayal']={"name":"Khayal","age":14}# This will update "fileData" only, we need to save itfile.write(fileData)File will get updated too{
    'me': {
        'name': 'Nawaf',
        'age': 15
        },

    'khayal': {
        'name': 'Khayal',
        'age': 14
    }
}
Package: pyONS
PyONS** Python wrapper for the Office for National Statistics API **Get List of DatasetsAs Pandas DataFramefrompyONSimportapi.Datasetsdatasets_df=Datasets().as_DataFrame()As JSONfrompyONSimportapi.Datasetsdatasets_json=Datasets().as_Json()Get Latest Dataset VersionfrompyONSimportapi.Datasetsdataset=Datasets().Dataset(dataset_id).getLatest()Interacting with DatasetsList EditionsList VersionsList DimensionsfrompyONSimportapi.Datasetsdimensions=x=Datasets().Dataset(dataset_id).edition(edition).version(version).dimensions().list()print(dimensions)Not affiliated with the Office for National Statistics
Package: pyOnvif
pyOnvifThis package provides a simple client to interact with ONVIF compliant IP cameras. It contains the SOAP message encoding for the basic functions that are commonly needed.There are no required dependencies. Optionally, if you want to use WS-Discovery to find your Onvif camera, you needWS-Discovery support.WS-Discovery support can also be installed by including the ‘discovery’ extra, as in:pip install pyonvif[discovery]For command-line usage instructions run:pyonvif -hHistory1.1 (2020-04-16)Improved command-line clientMajor refactoring1.0 (2017-05-25)First PyPI release (petri)
Package: pyonvista
pyonvistaA tiny python wrapper to the non-public onvista.de REST-Api.As the API is not public user shall assume that the usage of this package harms the
website user agreements. However, this version now avoids any web scrapping for metadata.You can search for an instrument and get its quote data.
The quote data can be limit by resolution and date.The wrapper now also works with instruments other than stocks. Also for example data from ETF
can be requested.Im not planing to add other API Endpoints at the moment as long as nobody gives me a good reason for this.Additionally the wrapper now is asynchronous. User should be aware of asyncio or async programming.Installationpip install pyonvistaUsageimportasyncioimportaiohttpimportpprintfrompyonvistaimportPyOnVistaasyncdefmain():client=aiohttp.ClientSession()api=PyOnVista()awaitapi.install_client(client)asyncwithclient:instruments=awaitapi.search_instrument("VW")instrument=awaitapi.request_instrument(instruments[0])quotes=awaitapi.request_quotes(instrument,)pprint.pprint(instrument)pprint.pprint(quotes[:3])# prints a lot of information of VW Stonk# try a etfinstruments=awaitapi.search_instrument(key="IE00B42NKQ00")quotes=awaitapi.request_quotes(instruments[0])pprint.pprint(quotes[0].instrument)awaitclient.close()awaitasyncio.sleep(.1)if__name__=='__main__':asyncio.run(main())
Package: pyOnvotar
pyOnVotar Library.pyOnvotar wraps as a pypi installable lib all code for onVotar botsFree software: MIT licenseDocumentation:https://pyOnvotar.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2017-09-29)First release on PyPI.
Package: pyonwater
pyonwaterEyeOnWaterclient libraryThe usage example:"""Example showing the EOW Client usage."""

import asyncio

import aiohttp

from pyonwater import Account, Client


async def main() -> None:
    """Main."""
    account = Account(
        eow_hostname="eyeonwater.com",
        username="your EOW login",
        password="your EOW password",
    )
    websession = aiohttp.ClientSession()
    client = Client(websession=websession, account=account)

    await client.authenticate()

    meters = await account.fetch_meters(client=client)
    print(f"{len(meters)} meters found")
    for meter in meters:
        # Read meter info
        await meter.read_meter_info(client=client)
        print(f"meter {meter.meter_uuid} shows {meter.reading}")
        print(f"meter {meter.meter_uuid} info {meter.meter_info}")

        # Read historical data
        await meter.read_historical_data(client=client, days_to_load=3)
        for d in meter.last_historical_data:
            print(d)

    await websession.close()


loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Package: pyoocass
pyoocassPython Obect Oriented approach to Cassandra compliant document storesClassesDatabaseThis class represents the Database object, meaning a cluster or serverles service from a cloud provider.AttributesAttribute NameTypeDefault ValueDescriptionnodeslistempty listList of nodes/endpoints to connect toportint9042Port to connect to Cassandra/Keyspacesuserstr""Username to connect (can be ommited if auth_provider is provided in the Constructor)passwordstr""Password to connect (can be ommited if auth_provider is provided in the Constructor)certstrNonePath to certificate if SSL is requiredauth_providerClassNoneAn instance of any cassandra.auth classes or SigV4AuthProvider from cassandra_sigv4.authretriesint5Internal retries value for improved reconnections policytimeoutint15Internal retries value for custom timeout times in the policyMethods__init__Parameter nameTypeRequiredDefault ValueDescriptionnodeslistYesNoneList of cassandra cluster nodes/endpointsportintNo9042Port to connect to Cassandra/KeyspacesuserstrNoNoneUsername to connect (can be ommited if auth_provider is provided in the Constructor)passwordstrNoNonePassword to connect (can be ommited if auth_provider is provided in the Constructor)certstrNoNonePath to certificate if SSL is requiredauth_providerClassNoNoneAn instance of any cassandra.auth classes or SigV4AuthProvider from cassandra_sigv4.authconnectKeysapceNOT IMPLEMENTED YETAttributesAttribute NameTypeDefault ValueDescriptiondatabaseClassNoneA pyoocass.Database instancenamestr""Name for the keyspace within the Cassandra DBMethodsTableNOT IMPLEMENTED YETAttributesAttribute NameTypeDefault ValueDescriptionkeyspaceClassNoneA pyoocass.Keyspace instancenamestr""Name for the keyspace within the Cassandra DBMethodsCode Examples
Package: pyood
StreamOutlierDetectorDetect outliers of sequence in stream.In this project we have some assumption:This project works online that means has no idea about the future dataThis project forget older data (more than size of sample array)If more than half of sample array be in outlier then this project assume the majority is not outlier and calculate outlier detection for the sample againUsageinstallpipinstallpyood
pipinstall--upgradepyood# if you want update packageHow use itfrompyoodimportOutlierDetectoroutlier_detector=OutlierDetector(bound_factor_standard_deviation=3,window_size=20,size_initial_ignore=10)is_outlier=outlier_detector.push(your_value)if you want, you can use it with callback functionfrompyoodimportOutlierDetectordefresult(is_outlier):print(is_outlier)outlier_detector=OutlierDetector(bound_factor_standard_deviation=3,window_size=20,size_initial_ignore=10)is_outlier=outlier_detector.push(value=your_value,callback=result)Helpbound_factor_standard_deviationis the factor that multiple with standard deviation.|value - mean| > bound_factor_standard_deviation * satandard deviationis the outlier.window_sizeis the size of array is effective for finding outlier.first_learning_numberis the number of first value we ignore and learn from them.Warning ⚠if the outlier be in the firstfirst_learning_numberwe return it is not outlier and more dangerous we learn it and ruined the mean and variance for a whileResultI test this class and show the functionality of it on a chart.❌ are the outliers we detect.🔵 are the normal values.-are the bound of outlier detection.Without boundWith bounds
Package: pyo-oracle
pyo_oraclePython interface for the Bio-ORACLE ERDDAP serverQuick startimportpyo_oracle# List available layers in the Bio-ORACLE serverpyo_oracle.list_layers()# Define constraints and download a layerconstraints={"time>=":"2000-01-01T00:00:00Z","time<=":"2010-01-01T12:00:00Z","time_step":100,"latitude>=":0,"latitude<=":10,"latitude_step":100,"longitude>=":0,"longitude<=":10,"longitude_step":1}pyo_oracle.download_layers("thetao_baseline_2000_2019_depthsurf",constraints=constraints)# See local datapyo_oracle.list_local_data()Installation# With condacondacreate-npyo_oracleconda-forge::pyo-oracle# or with pippipinstallpyo-oraclePlease open an issue if you experience any problems. More documentation coming soon!
Package: pyoorb
OpenOrb (or OOrb), an open-source orbit-computation package.IntroductionOOrb contains, e.g., the statistical orbital ranging method (hereafter
referred to as Ranging). Ranging is used to solve the orbital inverse
problem of computing non-Gaussian orbital-element probability density
functions (p.d.f.s) based on input astrometry.Ranging is optimized for cases where the amount of astrometry is
scarce or spans a relatively short time span. Ranging-based methods
have successfully been applied to a variety of different topics such
as rigorous ephemeris prediction, orbital-element-distribution studies
for trans-neptunian objects, the computation of invariant collision
probabilities between NEOs and the Earth, detecting linkages between
astrometric asteroid observations within an apparition as well as
between apparitions, and in the rigorous analysis of the impact of
orbital arc-length and/or astrometric uncertainty on the uncertainty
of the resulting orbits.In OOrb, tools for making ephemeris predictions and classification of
objects (i.e., NEO-MBO-TNO) are also available.Documentation on usage and installation is available on theoorb wiki.Citation informationWhen using this software please citeGranvik, M., Virtanen, J., Oszkiewicz, D., Muinonen, K. (2009).
OpenOrb: Open-source asteroid orbit computation software including statistical ranging.
Meteoritics & Planetary Science 44(12), 1853-1861.Licensing informationOpenOrb is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.OpenOrb 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 receive a copy of the GNU General Public License along
with OpenOrb. If not, seehttp://www.gnu.org/licenses/.
Package: pyopa
This python package provides a fast implementation to computeoptimal pairwise alignments of molecular sequencesML distance estimates of pairwise alignments.The implementation usesFarrar’s algorithm <http://bioinformatics.oxfordjournals.org/content/23/2/156.abstract>_to compute the optimal pairwise alignment using SSE vectorization operations.
This package implements the Smith-Waterman and Needleman-Wunsch algorithm to
compute the local and global sequence alignments.Exampleimportpyopalog_pam1_env=pyopa.read_env_json(os.path.join(pyopa.matrix_dir(),'logPAM1.json'))s1=pyopa.Sequence('GCANLVSRLENNSRLLNRDLIAVKINADVYKDPNAGALRL')s2=pyopa.Sequence('GCANPSTLETNSQLVNRELIAVKINPRVYKGPNLGAFRL')# super fast check whether the alignment reaches a given min-scoremin_score=100pam250_env=pyopa.generate_env(log_pam1_env,250,min_score)pyopa.align_short(s1,s2,pam250_env)
Package: pyopdll
Welcome to pyopdll项目简介pyopdll是开源项目OP(operator & open)的Python接口,
内部封装了op_x64.dll和op_x86.dll,支持32位和64位Python3OP(operator & open)Windows消息模拟，常见的键盘消息和鼠标消息模拟。支持常见的截图方式，gdi,dx（包括d3d9,d3d10,d3d11),opengl截图，支持常见模拟器（雷电，夜神）的最小化截图找色找图,支持偏色，支持模糊识别字符识别(OCR),最大支持255 X 255 超大点阵，支持偏色，支持模糊识别，支持系统字库，兼容大漠字库插件有32位和64位版本，支持32/64位绑定项目完全开源,无后门无病毒，可放心使用项目地址OP(operator & open)pyopdllpyopdll文档安装pip install pyopdll快速开始import time
from pyopdll import OP

if __name__ == '__main__':

op = OP()

print(op.GetCursorPos())

# 打印注册路径
path = op.GetBasePath()
print(path)

# 打印坐标颜色
print(op.GetColor(2,2))

# 取消注册
# op.Un_reg()

# 运行本地程序
# op.RunApp(r"C:\Program Files (x86)\Xianghu\CCtalk\CCtalk.exe",0)


# 窗口句柄就是一个int类型的数字
# 获取鼠标指向的窗口句柄
hwnd = op.GetMousePointWindow()
print(hwnd)
# 打印窗口大小
print(op.GetClientSize(hwnd))
# 打印窗体标题栏
print(op.GetWindowTitle(hwnd))

# 获取在前台的窗口的句柄
print(op.GetForegroundWindow())

# 寻找记事本的句柄
# 标题需要严格一致才可找到
txt_hwnd=op.FindWindow("","新建文本文档.txt - 记事本")
print(txt_hwnd)
# 打印程序路径
print(op.GetWindowProcessPath(txt_hwnd))
# 最大化指定窗口,同时激活窗口.
print(op.SetWindowState(txt_hwnd,4))
# 使记事本窗口移动
op.MoveWindow(txt_hwnd, 10, 10)

# 拖拽
op.MoveTo(300,50)
op.LeftDown()
for i in range(100):
    time.sleep(0.01)
    op.MoveR(1,0)
op.LeftUp()

# 获取标题还有.py的所有句柄
# 注意：返回的是str，但句柄必须是int类型，要强行转化
hwnd_str_list=op.EnumWindow(0,".py","",1+2+4+8).split(",")
print(hwnd_str_list)
for hwnd in hwnd_str_list:
    print(op.GetWindowClass(int(hwnd)))
    print(op.GetWindowProcessPath(int(hwnd)))
    print(op.GetWindowTitle(int(hwnd)))
    # 全部移动
    # op.MoveWindow(int(hwnd),100,100)

# 推荐相对移动
op.MoveR(100, 100)键盘代码key_str虚拟键码"1",49"2",50"3",51"4",52"5",53"6",54"7",55"8",56"9",57"0",48"-",189"=",187"back",8"a",65"b",66"c",67"d",68"e",69"f",70"g",71"h",72"i",73"j",74"k",75"l",76"m",77"n",78"o",79"p",80"q",81"r",82"s",83"t",84"u",85"v",86"w",87"x",88"y",89"z",90"ctrl",17"alt",18"shift",16"win",91"space",32"cap",20"tab",9"~",192"esc",27"enter",13"up",38"down",40"left",37"right",39"option",93"print",44"delete",46"home",36"end",35"pgup",33"pgdn",34"f1",112"f2",113"f3",114"f4",115"f5",116"f6",117"f7",118"f8",119"f9",120"f10",121"f11",122"f12",123"[",219"]",221"\",220";",186"'",222",",188".",190"/",191