semvec/pypi-packages huggingface dataset:
adafruit-circuitpython-ble 10.1.0
Bluetooth Low Energy (BLE) library for CircuitPython
License: MIT
Keywords: adafruit, blinka, circuitpython, micropython, ble, bluetooth

Introduction
============

.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ble/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/ble/en/latest/
    :alt: Documentation Status

.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord

.. image:: https://github.com/adafruit/Adafruit_CircuitPython_ble/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_ble/actions
    :alt: Build Status

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Code Style: Ruff

This module provides higher-level BLE (Bluetooth Low Energy) functionality,
building on the native `_bleio` module.

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.

Installing from PyPI
====================

Warning: Linux support is **very** limited. See `Adafruit Blinka _bleio
<https://github.com/adafruit/Adafruit_Blinka_bleio>`_ for details.

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-ble/>`_. To install for current user:

.. code-block:: shell

    pip3 install adafruit-circuitpython-ble

To install system-wide (this may be required in some cases):

.. code-block:: shell

    sudo pip3 install adafruit-circuitpython-ble

To install in a virtual environment in your current project:

.. code-block:: shell

    mkdir project-name && cd project-name
    python3 -m venv .venv
    source .venv/bin/activate
    pip3 install adafruit-circuitpython-ble

Usage Example
=============

.. code-block:: python

    from adafruit_ble import BLERadio

    radio = BLERadio()
    print("scanning")
    found = set()
    for entry in radio.start_scan(timeout=60, minimum_rssi=-80):
        addr = entry.address
        if addr not in found:
            print(entry)
        found.add(addr)

    print("scan done")


Documentation
=============

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/ble/en/latest/>`_.

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_ble/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.
martinaPI 0.1.7
Control a home robot Martina
License: MIT
Requires Python: <3.13,>=3.9

# Martina

Codi Python que fa funcionar la Martina, el nostre robot familiar.

Aquest projecte conté el codi Python per controlar el robot Martina.

## 🚀 Getting Started

### 📋 Prerequisits

- Python 3.9 o superior

### 🔧 Instal·lació

1. Clona el repositori:
   ```bash
   git clone https://github.com/mnebot/Martina.git
   ```
2. Entra al directori del projecte:
   ```bash
   cd Martina
   ```
3. Instal·la les dependències:
   ```bash
   pip install -r requirements.txt
   ```

## ▶️ Usage

Per executar el codi, simplement executa el següent comando:

```bash
python martina.py
```

## 🤝 Contributing

Les contribucions són benvingudes! Si us plau, obre un *issue* per discutir els canvis que vols fer.

## 📝 License

Aquest projecte està sota la llicència MIT. Consulta el fitxer [LICENSE](LICENSE) per a més detalls.

## CI/CD

Aquest projecte utilitza GitHub Actions per automatitzar el desplegament del codi.

### Publicació a PyPI

El workflow `publish-to-pypi.yml` s'encarrega de construir el paquet de Python i publicar-lo a PyPI. Aquest workflow s'executa manualment des de la pestanya "Actions" de GitHub.

### Desplegament a la Raspberry Pi

El workflow `deploy-to-pi.yml` s'encarrega de desplegar la darrera versió del paquet a la Raspberry Pi. Aquest workflow s'executa automàticament cada cop que es fa un `push` a la branca `master` o es pot executar manualment.

El workflow fa els següents passos:
1. S'autentica a la xarxa de Tailscale.
2. Es connecta per SSH a la Raspberry Pi.
3. Instal·la o actualitza el paquet `martinaPI` des de PyPI en un entorn virtual.

---

Taulell de Trello: https://trello.com/b/3mHrU0Km
jammy 0.1.49
A Versatile ToolBox
License: MIT
Requires Python: >=3.8.1

<h1 align="center"> Jammy (Jam) </h1>

<p align="center">
  <a href="https://pypi.org/project/jammy/">
    <img src="https://img.shields.io/pypi/v/jammy?style=for-the-badge" alt="PyPI" />
  </a>
  <a href="#">
    <img src="https://img.shields.io/pypi/l/jammy?style=for-the-badge" alt="PyPI - License" />
  </a>
  <a href="https://github.com/qsh-zh/jam">
    <img src="https://img.shields.io/badge/-github-grey?style=for-the-badge&logo=github" alt="GitHub code" />
  </a>
  <a href="https://gitlab.com/qsh.zh/jam">
    <img src="https://img.shields.io/badge/-gitlab-grey?style=for-the-badge&logo=gitlab" alt="GitLab code" />
  </a>
  <a href="https://jammy.readthedocs.io/en/stable/index.html">
    <img src="https://img.shields.io/readthedocs/jammy?style=for-the-badge" alt="Read the Docs" />
  </a>
  <a href="#">
    <img src="https://img.shields.io/pypi/pyversions/jammy?style=for-the-badge" alt="PyPI - Python Version" />
  </a>
  <a href="https://github.com/psf/black">
    <img src="https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge" alt="Code style: black" />
  </a>
  <p align="center">
    <i>A personal toolbox by <a href="https://qsh-zh.github.io/">Qsh.zh</a>.</i>
  </p>
</p>

### Usage

#### setup

* For core package, run `pip install jammy`
* To access functions in `bin`
```shell
git clone https://gitlab.com/qsh.zh/jam.git --recursive
export PATH=<path_to_jam>/bin:$PATH
# run python program
jam-run main.py
jam-crun 1 main.py # use second nvidia gpu
```


#### sample of io
```python
import jammy.io as jio
from jamtorch.utils import as_numpy
jio.dump("ndarray.npz", np.arange(10))
jio.dump("foo.pkl", {"foo": as_numpy(torch.arange(10).cuda())})
ndarray = jio.load("ndarray.npz")
jio.load("foo.pkl")
model_dict = jio.load("checkpoint.pth")
```
```shell
$ jinspect-file foo.pkl
> python3
[ins] print(f1)
# content of foo.pkl

```

### Advanced Usage

* [A DDP pytorch training framework](https://jammy.readthedocs.io/en/stable/jamtorch.ddp.html)
* [Registry](https://jammy.readthedocs.io/en/stable/jammy.utils.html?highlight=registry#jammy.utils.registry.CallbackRegistry)
* TODO

### Etymology
* The naming is inspired from [Jyutping](https://en.wikipedia.org/wiki/Jyutping) of [Qin](https://en.wiktionary.org/wiki/%E6%AC%BD).

### MICS

* The package and framework are inspired from [Jacinle](https://github.com/vacancy/Jacinle) by [vacancy](https://github.com/vacancy), from which I learn and take utility functions shamelessly.