Download Vpython Module Mac For Python 3.5

  1. Download Vpython Module Mac For Python 3.5 Full
  2. Download Vpython Module Mac For Python 3.5 Pdf
  3. Download Python 3 For Mac

An application interacts with the package primarily through the object model interface defined in the message sub-module. The application can use this API to ask questions about an existing email, to construct a new email, or to add or remove email subcomponents that themselves use the same object model interface. Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here. Python 3.5.4 was released on August 8th, 2017. Python 3.5.4 is the last 'bugfix' release of 3.5. The Python 3.5 branch has now entered 'security fixes only' mode; going forward, the only improvements made in the 3.5 branch. Sanic (19.9.0 Released 2019-10-12) - A Flask-like Python 3.5+ web server that's written to go fast. Spinne (1.0.1 Released 2014-05-17) - A simple, easy and fast micro web framework for python 3.x. Weblayer (0.4.3 Released 2011-02-03) - weblayer is a lightweight, componentised Python package for writing web applications. Mac doesn’t have a preinstalled package manager, but there are a couple of popular package managers you can install. For Python 3.5 with Macports, execute this command in a terminal: sudo port install py35-numpy py35-scipy py35-matplotlib py35-ipython +notebook py35-pandas py35-sympy py35-nose.

Latest version

Released:

Asynchronous Python API client for interacting with myStrom devices

Project description

Asynchronous Python API client for interacting with myStromdevices.

This module is not official, developed, supported or endorsed by myStrom AG.For questions and other inquiries, use the issue tracker in this repo please.

Without the support of myStrom AG it would have taken much longer to createthis module which is the base for the integration intoHome Assistant. myStrom AG has provided hardware.Their continuous support make further development of this module possible.

Requirements

You need to have Python installed.

  • myStrom device (bulb, plug or button)
  • The python-mystrom requirements
  • Network connection
  • Devices connected to your network

Installation

The package is available in the Python Package Index .

On a Fedora-based system or on a CentOS/RHEL machine which has EPEL enabled.

Plug/switch

At the moment the following endpoints are covered according https://api.mystrom.ch:

  • /report: for getting the current state and the power consumption
  • /relay: for setting the relay state

You will still be able to use your device with the smartphone application,curl or other tools. The samples below shows how to use the switch withhttpie and curl along with python-mystrom.

Bulb

If the bulb is on then you should be able to retrieve the current state ofthe bulb.

Browse to http://IP_ADDRESS_BULB/api/v1/device/MAC_ADDRESS_BULB or use acommand-line tool.

The bulbs are not able to handle payload formatted as JSON. It’s required touse application/x-www-form-urlencoded. Keep that in mind if something isnot working, especially around setting the color with HSV.

If you are planning to use your bulbs with Home Assistantset the bulb to a state from Colors with the app or use the command below.

Set State

You can set the state with a POST request and a payload.

  • on: curl -d 'action=on' http://IP_ADDRESS_BULB/api/v1/device/MAC_ADDRESS_BULB
  • off: curl -d 'action=off' http://IP_ADDRESS_BULB/api/v1/device/MAC_ADDRESS_BULB
  • toggle: $ curl -d 'action=toggle' http://IP_ADDRESS_BULB/api/v1/device/MAC_ADDRESS_BULB

Set Color RGB

One of the supported modes for setting the color is RBG.

  • white: $ curl -d 'color=FF000000' http://IP_ADDRESS_BULB/api/v1/device/MAC_ADDRESS_BULB
  • red: $ curl -d 'color=00FF0000' http://IP_ADDRESS_BULB/api/v1/device/MAC_ADDRESS_BULB
  • green: $ curl -d 'color=0000FF00' http://IP_ADDRESS_BULB/api/v1/device/MAC_ADDRESS_BULB
  • blue: $ curl -d 'color=000000FF' http://IP_ADDRESS_BULB/api/v1/device/MAC_ADDRESS_BULB

Set Color HSV (Hue, Saturation, Value)

It’s also possible to use HSV.

While “color=” is composed with hue, saturation, and value.

Set Mono (white)

If you only want to set the “white” color of the bulb, use mono.

“color=” contains the value for the color temperature (from 1 to 18) and thebrightness (from 0 to 100).

Dimming (ramp)

Add ramp and an interval to set up the transition time while changingcolors.

The unit of measurement for ramp is milliseconds (ms).

Button

The buttons can be set with the myStrom app or directly via HTTP requests.

To set the configuration the payload must contains the relevant details forthe actions:

$ curl -v-d'single=<url>&double=<url>&long=<url>&touch=<url>'http://IP_ADDRESS_BUTTON/api/v1/device/MAC_ADDRESS_BUTTON

Available actions:

  • single: Short push (approx. 1/2 seconds)
  • double: 2x sequential short pushes (within 2 seconds)
  • long: Long push (approx. 2 seconds)
  • touch: Touch of the button’s surface (only affective for the WiFiButton +)

The button is set up to extend the life span of the battery as much aspossible. This means that only within the first 3 minutes or when connectedto an USB port/USB charger and the battery is not full, the button is ableto receive configuration information or publish its details.

mystrom helper tool

The command-line tool mystrom can help to set up the buttons and get thedetails from bulbs and plugs.

The examples shows how to get the details of a given bulb.

Example usage of the module

The sample below shows how to use this Python module.

Examples for the bulb can be found in the directory examples.

License

python-mystrom is licensed under MIT, for more details check LICENSE.

Release historyRelease notifications | RSS feed

2.0.0

1.1.3

1.1.2

1.1.1

1.1.0

1.0.0

Download Vpython Module Mac For Python 3.5 Full

0.5.0

0.4.4

0.4.3

0.4.2

0.4.1

0.4.0

0.3.8

0.3.7

0.3.6

0.3.5

0.3.4

Download Vpython Module Mac For Python 3.5 Pdf

0.3.3

0.3.2

0.3.1

0.2.4

0.2.3

0.2.2

0.2.1

Download Vpython Module Mac For Python 3.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-mystrom, version 2.0.0
Filename, sizeFile typePython versionUpload dateHashes
Filename, size python_mystrom-2.0.0-py3-none-any.whl (14.0 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size python-mystrom-2.0.0.tar.gz (17.1 kB) File type Source Python version None Upload dateHashes

Download Python 3 For Mac

Close

Hashes for python_mystrom-2.0.0-py3-none-any.whl

Hashes for python_mystrom-2.0.0-py3-none-any.whl
AlgorithmHash digest
SHA2560a8f7b690f83eeadbeb0344393a7cbdf60bfd23832784634a00a4d8ba7afd244
MD541ea2ff6e281e35b7d927e5ba63d077a
BLAKE2-2569e14a17854e964344efc87a38b0da0a31e09f86dbc56ac9c70fd300563cb63f6
Close

Hashes for python-mystrom-2.0.0.tar.gz

Hashes for python-mystrom-2.0.0.tar.gz
AlgorithmHash digest
SHA256f24c0225a18576531738cb574c22beeac228a619d3d77b3e6aad669e449f0d14
MD566d74ce960322bc62768aa3bd3579554
BLAKE2-2560a8ed850386c7e9f375b658a466562fdb8db978bee930b1ec75b8540e3e1ffa7