semvec/pypi-packages huggingface dataset:
pixitlib 0.1.6
Une librairie pour aider les devs du projet pixit sur la connexion entre les jeux et la console.
Requires Python: >=3.6

# PixitLib

PixitLib est une librairie Python permettant de gérer la connexion et la communication avec une matrice LED et une console de jeu.

## Installation

Vous pouvez installer PixitLib directement depuis PyPI :
```bash
pip install pixitlib
```

Ou depuis GitHub :
```bash
pip install git+https://github.com/TonGithub/pixitlib.git
```

## Utilisation

### Importation de la librairie

```python
from pixitlib import GameConnexion
```

### Création d'une connexion

```python
game = GameConnexion()
game.connect()
```

### Envoi d'une trame à la matrice LED

Vous pouvez envoyer une trame personnalisée à la matrice LED :

```python
frame = ";".join(["(255,0,0)"] * 128 + ["(0,0,255)"] * 128)  # Rouge et bleu
game.send_frame(frame)
```

### Réception des commandes de la console

```python
game.listen_commands()
```

### Fermeture de la connexion

```python
game.close()
```

## Configuration

Par défaut, `pixitlib` utilise les valeurs suivantes :
- **Adresse IP** : `127.0.0.1`
- **Port Console** : `58591`
- **Port Matrice LED** : `58600`

Vous pouvez modifier ces paramètres lors de l'initialisation :

```python
game = GameConnexion(host="192.168.1.10", console_port=12345, matrix_port=54321)
```

## Développement

Si vous souhaitez contribuer au projet, clonez le dépôt et installez la version locale :
```bash
git clone https://github.com/TonGithub/pixitlib.git
cd pixitlib
pip install -e .
```

## 📝 Licence

Ce projet est sous licence MIT. Vous êtes libre de l'utiliser et de le modifier selon vos besoins.
pypond 0.5.3
Python implementation of the Pond JavaScript timeseries library (https://github.com/esnet/pond).

[![Documentation Status](https://readthedocs.org/projects/pypond/badge/?version=latest)](http://pypond.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.org/esnet/pypond.svg?branch=master)](https://travis-ci.org/esnet/pypond) [![Coverage Status](https://coveralls.io/repos/github/esnet/pypond/badge.svg?branch=master)](https://coveralls.io/github/esnet/pypond?branch=master)

# PyPond - Python Pond timeseries library.

## Overview

PyPond is a Python implementation of the JavaScript [Pond timeseries library](http://software.es.net/pond/). At a very high level, both implementations offer classes and structures to collect, manipulate and transmit timeseries data. Time series transmission is done via a JSON-based wire format.

This implementation is [available on GitHub](https://github.com/esnet/pypond) and the API documentation is available at [software.es.net](http://software.es.net/pypond/) (and alternately on [RTD](http://pypond.readthedocs.io/en/latest/)).

PyPond runs on python 3.3 through 3.10.

## Core Documentation

The [main project site](http://software.es.net/pond/) has extensive documentation on the various structures (Event, TimeRange, TimeSeries, etc) that both implementations use internally. There is no need to duplicate that conceptual documentation here since the python implementation follows the same API and uses the same structures.

The only real difference with pypond is that the method names have been changed to their obvious pythonic corollaries (`obj.toString()` becomes `obj.to_string()`) and any comparison methods named `.is()` in the JavaScript version have been renamed to `.same()` in pypond since `is` is a reserved word in python.

The [tests](https://github.com/esnet/pypond/tree/master/tests) can also be referred to as a fairly complete set of examples as well.