Saravanan666/pypi-org huggingface dataset:
Package: iostatexporter-tspspi
Simple Python I/O statistic exporter for Prometheus on FreeBSDThis is a simpleiostatexporter as provider for thePrometheus  time series database
and monitoring systemwritten in Python. It uses
theprometheus-clientPython
package to do the main work of running the webservice and managing the gauges.
It's just a wrapper that periodically callsiostatto gather information
about disk I/O which is then provided on the specified TCP port where it's
collected by Prometheus at the specified scrape interval. This scraper
usesiostatto query the parametersthus it only works on FreeBSD, not on Linux.Since this exporter scrapes the output of the CLI tools it may break with
any software update and might only work with particular versions of those
tools. It has been tested on:FreeBSD 11.2FreeBSD 12.2FreeBSD 12.3Exported metricsFor each disk the following parameters are exposed (using the device filename
as label):Reads per second (iostat_rs)Writes per second (iostat_ws)Kilobytes read per second (iostat_krs)Kilobytes written per second (iostat_kws)Milliseconds per read (iostat_msr)Milliseconds per write (iostat_msw)Milliseconds per operation (iostat_mso)Milliseconds per transaction (iostat_mst)Queue length (iostat_qlen)Busy percentage (iostat_busy)InstallationThe package can either be installed from PyPIpip install iostatexporter-tspspior form a package downloaded directly from thetar.gzorwhlfrom
thereleases:pip install iostatexporter-tspspi.tar.gzrc.dinit scriptIn addition the exporter can be launched on boot and configured from/etc/rc.confusing an rc.init script. A simple implementation can be found in thercd/iostatexporterscript. This script can be copied to/usr/local/etc/rc.d/iostatexporter. Then one
can perform basic configuration fromrc.conf:iostatexporter_enable="YES"
iostatexporter_port="9250"
iostatexporter_loglevel="error"Usageusage: iostatexporter [-h] [-f] [--uid UID] [--gid GID] [--chroot CHROOT]
                      [--pidfile PIDFILE] [--loglevel LOGLEVEL]
                      [--logfile LOGFILE] [--port PORT] [--interval INTERVAL]

Iostat exporter daemon

optional arguments:
  -h, --help           show this help message and exit
  -f, --foreground     Do not daemonize - stay in foreground and dump debug
                       information to the terminal
  --uid UID            User ID to impersonate when launching as root
  --gid GID            Group ID to impersonate when launching as root
  --chroot CHROOT      Chroot directory that should be switched into
  --pidfile PIDFILE    PID file to keep only one daemon instance running
  --loglevel LOGLEVEL  Loglevel to use (debug, info, warning, error,
                       critical). Default: error
  --logfile LOGFILE    Logfile that should be used as target for log messages
  --port PORT          Port to listen on
  --interval INTERVAL  Interval in seconds in which data is gathered
