Control a home robot Martina
Project description
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ó
- Clona el repositori:
git clone https://github.com/mnebot/Martina.git
- Entra al directori del projecte:
cd Martina
- Instal·la les dependències:
pip install -r requirements.txt
▶️ Usage
Per executar el codi, simplement executa el següent comando:
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 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:
- S'autentica a la xarxa de Tailscale.
- Es connecta per SSH a la Raspberry Pi.
- Instal·la o actualitza el paquet
martinaPIdes de PyPI en un entorn virtual.
Taulell de Trello: https://trello.com/b/3mHrU0Km
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file martinapi-0.1.6.tar.gz.
File metadata
- Download URL: martinapi-0.1.6.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66ad8c2e583ac0158e3d2cdb889d5fa933077c57012dc8c2015ebb548fe1a509
|
|
| MD5 |
3fd47703eabebb5e2a83f052b5a13bd3
|
|
| BLAKE2b-256 |
5be3aec64d356258f6b498bd5672f13fd05fd595711926e589087b33deec0ebe
|
Provenance
The following attestation bundles were made for martinapi-0.1.6.tar.gz:
Publisher:
publish-to-pypi.yml on mnebot/Martina
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
martinapi-0.1.6.tar.gz -
Subject digest:
66ad8c2e583ac0158e3d2cdb889d5fa933077c57012dc8c2015ebb548fe1a509 - Sigstore transparency entry: 722703857
- Sigstore integration time:
-
Permalink:
mnebot/Martina@6066a78848abe2e16549084e700db33265c7615a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/mnebot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@6066a78848abe2e16549084e700db33265c7615a -
Trigger Event:
push
-
Statement type:
File details
Details for the file martinapi-0.1.6-py3-none-any.whl.
File metadata
- Download URL: martinapi-0.1.6-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4501d20ac4878377af7a24707dfda74075fe3109f54f09a3a92b7f86a4c60776
|
|
| MD5 |
fe586d1b37ce62067788c6bc3c796ec5
|
|
| BLAKE2b-256 |
97a03cf07f3678fb5be591624b4f1e79848960e674f760bc16ebeff3f5ea0d48
|
Provenance
The following attestation bundles were made for martinapi-0.1.6-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on mnebot/Martina
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
martinapi-0.1.6-py3-none-any.whl -
Subject digest:
4501d20ac4878377af7a24707dfda74075fe3109f54f09a3a92b7f86a4c60776 - Sigstore transparency entry: 722703892
- Sigstore integration time:
-
Permalink:
mnebot/Martina@6066a78848abe2e16549084e700db33265c7615a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/mnebot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@6066a78848abe2e16549084e700db33265c7615a -
Trigger Event:
push
-
Statement type: