semvec/pypi-packages huggingface dataset:
telebotties 0.0.5
telebotties
Requires Python: >=3.7
Keywords: telebotties

# Telebotties [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

<!-- start intro -->

**Create and share robots with real-time remote controls**

**Stream to Twitch or YouTube and let viewers control your robot one by one**

- No hardware required to get started
- [Arduino](https://docs.telebotties.com/arduino) and [Raspberry Pi](https://docs.telebotties.com/raspi) tutorials available
- OBS and Streamlabs compatible video source
- Simple open-source Python library

Check [telebotties.com](https://telebotties.com) for currently online bots!

<!-- end intro -->

## Quick start

<!-- start quickstart -->

1. Install the library ([help](https://docs.telebotties.com/install)):

```
pip install --upgrade telebotties
```

2. Create and save a **bot.py** file:

```python
import telebotties as tb


b = tb.Button("A")

@b.on_press
def hello():
    tb.print("Hello")

@b.on_release
def world():
    tb.print("World")

tb.run()
```

3. Execute the **bot.py** file with

```
python bot.py
```

and open the returned link in browser ([help](https://docs.telebotties.com/quickstart_help)).

4. From the browser, add a live video feed by opening the video feed link in a separate tab or another device such as phone.

5. Press the **Try controls** -button. Now when you press and release `A` key from a keyboard or a touch screen, texts "Hello" and "World" get printed on the bottom of the live video feed.

<!-- end quickstart -->

Check [the full documentation](https://docs.telebotties.com/quickstart) if you want to learn how to:

- [Share the bot with others](https://telebotties.com)
- [Make the bot public on telebotties.com](https://telebotties.com)
- [Stream the bot to Twitch or Youtube](https://telebotties.com)

and a lot more!
lokidb-sdk 0.1.0
LokiDB python client SDK
Requires Python: >=3.8,<4.0

# py-client
 LokiDB python client SDK

---

## Example
```python
from random import randrange

from lokidb_sdk import Client

c = Client(
    [
        ("localhost", 50051),
        ("localhost", 50052),
        ("localhost", 50053),
        ("localhost", 50054),
        ("localhost", 50055),
    ]
)

for _ in range(1000):
    key = f'{randrange(-99999999, 99999999)}'
    value = f'{randrange(-99999999, 99999999)}'*10

    c.set(key, value)
    print(c.get(key))

# Get all keys from all nodes
print(c.keys())

# Close connection to all nodes
c.close()

```

## API
| Method | Input                  | Output                   |
|--------|------------------------|--------------------------|
| Get    | key (str)              | value (str)              |
| Set    | key (str), value (str) |                          |
| Del    | key(str)               |                          |
| Keys   |                        | list of keys (list[str]) |
| Flush  |                        |                          |
pi-device-net 0.1.30
A set of tools to operate a device network.
Requires Python: >=3.7

Overview
========

A system for automated device discovery and commmunication,
using UDP (for discovery) and MQTT (via mosquito and
Paho-mqtt) for communication.

It is a work in progress.

Installation
============

The Device Net doesn't install on its own, but is part of a Module or 
Controller as a client library, to manage networking and communications.

When used on a Module, that project needs to add these entries to their
`requirements.txt`:

* paho-mqtt
* pi-device-net

When used on a Controller, that project needs to add these to its 
`requirements.txt`:

* paho-mqtt
* pi-device-net>=0.1.20
* mosquito

In addition, on the Controller system, you need to install and launch the
Mosquito service during device setup:

    sudo apt-get update
    sudo apt-get install mosquitto
 
Development
===========