Saravanan666/pypi-org huggingface dataset:
Package: nest-thermostat
#nest_thermostat**a Python interface for the Nest Thermostat***fork of pynest by Scott M Baker, smbaker@gmail.com, http://www.smbaker.com/*##Installation`[sudo] pip install nest-thermostat`##Usage### ModuleYou can import the module as `nest_thermostat`. Use the source, luke!Tips: you need to manually call `.login()` first, and `.get_status()` before `.show_*()`### Command line```syntax: nest.py [options] command [command_args]options:--user <username>      ... username on nest.com--password <password>  ... password on nest.com--celsius              ... use celsius (the default is farenheit)--serial <number>      ... optional, specify serial number of nest to use--index <number>       ... optional, 0-based index of nest(use --serial or --index, but not both)commands:temp <temperature>         ... set target temperaturefan [auto|on]              ... set fan statemode [cool|heat|range|off] ... set fan stateaway                       ... toggle awayshow                       ... show everythingcurtemp                    ... print current temperaturecurhumid                   ... print current humiditycurmode                    ... print current modeexamples:nest.py --user joe@user.com --password swordfish temp 73nest.py --user joe@user.com --password swordfish fan auto```---*Chris Burris's Siri Nest Proxy was very helpful to learn the Nest's authentication and some bits of the protocol.*
Package: nestview
NestViewExplore nested structures in Python at various levels of granularity.Examplesfrom nestview import nestviewfromnestviewimportnestviewnested_struct={"orders":[{"id":"id1","quantity":43,"product":{"id":"prodId1","name":"Prod 1","desc":"Description",},},{"id":"id2","quantity":12,"product":{"id":"prodId1","name":"Prod 1","desc":"Description",},},{"id":"id3","quantity":3,"product":{"id":"prodId2","name":"Prod 2","desc":"Description",},},{"id":"id4","quantity":2,"product":{"id":"prodId1","name":"Prod 1","desc":"Description",},},{"id":"id5","quantity":4,"product":{"id":"prodId1","name":"Prod 1","desc":"Description",},},]}print(nestview(nested_struct))gives{'orders': '[25]'}For the same structure with more details:print(nestview(nested_struct, level=2))gives{'orders': ['{5}', '{5}', '{5}', '{5}', '{5}']}
Package: net2cell
For any given networks that meet theGMNSstandard, net2cell helps users automatically build
mesoscopic and lane-by-lane cell-based microscopic transportation networks to accommdate different
modelling needs. For a quick start, users are recommended to useosm2gmnsto quickly
get a macroscopic fromOpenStreetMap(OSM). osm2gmns helps users easily convert the OSM map data
to node and link network files in the GMNS format.Installationpipinstallnet2cellSimple exampleGet hybrid networks>>>importnet2cellasnc>>>macro_net=nc.readMacroNet()>>>nc.generateHybridNets(macro_net)VisualizationYou can visualize generated networks usingNeXTAorQGis.
Package: netaccess
IITM-Netaccess-ApprovalPython code that utilizes the mechanize library for netaccess approval of the IIT Madras network from command lineInstallationQuick InstallationUse pip to install the package as followspipinstallnetaccessUsageTo perform a netaccess approval, run the following commandnetaccessor,netaccess-u<username>-p<password>Original AuthorCibin Joseph, Aerospace Engineering, IIT MadrasLicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for details
Package: net-access-whu
个人用登录武大校园网终端小工具(已经懒的开浏览器了….)安装$sudopipinstallnet-access-whu使用直接登录$net-access-whu-u2020301260064-phellflame配置文件登录$net-access-whu-clogin.jsonlogin.json文件格式
.. code:{
  "username": 2020301260064,
  "password": "hellflame"
}退出退出时许至少指定用户名，因为用户退出链接会以文本方式存储到系统临时目录(系统会自动清理)指定配置文件$net-access-whu-clogin.json-dlogout指定用户名$net-access-whu-u2020301260064-dlogout之后就等着查看返回消息就好了环境兼容python2linux, mac os, windows
Package: netacess
IITM-Netaccess-ApprovalPython code that utilizes the mechanize library for netaccess approval of the IIT Madras network from command lineInstallationQuick InstallationUse pip to install the package as followspipinstallnetaccessUsageTo perform a netaccess approval, run the following commandnetaccessor,netaccess-u<username>-p<password>Original AuthorCibin Joseph, Aerospace Engineering, IIT MadrasLicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for details
Package: netack
Thank you for downloading NetAck ^_^!!This package can be used for various network attacks. These attacks are basics and are meant for beginners to understand how certain attacking programmes work.This package contains the following tools:-1.) MAC changer
2.) Packet sniffer
3.) ARP Spoofer
4.) DNS Spoofer
5.) Code Injector
6.) File Intercepter
7.) Network ScannerThis package requires some prerequisites(scapy and netfilterqueue) that you can install by executing setup.py file.//NOTE :-To install netfilterqueue you need to execute these two commands on the terminal-→  apt-get install build-essential python-dev libnetfilter-queue-dev-→  pip3 install -U git+https://github.com/kti/python-netfilterqueueThis package will only run in linux and on python 3Change Log0.1.5 (27/11/220)NetfilterQueue Installation error fixed.
Package: netaddr
A Python library for representing and manipulating network addresses.Provides support for:Layer 3 addressesIPv4 and IPv6 addresses, subnets, masks, prefixesiterating, slicing, sorting, summarizing and classifying IP networksdealing with various ranges formats (CIDR, arbitrary ranges and
globs, nmap)set based operations (unions, intersections etc) over IP addresses
and subnetsparsing a large variety of different formats and notationslooking up IANA IP block informationgenerating DNS reverse lookupssupernetting and subnettingLayer 2 addressesrepresentation and manipulation MAC addresses and EUI-64 identifierslooking up IEEE organisational information (OUI, IAB)generating derived IPv6 addressesDocumentation:https://netaddr.readthedocs.io/en/latest/Source code repository:https://github.com/netaddr/netaddr/PyPI page:https://pypi.org/project/netaddr/Share and enjoy!
Package: netaddr2
Provides support for:Layer 3 addresses
    -----------------

    - IPv4 and IPv6 addresses, subnets, masks, prefixes
    - iterating, slicing, sorting, summarizing and classifying IP networks
    - dealing with various ranges formats (CIDR, arbitrary ranges and globs, nmap)
    - set based operations (unions, intersections etc) over IP addresses and subnets
    - parsing a large variety of different formats and notations
    - looking up IANA IP block information
    - generating DNS reverse lookups
    - supernetting and subnetting

    Layer 2 addresses
    -----------------

    - representation and manipulation MAC addresses and EUI-64 identifiers
    - looking up IEEE organisational information (OUI, IAB)
    - generating derived IPv6 addresses

    Documentation
    -------------

    http://netaddr.readthedocs.io/

    Changes
    -------

    For details on the latest changes and updates, see :-

    http://netaddr.readthedocs.io/en/latest/changes.html

    Requirements
    ------------

    Supports Python versions 2.5 through 3.6

    Share and enjoy!
