semvec/pypi-packages huggingface dataset:
capablerobot-usbhub 0.5.0
Host side driver for the Capable Robot Programmable USB Hub
License: MIT
Requires Python: >=3.6,<4.0
Keywords: usb,circuitpython,hardware

# Capable Robot Programmable USB Hub Driver 

This package has two functions:

- It provides access to internal state of the Capable Robot USB Hub, allowing you to monitor and control the Hub from an upstream computer.
- It creates a transparent CircuitPython Bridge, allowing unmodified CircuitPython code to run on the host computer and interact with I2C & SPI devices attached to the USB Hub.

![Capable Robot logo & image of Programmable USB Hub](https://raw.githubusercontent.com/CapableRobot/CapableRobot_USBHub_Driver/master/images/logo-usbhub-header.jpg "Capable Robot logo & image of Programmable USB Hub")

## Installing

Install and update using [pip](https://pip.pypa.io/en/stable/quickstart/):

	pip install capablerobot_usbhub

This driver requires Python 3.6 or newer.

**Additional Linux Instructions**

On Linux, the the udev permission system will likely prevent normal users from accessing the USB Hub's endpoint which allows for Hub Monitoring, Control, and I2C Bridging.  To resolve this, install the provided udev rule:

```
sudo cp 50-capablerobot-usbhub.rules /etc/udev/rules.d/
sudo udevadm control --reload
sudo udevadm trigger
```

Then unplug and replug your USB Hub.  Note, the provided udev rule allows all system users to access the Hub, but can be changed to a specific user or user group.

**Additional Windows Instructions**

On Windows, the low-level USB driver for the Hub's VID/PID must be re-assigned from the default one to the libusbk driver.  This can be done with the [Zadig](https://zadig.akeo.ie) GUI, or by executing the following commands:

```
pip install capablerobot_usbregister
usbregister device usbhub
```

For additional details on how the `usbregister` command-line utility work, please vist the [CapableRobot_USBRegister](https://github.com/CapableRobot/CapableRobot_USBRegister) repository.

## Usage & Examples

The [examples](https://github.com/CapableRobot/CapableRobot_USBHub_Driver/tree/master/examples) folder has some code samples of how to use this Python API to control the Programmable USB Hub.  There is also another [example repository](https://github.com/CapableRobot/CapableRobot_USBHub_CircuitPython_Examples) which includes additional host-side code as well as examples of customizing behavior via changing the Hub's firmware.

## Working Functionality

- Reading USB Hub registers over USB and decoding of register data.
- Writing USB Hub registers over USB.
- Reading & writing I2C data thru the Hub.
- Python API to control and read the two GPIO pins.
- CircuitPython I2C Bridge to the rear I2C1 port.  
- CircuitPython SPI Bridge to the internal mikroBUS header.

## Not Working / Not Implemented Yet

_No known errata at this time_

## Contributing 

Contributions are welcome! Please read our 
[Code of Conduct](https://github.com/capablerobot/CapableRobot_CircuitPython_USBHub_Bridge/blob/master/CODE_OF_CONDUCT.md)
before contributing to help this project stay welcoming.
hlpl-press 1.0.4
Text Transcriber
License: MIT
Requires Python: >=3, <=3.9
Keywords: hlpl_press,hlpl press,hlpl-press,web designer,website,hlpl

### hlpl_press 
<p style="font-size:14px;">hlpl_press is a web designer (or site duilder) using python as core engine.</p>

![hlpl_press status](https://hlpl.net/public_files/press-uc.png)
libodb 1.0.1
A client library for accessing the OpenDiscordBots API
License: MIT
Requires Python: >=3.8,<4.0

# libodb

A client library for accessing the OpenDiscordBots API

## Example Usage

```py
from asyncio import run

from libodb import APIClient
from pydantic import BaseModel


class GuildConfig(BaseModel):
    test: str


async def main():
    c = APIClient("api_key")

    await c.kv_set("abc", "123")
    print(await c.kv_get("abc"))

    await c.set_guild_config(1234, "example", GuildConfig(test="test"))
    print(await c.get_guild_config(1234, "example", GuildConfig))

    await c.close()

run(main())
```
twitter-stream.py 0.8.8
Python Client For Twitter Streaming API v2
License: MIT
Requires Python: >=3.6.0


<p align="center"><a href="https://github.com/twitivity/twitter-stream.py"><img height="250" src="/assets/twitivity-cover.png"/></a></p>

<p align="center">:snake: Python Client For Twitter API v2</p>

<p align="center">
	<a href="https://github.com/twitivity/twitter-stream.py"><img src="https://img.shields.io/pypi/pyversions/twitter-stream.py" height="20"/></a>
    <a href="https://github.com/twitivity/twitter-stream.py"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Ftwbadges.glitch.me%2Fbadges%2Fv2" alt="Twitter APi V2" height="20"/></a>
        <a href="https://github.com/twitivity/twitter-stream.py"><img src="https://img.shields.io/pypi/l/twitter-stream.py" alt="Twitter APi V2" height="20"/></a>
</p><br/><br/>

# :rocket: Why Twitter Stream ?
[Twitter-Stream.py](https://github.com/twitivity/twitter-stream.py) a python API client for Twitter API v2 now supports 
`FilteredStream`, `SampledStream`, `RecentSearch`, `TweetLookUp`, and  `UserLookUp`. It makes it easier to get started with Twitter's New API. Let's see an example of how `twitter-stream.py` handles `SampledStream`. Sampled Stream delivers about 1% of Twitter's publicly available tweets in real-time and paints a picture of general sentiments, recent trends, and global events.

```python
# sampled_stream.py

import json
from twitter_stream import SampledStream

class Stream(SampledStream):
    user_fields = ['name', 'location', 'public_metrics']
    expansions = ['author_id']
    tweet_fields = ['created_at']

stream = Stream()
for tweet in stream.connect():
    print(json.dumps(tweet, indent=4))
```

Is this all you have to do to start streaming? Yes. Are these all the data points available to you? No. Let's discuss `line number 5-7`. [Twitter's Official Documentation](https://developer.twitter.com/en/docs/twitter-api/tweets/sampled-stream/api-reference/get-tweets-sample-stream) lists an elaborate set of query parameters. You can use these queries to get the data you need. We are subclassing `SampledStream` and carefully constructing clear and eloquent queries in `line 5-7`. And you can do this for all the query parameters listed in the `SampledStream` [API Reference](https://developer.twitter.com/en/docs/twitter-api/tweets/sampled-stream/api-reference/get-tweets-sample-stream).

To get more insights into other API endpoints. Visit the [examples](https://github.com/twitivity/twitter-stream.py/tree/master/examples) folder and our documentations [twitivity.dev](http://twitivity.dev/docs/).

# Installation
```
~$ pip3 install twitter-stream.py
```
## Credentials

Store Twitter credentials at `~/.twitter-keys.yaml`. 

```shell
~$ vim ~/.twitter-keys.yaml
```

```yaml
keys:
  consumer_key: CONSUMER_KEY
  consumer_secret: CONSUMER_SECRET
  access_token: ACCESS_TOKEN
  access_token_secret: ACCESS_TOKEN_SECRET
  bearer_token: BEARER_TOKEN

```
aurora-driver-gfxhat 1.0.0.dev20220104225437
Renderer implementation for Pimoroni GFX HAT
License: MIT
Requires Python: >=3.5

# Pimoroni GFX HAT Driver for Aurora Display Library
This is a driver package for the GFX HAT for the Raspberry Pi made by
Pimoroni. It uses its published `gfxhat` package as a dependency.

> Note: To use this package you will need to provide your own installation
> of Raspberry Pi OS (or compatible) since the Raspberry Pis GPIO bindings
> are required and not available through PIP. Therefore also the `gfxhat`
> library is not listed as a required dependency, however you won't be able
> to run this code on a regular computer anyway.