Package: iostream
iostream for python version 7.1.2(updated 2020/2/18)
Pypi DOES NOT support utf-8!
Use ANSI!
Just discovered that I had a Pypi account! :)
c++ functions for python, like cin(......)  ):
Very boring, Снлф Иднфе.
Official Website:http://www.cubie.xyz:1228(port 1228, available when my computer is on)
Give up Python, and start using c++ or Java :)
Node.js and C# are also powerful
Ich bin jetzt html, javascript, C#, sql(maybe), c++, python3, java, ue4(ja), Assembly(?) lernen.
↑That's impossible
Make sure you have a copy of chromedriver.exe
CPP:
#include
Asm:
assume ds:datasg
datasg segment
DWORD "iostream"
datasg ends
Java:
import java.io.stream(???)
Python:
import iostream
C#:
using System.iostream
Tschüss!
Package: iosxr-eznc
~~~ ABOUT ~~~iosxr-eznc is a Python library to manage Cisco devices running IOS-XR using NETCONF and YANG models as per RFC 6020.~~ INSTALLATION ~~~YANG models are supported exclusively through version 1.1 of NETCONF, therefore at least version 0.5.2 of ncclient is required.Requirements:version >= Python 2.6 or Python3ncclient 0.5.2+pyangInstall via pip:pip install ncclient~~ USAGE ~~~Firstly make sure that netconf-yang is enabled on the device:# netconf-yang agent sshConnect to the device:from pprint import pprintfrom iosxr_eznc import Devicedev = Device(host='edge01.bjm01', user='netconf', password='!Love105-XR')dev.open()pprint(dev.facts){'description': u'ASR 9904 2 Line Card Slot Chassis with V2 AC PEM','domain': u'cloudflair.net','fqdn': 'edge01.bjm01.cloudflair.net','hostname': u'edge01.bjm01','model': u'ASR-9904-AC','os_version': u'6.0.1','personality': 'ASR','serial': u'FOX19W00F01','slots': [u'RSP0', u'RSP1'],'uptime': 1471641.873581,'virtual': False}dev.close()~~ LICENSE ~~~Copyright 2016 CloudFlare, Inc.Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Package: iota_balance_change_alert
IOTA Balance Change AlertIOTA Balance Change Alert checks the balance on one or more addresses at a specified interval and alerts the user if there’s any change in balance.Free software: MIT licenseDocumentation:https://iota-balance-change-alert.readthedocs.io.FeaturesUsers can be alerted via text message, email, popup or system soundInstallationTo install IOTA Balance Change Alert, run this command in your terminal:$pipinstalliota_balance_change_alert$mkdir$HOME/.ibca&&wgethttps://raw.githubusercontent.com/plenarius/iota_balance_change_alert/master/config.ini.example-O$HOME/.ibca/config.iniIf you want to be informed via text message you need to sign up for a free Twilio acccount athttps://www.twilio.comand get their python library$pipinstalltwilioUsageMake sure to edit your config.ini to include your desired IOTA addresses and methods of alert. You do not need to specify the location of your config file if it’s installed in $HOME/.ibca/config.ini.$iota_balance_change_alert--configpath/to/config.iniCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.3 (2018-08-02)Bump cryptography requirement due to security vulnerability0.1.2 (2017-12-23)Minor bugfix to email notificationsAdded some more documentation0.1.1 (2017-12-11)First release on PyPI.0.1.0 (2017-12-11)First release on github.
Package: iota-client
IOTA Client Library - Python bindingPython binding to the iota.rs client library.RequirementsPython 3.x&pipRustandCargo, to compile the binding. Install themhere.InstallationGo toiota.rs/bindings/pythonCreate a virtual environment and use it (optional)python3 -m venv iota_client_venvsource iota_client_venv/bin/activate; Windows:.\iota_client_venv\Scripts\activateInstall required dependencies and build the wheelpip install -r requirements-dev.txtpip install .Run examplespython3 examples/[example file]Example:python3 examples/00_get_info.pyTo deactivate the virtual environment (optional)deactivateGetting StartedAfter you installed the library, you can create aIotaClientinstance and interface with it.fromiota_clientimportIotaClient# Create an IotaClient instanceclient=IotaClient({'nodes':['https://api.testnet.shimmer.network']})# Get the node infonode_info=client.get_info()print(f'{node_info}')Build docspydoc-markdown -p iota_client > ../../../documentation/docs/libraries/python/api_reference.md
Package: iotaescrow
ContextThis tool is showcased in the projectIotaWorkshopSummaryThis is both a cli and a libaray that can be imported and used. The purpose of this libary is to create a escrow address, hold IOTAs until a condition is met, then release the funds and optimally take a fee.InstallationSimply install from the pip repository,pip install iotaescrowCommand Line Utility ExamplesRun the command, possibly as sudo,iotaescrow 100 7 #Requesting 100IOTA as a deposit and will take a 7IOTA fee
Package: iota_mnemonic
IOTA MnemonicThis is a command line tool to help user generate IOTA seed from Bitcoin
BIP39 mnenomicsInstall$ pipenv install iota_mnemonicTo install IOTA mnemonic, simply run this simple command in your
terminal of choice:$ pipenv install iota_mnemonicGet the source codeYou can clone the source code from repository:$ git clone https://github.com/mlouielu/iota-mnemonicHow to use# Generate 24 words mnemonic and IOTA seed
$ python -m iota_mnemonic
Mnemonic: come grocery cube calm void liberty increase pigeon captain appear employ among
float fancy cargo faith seek buzz argue lift agent split bachelor judge
IOTA Seed: RTWTRPAEGJQFRWAYTIJTKWZKLN9K9VRUETFSIPUAUCLKPNNSNWAKTOXBWSCPQVNNWDLTEIPMILIOVPGIX

