semvec/pypi-packages huggingface dataset:
peekpoke 0.6.3
Remote hub memory tool for the Propeller microcontroller.
License: MIT
Requires Python: >=3
Keywords: Parallax Propeller P8X32A

# PeekPoke
Status: _experimental_

PeekPoke is a tool for reading and writing a Propeller's hub memory from a PC. It consists of two parts: a Python module for sending commands from the PC, and a Propeller program for responding to commands.

The Python module has methods to read and write hub memory as bytes, strings, integers, and lists of integers.

The Propeller program can be configured to restrict reads and writes to specific ranges, or to disable writes altogether.

PeekPoke has these additional features:
- the PAR register may be used to pass a value to the PC,
- the PC can set the baudrate remotely,
- the PC can reset the baudrate with a break condition,
- the Propeller can support baudrates as fast as 26 clocks per bit period,
- there is a four-byte `identifier` constant that can read by the PC,
- a four-byte `token` variable is 0 on launch and can be set by the PC,
- the PC can send PASM code to be executed (disabled by default),
- the Propeller program is completely cog-contained after launch.

## Installation

PeekPoke requires Python 3. It can be installed with the command `pip install peekpoke`, or the package may be downloaded from <https://pypi.org/project/peekpoke/>.  PeekPoke also requires the <https://pypi.org/project/crow-serial/> and <https://pypi.org/project/pyserial/> packages (pip automatically handles these dependencies).

To run PeekPoke on the Propeller include `PeekPoke.spin`  in your project, and use the Spin methods to set up and launch a PeekPoke instance. The latest version of `PeekPoke.spin` can be found at <https://github.com/chris-siedell/PeekPoke>.

## Documentation

Python: https://github.com/chris-siedell/PeekPoke/wiki/PeekPoke-Python-Documentation

Spin: https://github.com/chris-siedell/PeekPoke/wiki/PeekPoke-Spin-Documentation
trumpia 0.1.0.dev6
Python wrapper for Trumpia API
License: MIT
Keywords: trumpia

Trumpia API
==========================
A simple Python wrapper for Trumpia's messaging API.

Features
--------

* An object oriented interface for Trumpia's API
* Will eventually support all of Trumpia's API calls


Installation
-------------
     pip install trumpia 
     
Usage
-----
```python
from trumpia import TrumpiaAPI
    
    
api = TrumpiaAPI(your_username, your_api_key)
campaign_lists = api.get_lists()
for i, trumpia_list in enumerate(lists):
    list_details = api.get_list_details(trumpia_list)
    # Print the list details as a dictionary
    print(list_details.__dict__)
```

License
-------

See LICENSE for details.
crow-serial 0.4.0
Host implementation of the Crow serial protocol.
License: MIT
Requires Python: >=3
Keywords: serial protocol

# Crow Serial Protocol Implementation

Status: **experimental**

The Crow protocol is designed to allow a PC to control several microcontrollers using a single
serial line. The protocol itself has a simple half-duplex, command/response format with basic
error checking provided by Fletcher-16 checksums.

In Crow, the top-level software that generates commands is called a *client*. The client runs on the *host*, and
it passes the command to a *host implementation*. The host implementation creates a command packet
and sends it over the serial line. A *device implementation* receives the packet and then passes the command
to a *service* running on that *device*. The service performs the command and may send a response,
depending on the circumstances.

A *command* has the following properties:
- address: 1-31 for a specific device, or 0 to broadcast to all devices.
- port: 0-255, where open ports are registered to specific services.
- response expected: if true, the host will wait for a response; if false, the device must not respond.
- payload: 0-2047 bytes of binary data.

A *response* has just one property, the payload, which is also 0-2047 bytes of binary data.

----

This project contains a host implementation as well as a Crow admin client.

The Crow admin client can be used to send the commands `ping`, `echo`, `host_presence`,
`get_device_info`, `get_open_ports`, and `get_port_info`.