semvec/pypi-packages huggingface dataset:
shuup-stripe 2.0.0
Stripe Checkout integration for Shuup
Keywords: stripe,shuup

.. image:: https://travis-ci.org/shuup/shuup-stripe.svg?branch=master
    :target: https://travis-ci.org/shuup/shuup-stripe
.. image::
   https://codecov.io/gh/shuup/shuup-stripe/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/shuup/shuup-stripe
.. image::
   https://img.shields.io/pypi/v/shuup-stripe.svg
   :alt: PyPI
   :target: https://pypi.org/project/shuup-stripe/

Shuup Stripe Addon
==================

This package implements `Stripe Checkout <https://stripe.com/checkout>`__
for the `Shuup <https://shuup.com/>`__ platform.

Copyright
---------

Copyright (C) 2012-2019 by Shoop Commerce Ltd. <support@shuup.com>

Shuup is International Registered Trademark & Property of Shoop Commerce Ltd.,
Business ID: FI27184225,
Business Address: Iso-Roobertinkatu 20-22, 00120 HELSINKI, Finland.

License
-------

Shuup Stripe addon is published under Open Software License version 3.0 (OSL-3.0).
See the LICENSE file distributed with Shuup.

Running tests
-------------

You can run tests with `py.test <http://pytest.org/>`_.

Requirements for running tests:

* Your virtualenv needs to have Shuup installed.

* Project root must be in the Python path.  This can be done with:

  .. code:: sh

     pip install -e .

* The packages from ``requirements-test.txt`` must be installed.

  .. code:: sh

     pip install -r requirements-test.txt

To run tests, use command:

.. code:: sh

   py.test -v
sengled-client 0.0.2
A simple python API client to control Sengled smart devices
Requires Python: >=3.6

# Sengled Python Client

A simple Python client to control [Sengled](https://sengled.com) light and plug accessories.

There are other accessories but this was only tested with these three devices:

* A19 element color plus (E11-N1EA)
* A19 element classic (E11-G13)
* Smart plug (E1C-NB6)

## Installation

```
pip install sengled-client
```

## Usage

Create the API client:

```python
import sengled

api = sengled.api(
    # The username/password that you used to create your mobile account in
    # the Sengled Home app.
    username="your-username@example.com",
    password="your-secure-password",

    # Optional path to persist the session across multiple process
    # starts and reduce the number of logins.
    session_path="/tmp/sengled.pickle",

    # Prints details of the api request/responses when True, defaults to false.
    debug=True
)
```

Alternatively, set `SENGLED_*` environment variables that match the api arguments.

```python
import sengled

api = sengled.api_from_env()
```

List all devices

```python
devices = api.get_device_details()
```

List lamps that support colors

```python
colored = api.filter_colored_lamps()
```

List lamps that support color temperature

```python
temperature = api.filter_color_temperature_lamps()
```

The API can be used to modify a list of devices or single devices

```python
api.set_on(devices)

api.set_brightness(devices, 100)

api.set_color(colored, [255, 0, 0])

api.set_color_temperature(temperature, 100)

api.set_off(devices[0])

api.set_on_off(devices, True)
```

You can search for single devices

```python
api.find_by_id("B0CE18140000EB41") #=> SengledLampDevice

api.find_by_name("Office Bulb 1")  #=> SengledLampDevice
```

And finally you can operate directly on `SengledLampDevice`s

```python
bulb = api.find_by_name("Office Bulb 1")
bulb.on()
bulb.set_brightness(50)
bulb.set_color_temperature(50)
bulb.toggle()
```

Or chain the actions:

```python
api.find_by_name("Office Bulb 2") \
   .on() \
   .set_brightness(50) \
   .set_color([0, 0, 255])
```

Note that all API calls will raise based on status_code via request's
`raise_for_status()` method. Action methods will also raise a `RuntimeError`
if the `success` field is returned with a value of `False`.


## How this came about?

This was reverse engineered from multiple different repositories found on GitHub
as well as Charles.app and some guessing. See also:

* https://github.com/j796160836/homebridge-sengled/
* https://github.com/mpomery/sengled-element-postman/blob/master/Sengled%20Element%20API.postman_collection.json
* https://github.com/sroehl/sengled-python
* https://github.com/AHerridge/BetterSengled/blob/master/device.py
* https://github.com/NoxPhoenix/noxbot/blob/68281bac10aa6a939f617d1ba148944338566491/clients/sengledClient.js
Overwatch-API-M 0.0.1
Overwatch-API
Requires Python: >=3.8

Overwatch-API 쉽고 간단한 오버워치 API

설명 랭킹, 레벨, 닉네임, 플레이 타임 등등 사용자의 랭킹을 조회할수 있도록 작성하였습니다.

제작자 디스코드 : STORM#9999 이메일 : storm@stormdev.club

사용 방법 
`from Overwatch import Overwatch 
name = "kirito7416" 
tag = "3341" 
name = Overwatch.level(name=name, tag=tag) 
print(name)`
OW-API 3.0.0
Overwatch-API
Requires Python: >=3.8

Overwatch-API 쉽고 간단한 오버워치 API

설명 랭킹, 레벨, 닉네임, 플레이 타임 등등 사용자의 랭킹을 조회할수 있도록 작성하였습니다.

제작자 디스코드 : STORM#9999 이메일 : storm@stormdev.club

사용 방법 
`from Overwatch import Overwatch 
name = "kirito7416" 
tag = "3341" 
name = Overwatch.level(name=name, tag=tag) 
print(name)`