# Generate mnemonic with passphrase
$ python -m iota_mnemonic -p TREZOR
Mnemonic: limit about defy sail base useless soul album aim border celery false asset average
romance attract lonely track hope sun afford creek dignity couple
IOTA Seed: LIPSSXDAJQRLBPTTBQTPTYBMUSTJPXWGYBKLSSBDVKPVEAXDGPZXOWPMEGRNSHTJXIUVCXYFTOXMZKIMY

# Generate 12 words mnemonic with passphrase
$ python -m iota_mnemonic -s 128 -p TREZOR
Mnemonic: broccoli merry lucky milk lizard cannon area utility jelly click bag clever
IOTA Seed: YNONELPCFBKQDDQMIBBBGJDZODCKXEBIJIMXRUGBA9AOPJEQ9SYYLGID9IXHILWVVDJ9ZEGQHCGIHQ9TB

# Genreate mnemonic with japanese
$ python -m iota_mnemonic -l japanese
Mnemonic: こいぬ　ようちえん　むせん　いんさつ　しなもの　ふのう　かわく　ひかり　はいけん
そんしつ　たたかう　ちいさい　そうめん　つうわ　にんげん　とおす　さみだれ　かまぼこ
らくだ　さずかる　ふとる　とんかつ　きびしい　ひつぜん
IOTA Seed: ISBAFGB9LBGOQYGKKMMNK9APICZCGWIJHCMLOLPAQITGSSIGBJJOYQZJJ9NNGYIJLFB9ORMJGCWFFFYQZ

# Output the mnemonic to file
$ python -m iota_mnemonic -p TREZOR -o mnemonic

