semvec/pypi-packages huggingface dataset:
onion-gpio-sysfs 0.1.6
Libraries to control GPIOs using the sysfs interface
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
Keywords: onion omega IoT

# gpio-sysfs
Libraries to control GPIOs using the sysfs interface

## Compatibility

Now comptatible with all versions of Python !

## Install

pip install onion-gpio-sysfs

## Usage

        import onionGpio

        # instantiate a GPIO object
        gpio0 = onionGpio.OnionGpio(0)
        # set to output direction with zero (LOW) being the default value
        gpio0.setOutputDirection(0)
        # get the vaule
        gpio0.getValue()

For further examples look at python/examples/ folder.

## Author
Written by https://github.com/greenbreakfast

Python3 code adaptation by https://github.com/jdupl

PyPi package by https://github.com/grizmin
endpoint-api-client 0.0.2
This module implements API-client to storage-endpoint

# endpoint-api-client

All commands have to be run in project root directory:

cd banks_storage/

## Installation

pip install endpoint-api-client


## Usage
from client import StorageAPI

your_api_url_endpoint = 'http://something.com/collection/'

headers = {\*\*StorageAPI.DEFAULT_HEADERS, 'foo': 'bar',}  \# optional

storage_client = StorageAPI(your_api_url_endpoint, headers)

#### GET
\# Methods returns "requests.Response" instances

get_response = storage_client.get_documents()


#### POST
your_document = {'field': 1, 'another_field': \['baz', 'bar',\]}

post_response = storage_client.post_document(some_doc)