Package: netallocation
netallocationnetallocation: Allocateflows,emissionsandcostsin optimizedPyPSAnetworksWhat is it?netallocationis a python package for allocating flows, losses, emissions and costs inPyPSApower systems. It provides various functions to trackwherepower flows originate from and how they flow through the network. This can then be used for carbon tracing and distributing costs among the market participants.netallocation was initially developed by theRenewable Energy GroupatFIASfor theNetAllok projectfinanced by theGerman Federal Ministry for Economic Affairs and Energy (BMWi).LicenceCopyright 2018-2022 Fabian Hofmann (FIAS), Markus Schlott (FIAS)netallocation is released as free software under theGPLv3, seeLICENSEfor further information.
Package: net-and-server-utils
net_and_server_utilsThe project aims at creating a library for following 7 functionalities using Python standard libraries only: -API to access various services via HTTP as a client. For example, downloadingdata or interacting with a REST-based API -> urlibAPI to implement a server that communicates with clients using the TCP Internet protocol -> socketserverAPI to implement a server that communicates with clients using the UDP Internet protocol -> socketserverAPI to generate a range of all the IP addresses that it represents (in a given range) for ipv4 and ipv6 you have a  CIDR network -> ipaddressAPI to control or interact with your program remotely over the network using a simple REST-based interface -> cgiAPI to execute functions or methods in Python programs running on remote machines -> xmlrpcAPI to implement a network service involving sockets where servers and clients authenticate themselves and encrypt the transmitted data using SSL - socketThe library with the above functionalities is published on PyPI and can be installed in your environment as: -pip3 install net-and-server-utilsThe structure of the repo is as follows: -src/docs - contains the html documentation created using sphinx. Open module.html in the browser to see the main page.src/net_and_server_utils - contains the code for various functionalities.tests - contains unit tests for the project.
Package: netapp-api
AboutThis is a human-made Python implementation of relevant parts of NetApp's
ZAPI.Supported SystemsCurrently, only DFM 6.3/6.4 and ONTAP is supported.Implemented FeaturesDFM:Events (just reading)ONTAP:Volumes (reading)Snapshots (reading)Locks (reading)ExamplesConnect to a server:s=Server(hostname="netapp-1234",username="admin",password="admin123")Get a secific event:event=s.events.single_by_id(13)Filter events:foreventins.events.filter(greater_than_id=13):print(event)Pagination is automatically handled via Python generators:foreventins.events.filter(max_records=4):print(event)# Will perform multiple queries under the hoodSetupmkvirtualenv netapp-api-pythonworkon netapp-api-pythonpip install -r requirements.txtpython setup.py developTestingSet the environment variables to a host running NetApp OCUMNETAPP_HOST,NETAPP_USERNAME, andNETAPP_PASSWORDand runpytest. To test ONTAP setONTAP_HOST, etc.Offline tests are enabled using Betamax, which records test data from
interaction with the servers and stores it in the cassettes
directory. One "cassette" is generated per test.Generating documentationDocumentation via Sphinx is available (more or less). You can generate
HTML documentation by going to /doc/ and enteringmake html.The generated documentation isavailable on GitHub pages.LicenseLicence version 3 (GPL Version 3), copied verbatim in the file "LICENSE".
In applying this license, CERN does not waive the privileges and immunities
granted to it by virtue of its status as Intergovernmental Organization
or submit itself to any jurisdiction.
Package: netapp-dataops-k8s
The NetApp DataOps Toolkit for Kubernetes is a Python library that makes it simple for developers, data scientists, DevOps engineers, and data engineers to perform various data management tasks within a Kubernetes cluster. Some of the key capabilities that the toolkit provides are the ability to provision a new persistent volume or data science workspace, the ability to almost instantaneously clone a volume or workspace, the ability to almost instantaneously save off a snapshot of a volume or workspace for traceability/baselining, and the ability to move data between S3 compatible object storage and a Kubernetes persistent volume.Refer to the documentation for a full list of available functionality.
Package: netapp-dataops-traditional
The NetApp DataOps Toolkit for Traditional Environments is a Python library that makes it simple for developers, data scientists, DevOps engineers, and data engineers to perform various data management tasks, such as provisioning a new data volume, near-instantaneously cloning a data volume, and near-instantaneously snapshotting a data volume for traceability/baselining. This Python library can function as either a command line utility or a library of functions that can be imported into any Python program or Jupyter Notebook.Refer to the documentation for a full list of available functionality.
Package: netarch
Dirtbags Netarch LibraryThis is a library for advancednetwork archaeology.It provides a heavily field-tested framework for
exploring unknown TCP-based protocols,
and room to grow these explorations into full-blown decoders.Get goingDocumentation sucks, sorry.
The way we go about things is to copydumbdecode.pyto a new file,
and start hacking onto it.
Package: netas-xmla-with-dax
olap.xmlaThis package is meant for accessing xmla datasources - seehttp://en.wikipedia.org/wiki/XML\_for\_AnalysisBuildingIn this directory, run:python setup.py buildTestingTests are done against the Mondrian, SSAS XMLA providers. The
testsDiscover module tests behavior with different XMLA providers with
the Discover command while testsExecute does the same with the Execute
command. Note that you likely need to modify the sources if you want to
test yourself since they contain specifics (namely the location of the
services and names of the data sources).ExampleHere is an example how to use it:importolap.xmla.xmlaasxmlap=xmla.XMLAProvider()# mondrianc=p.connect(location="http://localhost:8080/mondrian/xmla")# or ssas - note that thhis needs setup on an iis# also you'll probably need to authenticate using kerberos# from requests_kerberos import HTTPKerberosAuth# c = p.connect(location="https://my-as-server/olap/msmdpump.dll",#               sslverify="/path/to/my/as-servers-ca-cert.pem", auth=HTTPKerberosAuth())# getting info about provided dataprint(c.getDatasources())print(c.getMDSchemaCubes())# for ssas a catalog is needed, so the call would be like# get a catalogname from a call to c.getDBSchemaCatalogs()# c.getMDSchemaCubes(properties={"Catalog":"a catalogname"})# execute a MDX (working against the foodmart sample catalog of mondrian)cmd="""select {[Measures].ALLMEMBERS} * {[Time].[1997].[Q2].children} on columns,[Gender].[Gender].ALLMEMBERS on rowsfrom [Sales]"""res=c.Execute(cmd,Catalog="FoodMart")#return only the Value property from the cellsres.getSlice(properties="Value")# or two propsres.getSlice(properties=["Value","FmtValue"])# to return some subcube from the result you can# return allres.getSlice()# just the 4th columnres.getSlice(Axis0=3)# same as above, SlicerAxis is ignoredres.getSlice(Axis0=3,SlicerAxis=0)# return the data sliced at the 2nd and 3rd rowres.getSlice(Axis1=[1,2])# return the data sliced at the 2nd and 3rd row and at the 4th columnres.getSlice(Axis0=3,Axis1=[1,2])Using the procedural interface:importolap.xmla.xmlaasxmlap=xmla.XMLAProvider()c=p.connect(location="http://localhost:8080/mondrian/xmla")s=c.getOLAPSource()# import olap.interfaces as oi# oi.IOLAPSource.providedBy(s) == Trues.getCatalogs()s.getCatalog("FoodMart").getCubes()s.getCatalog("FoodMart").getCube("HR").getDimensions()s.getCatalog("FoodMart").getCube("HR").getDimension("[Department]").\getMembers()s.getCatalog("FoodMart").getCube("HR").getDimension("[Department]").\getMember("[Department].[14]")cmd="""select {[Measures].ALLMEMBERS} * {[Time].[1997].[Q2].children} on columns,[Gender].[Gender].ALLMEMBERS on rowsfrom [Sales]"""res=s.getCatalog("FoodMart").query(cmd)res.getSlice()NoteThe contained vs.wsdl originates from the following package:http://www.microsoft.com/en-us/download/confirmation.aspx?id=9388and
was subsequently modified (which parameters go in the soap header) to
work with the zeep.
Package: netas-zeep
A fast and modern Python SOAP clientHighlights:Compatible with Python 3.6, 3.7, 3.8 and PyPyBuild on top of lxml and requestsSupport for Soap 1.1, Soap 1.2 and HTTP bindingsSupport for WS-Addressing headersSupport for WSSE (UserNameToken / x.509 signing)Support for asyncio using the httpx moduleExperimental support for XOP messagesPlease see for more information the documentation athttp://docs.python-zeep.org/InstallationpipinstallzeepNote that the latest version to support Python 2.7, 3.3, 3.4 and 3.5 is Zeep 3.4, install viapip install zeep==3.4.0UsagefromzeepimportClientclient=Client('tests/wsdl_files/example.rst')client.service.ping()To quickly inspect a WSDL file use:python -m zeep <url-to-wsdl>Please see the documentation athttp://docs.python-zeep.orgfor more
information.SupportIf you want to report a bug then please first readhttp://docs.python-zeep.org/en/master/reporting_bugs.htmlPlease only report bugs and not support requests to the GitHub issue tracker.
Package: netatmoapi
netatmoapiThis is a simple Python 3 wrapper of the Netatmo Connect API.It contains user authentication and nearly the full functionality of the Netatmo Connect API.InstallationYou can install the library usingpip:pip install netatmoapiPreparationsNetatmo accountNetatmo Connect App (read more)At least one Netatmo deviceHow to use# import the APIfromnetatmoapiimportClientfromnetatmoapiimportStation# create a clientc=Client("xxxxxxxxxxxxxxxxxxxxxxxx",# client id"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",# client secret"user@mail","password",)# add a weather stationws=Station.Weather(c)# 'getstationsdata()' returns a <requests.Response object>print(ws.getstationsdata("70:ee:50:XX:XX:XX").text)# turn it into text using the '.text' attributeNoteThis isnotin any way an official software made by Netatmo. I've made this purely for personal use and decided to share it to the community.This is still a very early version and is still missing all the documentation. I would recommend only using this library if you know your way around Python classes. Feel free to edit the code to your needs.
Package: netatmo-client
Netatmo python clientThe python-netatmo-client repo contains a Python client library for Netatmo.InstallingSo far only source is the way of installing it:From sourcesTo build the library run :$pythonsetup.pyinstallHow to use itFirst of all you must declare yourownapplication and get yourclient idandclient secret.Build an instancefromnetatmo_client.clientimportNetatmoClientscopes=('read_station','read_thermostat','write_thermostat','read_camera')client_id='client id'client_secret='client secret'client=NetatmoClient(client_id,client_secret)Get the tokensThe library provides you two way of logging the clientGrant code processProviding that you declaredhttp://somewhere.org/callback/grant/codeas aredirect urion the netatmo site,
you may get your tokens using the grant code way with a code like follows.client=NetatmoClient('client-id','client-secret')scopes=('read_station','read_thermostat','write_thermostat','read_camera')redirect_uri='http://somewhere.org/callback/grant/code'grant_url=client.generate_auth_url(redirect_uri,'state-test',*scopes)sys.stdout\.write("Open the following url (%s), follow the steps and enter the code you will see in the navigation bar: "%grant_url)code=sys.stdin.readline()code=code.rstrip('\r\n')client.request_token_with_code(code,redirect_uri,*scopes)# use the apiprintjson.dumps(client.station.get_station_data())The user will be lead to the grant code process and return to your site with
a url such ashttp://somewhere.org/callback/grant/code?code=<yourcode>&state=state-test.
Then normally a webserver of yours handles theGETrequest, and exchanges the code using the sameredirect urias above.Client credentialsYou may also choose this process as follows:client=NetatmoClient('client-id','client-secret')scopes=('read_station','read_thermostat','write_thermostat','read_camera')client.request_token_with_client_credentials('username','password',*scopes)# use the apiprintjson.dumps(client.thermostat.get_thermostat_data())The api callsThe client defines three parts:common:get_measurepublic:get_public_datastation:get_station_datathermostat:get_thermostat_datacreate_new_scheduleset_therm_pointswitch_schedulesync_schedulewelcomeget_camera_pictureget_events_untilget_next_eventsget_home_dataget_last_event_ofadd_webhookdrop_webhookpingIssues and contributionsPlease submit issue/pull request.
Package: netatmo-geopy
Netatmo GeoPyPythonic package to access Netatmo CWS data.importnetatmo_geopyasnatlon_sw,lat_sw,lon_ne,lat_ne=6.5175,46.5012,6.7870,46.6058cws_recorder=nat.CWSRecorder(lon_sw,lat_sw,lon_ne,lat_ne)gdf=cws_recorder.get_snapshot_gdf()gdf.head()<style scoped>
     .dataframe tbody tr th:only-of-type {
         vertical-align: middle;
     }.dataframe tbody tr th {
     vertical-align: top;
 }

 .dataframe thead th {
     text-align: right;
 }
</style>
<table border="1" class="dataframe">
    <thead>
        <tr style="text-align: right;">
            <th></th>
            <th>2022-02-12T19:13</th>
            <th>geometry</th>
        </tr>
        <tr>
            <th>station_id</th>
            <th></th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <th>02:00:00:01:5e:e0</th>
            <td>6.6</td>
            <td>POINT (6.82799 46.47089)</td>
        </tr>
        <tr>
            <th>02:00:00:22:c0:c0</th>
            <td>4.9</td>
            <td>POINT (6.82904 46.47005)</td>
        </tr>
        <tr>
            <th>02:00:00:2f:0b:16</th>
            <td>3.5</td>
            <td>POINT (6.82516 46.47294)</td>
        </tr>
        <tr>
            <th>02:00:00:59:00:2a</th>
            <td>3.8</td>
            <td>POINT (6.84547 46.46779)</td>
        </tr>
        <tr>
            <th>02:00:00:52:ed:5a</th>
            <td>3.8</td>
            <td>POINT (6.87359 46.47067)</td>
        </tr>
    </tbody>
</table>nat.plot_snapshot(gdf)Seethe user guidefor a more thorough overview of netatmo-geopy.AcknowledgementsThis package was created withCookiecutterand thezillionare/cookiecutter-pypackageproject template.
Package: netaudio
DescriptionThis is a python program for controlling Dante network audio devices (and possibly others in the future). It's very early, so expect things to break or switches to change.  Use this at your own risk; it's not ready for anything other than a test environment and could make the devices behave unexpectedly. The first goal is to do everything that Dante Controller can do that would be useful for control of the devices from a command-line interface or within scripts.For more information, check out thegearspace discussion.FeaturesAVIO input/output gain controlAdd/remove subscriptionsCLIDisplay active subscriptions, Rx and Tx channels, devices names and addresses, subscription statusJSON outputSet device latency, sample rate, encodingSet/reset channel names, device namesmDNS device discoveryIn progressGather information from multicast traffic (make, model, lock status, subscription changes)Planned featuresAES67 device supportChange channel/device names without affecting existing subscriptionsChange/display device settings (AES67 mode)Client/server modesCommand promptControl of Shure wireless devices (Axient receiversandPSM transmitters)Signal presence indicatorStand-alone command APITUIWeb application UIXML output (such as a Dante preset file)InstallationTo install from PyPI on most systems, use pip or pipx:pipxinstallnetaudiopipinstallnetaudioTo install the package from a clone:pipxinstall--force--include-deps.Arch LinuxTo install from AUR, build the package withaur/python-netaudio.
For development, install the following packages:pacman-Scommunity/python-pipxcommunity/python-poetryMacOSFor development, install the following packages:brewinstallpipxpoetry
brewlinkpipxpoetryUsageTo run without installing:poetryinstall
poetryrunnetaudioThen runnetaudioDocumentationExamplesTechnical detailsTesting
Package: netbeacon
Use caseYou have a server in LAN. You want some client to connect to it but the client
does not know the address. So you run beacon on the server side and the client
will find it.Prerequisitespython 2.6+netifaces (optional)Downloadpackages athttp://pypi.python.org/pypi/netbeaconrepository athttps://github.com/dsiroky/netbeacon