# Recover seed from mnemonic
$ python -m iota_menmonic -p TREZOR -f mnemonic
Mnemonic: often various act decide tongue sausage summer wall priority knock finish until
taxi robot panic toward giraffe acid avocado anchor travel kiwi actress cream
IOTA Seed: CRGFVETUFKUQYTPTEH9TP9BDKBVZLG9UZJDZBDMMFSSCUPIATPEZMKBLKXOEKCRDFHHFNCCBF9SKHNYIAHow it works?To create IOTA seed from the mnemonic, we use IOTA Kerl function with a
mnemonic sentence (in UTF-8 NFKD) used as the password and the string
“mnemonic” + passphrase (again in UTF-8 NFKD) used as the salt.To get a valid tryte hash, we concat salt and mnemonic sentence, and
load intoiota.Hashbyfrom_stringfunction.from_stringwill encode UTF-8 NFKD into bytes, then convert bytes into IOTA hash.Using each hash, we then use hash trits and Kerl to absorb and squeeze:trits=[]sponge=iota.crypto.kerl.Kerl()forwordinmnemonic:hash=iota.Hash.from_string(f'mnemonic{passphrase}{word}')hash_trits=hash.as_trits()k=iota.crypto.kerl.Kerl()k.absorb(hash_trits)k.squeeze(hash_trits)sponge.absorb(hash_trits)sponge.squeeze(trits)returniota.Hash.from_trits(trits)
Package: iotanalyzer
IoTAnalyzerIoTAnalyzer is an open-source IoT device management toolkit that can help smart home owner, Internet Service Providers (ISPs), and researchers to automatically monitor smart home IoT devices, and analyze potential security and privacy vulnerabilities.InstallationRun the following to install:pipinstalliotanalyzerUsageMachine Learning Classifierfromiotanalyzerimportclassifierc=classifier
Package: iotanbo-py-utils
InstallationYou can installIotanbo Python UtilitiesviapipfromPyPI:$pipinstalliotanbo_py_utilsUsageThis package was initially intended for internal usage.
See the API reference for more information.LicenseDistributed under the terms of theMIT license,Iotanbo Python Utilitiesis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.
Package: iotapay
Python library to Pay using IOTASetupInstall the library:pip install iotapayImport package:from iotapay.iotapay import IotapayInitialize:Iotapay('https://url:14265','TWQH9ETUWNDTRHSQVNLOSFMSTQLHRTZQGDTFUHEKRNPVDRQGHQEARNLSXXCXGICCVWBQHOHWPYZSHJYTC')Basic functionsGet Balancepay =Iotapay('https://url:14265','YOUR SEED')Retrieve balance:pay.get_balance({})Paydata = {'json_data': {'version':'0.0.9',},'tag': 'ACYCLICIOTAPAYLIOTA99999999', 'to_address': 'ADDRESS', 'amount': 10}Pay :pay.pay(data)More Functions coming soon.NOTE: Please, use properiota node url,ADDRESSand yourSEEDto initialise.
Package: iota-sdk
IOTA SDK Library - Python bindingPython binding to theiota-sdk library.Table of contentsIOTA SDK Library - Python bindingTable of contentsRequirementsGetting StartedInstall the IOTA SDK via pipInstall the IOTA SDKClientWalletExamplesAPI ReferenceLearn MoreRequirementsPython 3.9+pip ^21.xRustandCargoto compile the binding. Install
themhere.Getting StartedInstall IOTA SDK via pip(optional) Create a virtual environment and use it. On Linux and macOS, you can run the following commands:python3-mvenvenvsourceenv/bin/activateIf you are using Windows, you should run the following instead:python3-mvenvenv
.\env\Scripts\activateInstall the IOTA-SDK using pip:pipinstalliota-sdk(optional) If you want to deactivate the virtual environment, run the following command:deactivateInstall the IOTA SDKMove to the Python bindings directory:cdiota-sdk/bindings/python(optional) Create a virtual environment and use it. On Linux and macOS, you can run the following commands:python3-mvenvenvsourceenv/bin/activateIf you are using Windows, you should run the following instead:python3-mvenvenv
.\env\Scripts\activateInstall the required dependencies and build the wheel by running the following commands:pipinstall-rrequirements-dev.txt
pipinstall.(optional) If you want to deactivate the virtual environment, run the following command:deactivateClient UsageThe following example creates a Client instance connected to the Shimmer Testnet, and retrieves the node's information by callingClient.get_info(), and then print the node's information.examples/client/getting_started.pyWallet UsageThe following example will create a new Wallet Account  using a StrongholdSecretManager, and then print the account's information.examples/wallet/getting_started.pyExamplesYou can use the provided codeexamplesto acquainted with the IOTA SDK. You can use the following command to
run any example:python3example/[examplefile]Where[example file]is the file name from the example folder. For example:python3examples/client/00_get_info.pyAPI ReferenceYou can find the API reference for the Python bindings in theIOTA Wiki.Learn MoreTo learn more about Rust, see theRust documentation.
Package: iota-wallet
IOTA Wallet Library - Python bindingPython binding to the iota.rs wallet library.RequirementsPython 3.x&pipRustandCargo, to compile the binding. Install themhere.InstallationGo towallet.rs/bindings/pythonCreate a virtual environment and use it (optional)python3 -m venv iota_wallet_venvsource iota_wallet_venv/bin/activate; Windows:.\iota_wallet_venv\Scripts\activateInstall required dependencies and build the wheelpip install -r requirements-dev.txtpip install .Run examplespython3 example/[example file]Example:python3 examples/0-create-account.pyTo deactivate the virtual environment (optional)deactivateGetting StartedAfter you installed the library, you can create aIotaWalletinstance and interact with it.fromiota_walletimportIotaWallet,StrongholdSecretManager# This example creates a new database and accountwallet_options={'nodes':['https://api.testnet.shimmer.network'],}# Shimmer coin typecoin_type=4219secret_manager=StrongholdSecretManager("wallet.stronghold","some_hopefully_secure_password")wallet=IotaWallet('./alice-database',wallet_options,coin_type,secret_manager)# Store the mnemonic in the Stronghold snapshot, this only needs to be done onceaccount=wallet.store_mnemonic("flame fever pig forward exact dash body idea link scrub tennis minute "+"surge unaware prosper over waste kitten ceiling human knife arch situate civil")account=wallet.create_account('Alice')print(account)Generate API ReferencesYou can generate the python API reference with the following command from this directory:pydoc-markdownCustomize the OutputPydoc-markdown automatically loads its configuration from thepydoc-markdown.ymlfile. You can
override it with theCLI, or alter the values.loaders:-type:pythonprocessors:-type:filterskip_empty_modules:true-type:smart-type:crossrefrenderer:type:docusaurusdocs_base_path:../../documentation/docs/references/relative_output_path:pythonmarkdown:use_fixed_header_levels:trueheader_level_by_type:Module:1Class:2Method:3Function:3Data:3
Package: iot-beewipy
BeewiPyA python library to interact with Beewi SmartBulb.SmartBulb is a series of Smart LED color bulbs manufactured by Beewi. These bulbs are controlled using BTLE (Bluetooth Low Energy) and the vendor provides an Android app to interact with the bulbs.This library has been tested with BeeWi BBL229.Getting startedSoon there will be a documentation section but meanwhile you can start here.PrerequisitesAny linux distributionPython 3- this library requires the use of Python 3.BluePy- this library relies on BluePy library made byIanHarvey.InstallationTo install this library you can do it usingpip install BeewiPyScanning for your deviceFirst of all you need to know the MAC address of your device, so start by getting this information. It can be done using several ways, the easiest one is looking it up on the app provided by BeeWi.Minimal working codefromBeewiPyimport*importtimeMAC_ADDRESS="00:00:00:00:00:00"# Here you should put the MAC address of your devicemyBulb=BeewiSmartBulb(MAC_ADDRESS)# This will create a new BeewiSmartBulb object and connect to the devicemyBulb.turnOn()# This will turn on your bulbtime.sleep(5)# This will wait 5 secondsmyBulb.turnOff()# This will turn off your bulbAuthorsKawakon QuansahLicenseThis project is licensed under the GNU General Public License v.3
Package: iotcaspy
[toc]iotcaspyIoTCAS的Python开源库。使用方法下载代码：$cd指定的目录/
$gitclonehttps://github.com/Yehrin/iotcaspy.git在自己的工程里导入模块：importsyssys.path.append('指定的目录/')fromIoTCASUtilsimportFileUtilsfromIoTCASUtilsimportPandasUtilsfromIoTCASUtilsimportUrlUtils
Package: iotccm-sdk
IoT CCM SDK for Python 3A Python 3 Software Development Kit for the Internet of Things Component Capability Model -NIST IR 8316.PrerequisitesPython 3 version 3.6 and laterGetting startedInstall the SDKFirst, install the SDK:from PyPi:pip install iotccm_sdklocally:pip install -e .orpython setup.py installExamplesfromiotccm_sdk.componentimportComponentcomp=Component("my_comp_1")comp.start()ContributingFor details on contributing to this repository, seeCONTRIBUTING.md.
Package: iotccsdk
Python SDK for AI Vision Developer KitThis library allows developer to control theQualcomm Visual Intelligence Platformfor hardware acceleration fo AI models to deliver superior inferencing performance.The library enables developers to easily combine the Vision AI DevKit withAzure IoT Edgeto deploy vision ML models and custom business logic from the cloud to the edge.UsageThe main class for controlling the camera is the CameraClient:fromiotccsdkimportCameraClientcamera_client=CameraClient.connect(username="admin",password="admin",ip_address=<cameraipaddress>)camera_client.configure_preview(resolution="1080P",encode="AVC/H.264",bitrate="1.5Mbps",display_out=1)camera_client.set_preview_state("on")rtsp_stream_address=camera_client.preview_urlFor more complete code examples see the samples folder in the project GitHub repositoryhttps://github.com/microsoft/vision-ai-developer-kit.Release History0.1.4 (2019-06-19)Update project metadata and readme0.1.0 (2019-06-19)Project creation
Package: iotcore
Iotcore - Python MQTT Broker and IoT Features for Django and FastAPIThe project aims to give full support for mqtt broker and related apis. The internals of the mqtt server is  written inRust using popular Tokio framework. Motive of the project is to avoid the GIL limitation of python and bring all the  fun features offered by rust.FeaturesFull-fledged configurable Tokio based MQTT brokerNo python GIL limitationAll Standard MQTT broker featuresZero extra setup required to run mqtt broker in you Django and Fastapi projectMQTT client, with callback support for async or non-blocking applicationsand morePlanned FeaturesDevice supportSensor supportSensor data storageDjango based admin pagesDjango rest framework based APIs for managing devices and sensorsSSL certificates and policy managementInstallationpip install iotcoreCreate a new file called mqtt.toml in your root project directory and copy pase the sample mqtt.toml fromhttps://tomvictor.github.io/iotcore/config/FastAPI setupBroker onlyfromfastapiimportFastAPIfromiotcore.fastapiimportiotcore_brokerapp=FastAPI(lifespan=iotcore_broker)@app.get("/")defread_root():return{"Hello":"World"}Broker plus Mqtt clientfromfastapiimportFastAPIfromcontextlibimportasynccontextmanagerfromiotcoreimportIotCoreiot=IotCore()@asynccontextmanagerasyncdeflifespan(app:FastAPI):iot.background_loop_forever()yieldapp=FastAPI(lifespan=lifespan)@iot.accept(topic="temperature")deftemperature_data(request):print(f"Temperature data :{request}")defmqtt_callback(data):print(f"iot >:{data}")@app.get("/sub")defsub():iot.subscribe("iot",mqtt_callback)return{"response":"subscribed"}@app.get("/pub")defpub():iot.publish("temperature","{'temp': 18}")return{"response":"published"}@app.get("/")defhome():return{"Hello":"World"}Django Setupfromdjango.httpimportJsonResponsefromiotcoreimportIotCoreiot=IotCore()iot.background_loop_forever()defmqtt_callback(data):print(f"Django >:{data}")defsubscribe(request):iot.subscribe("iot",mqtt_callback)returnJsonResponse({"response":"subscribed"})defpublish(request):iot.publish("iot","demo")returnJsonResponse({"response":"published"})Now Connect to mqtt broker on localhostMQTT Port : 1883Run Example projectDjangopipinstalliotcore
pipinstalldjango

