semvec/pypi-packages huggingface dataset:
redwing-vector 0.1.3
Python client to interface with Redwing Vector gRPC Service.
Requires Python: >=3.6

# Redwing Vector Python Client

## Overview

Redwing Vector Python Client is a Python library designed to simplify interactions with the Redwing Vector gRPC API. It provides an easy-to-use interface for Python developers to integrate Redwing Vector capabilities into their applications.

## Installation

To install the Redwing Vector Python Client, simply run:

```
pip install redwing-vector
```

## Documentation

For more detailed documentation for running with a Sandbox environment, visit https://docs.redwing.ai.

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Contact

For support or queries, contact hello [at] redwing [dot] ai
python-wintun 0.14.1
wintun (WireGuard) wrapper for Python


.. code:: python

   import os
   import wintun
   from threading import Thread

   def log(level, timestamp, message):
       print(level, timestamp, message)

   wintun.set_logger(log)

   tun = wintun.TunDevice('Demo', 'tunnel', 0x40000)
   print(wintun.get_driver_version())

   if tun:
       print('MTU=' + str(tun.mtu))
       tun.mtu = 1500
       tun.ring_capacity = 1024*1024*8
       tun.addr = '10.2.0.0'
       print(tun.mtu)
       tun.up()

       print(tun.addr)

       print(tun.mtu)

   def read_task():
       while True:
           packet = tun.read()
           if packet:
               print('Received ' + str(len(packet)))
           else:
               tun.wait_read_event()

   t = Thread(target=read_task)
   t.start()

   while True:
       pass

   tun.down()
rodos 0.1.1
rodos middleware in python

This is a port of the rodos middleware to Python

RODOS is dependable real-time operating system used in satellites [see rodos gitlab](https://gitlab.com/rodos/rodos). The rodos middleware Python package was created to facilitate the development of PC software, that connects to a remote microcontroller. E.g. debugging embedded applications, displaying data, easier development in python instead of c++. It is writte in pure python dependent on pyserial and the operating system's UDP/rfcomm(bluetooth) stack

install the package with `pip install rodos`. Here is an example how to use in conjunction with the struct package, that comes handy for parsing data

	#!/bin/python3
	import time
	import struct

	import rodos

	# from rodos import *

	def topicHandler(data):
	    try:
	        unpacked = struct.unpack("qI4b", data)
	        print("timeNow = ", unpacked[0])
	        print("msgIndex = ", unpacked[1])
	    except Exception as e:
	        print(e)
	        print(data)


	luart = rodos.LinkinterfaceUART(path="/dev/rfcomm2")
	gwUart = rodos.Gateway(luart)
	gwUart.run()

	linux2rodos = rodos.Topic(1002)
	rodos2linux = rodos.Topic(1003)

	rodos2linux.addSubscriber(topicHandler) # <<<<<< register callback

	cnt = 0
	while True:
	    cnt += 1
	    time.sleep(1)