pythonexamples/django/manage.pyrunserverFastAPIpipinstalliotcore
pipinstallfastapi
pipinstalluvicorn

uvicornexamples.fastapi.main:appOpen you mqtt client and use below details to connect to the broker:Host:127.0.0.1orlocalhostPort:1883ContributeIssue Tracker: github.com/tomvictor/iotcore/issuesSource Code: github.com/tomvictor/iotcoreSupportStar the project on GitHub :)LicenseThe project is licensed under the MIT license.
Package: iotdasboard
# iot-dashboard# IoT: Platform for Internet of Things[![Gitter](https://badges.gitter.im/electrocoder/iot-dashboard.svg)](https://gitter.im/electrocoder/iot-dashboard?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)[![License](https://img.shields.io/badge/licence-Apache%202.0-brightgreen.svg?style=flat)](LICENSE)[![Build Status](https://travis-ci.org/Samsung/iotjs.svg?branch=master)](https://iothook.com/tr/)You can find project details on our [project page](https://iothook.com/) and [wiki](https://iothook.com/).<p align="center"><imgsrc="iotdashboard.png"border="0" alt="IOT HOOK"></p><br><p align="center">Fast Django server for IOT Devices</a></p>Features--------- Create a Django compatible server for iot devices- Create a Device for iot devices- Create a Channel for iot devices- Create a Element for iot devices- Simple interface.- Support for channel api keyRequirements------------- DjangoHow to get Django----------[Django](https://www.djangoproject.com/download/)Installing----------```git clone https://github.com/electrocoder/iotdashboard.git```Run---```./manage.py runserveror./manage.py runserver 0.0.0.0:8000```Test on HEROKU--------------```https://iotdashboard.herokuapp.com/```Contact-------Şahin MERSİN [@electrocoder](http://twitter.com/electrocoder)License-------Iotdashboard source code is available under the MIT [License](/LICENSE).