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
Metadata
Release files for martinaPI 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| martinapi-0.1.7.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| martinapi-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.1 kB
Release files / martinapi-0.1.7.tar.gz
| Download URL | martinapi-0.1.7.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17ceff653a1f0c40d9ac66b821e14568efcf2cef5257060c7c6b2557a19b365a
|
|
BLAKE2b-256 checksum How to use checksums |
63d0675766bb8c83371a74c0b8e081ad5ff5d5f7cc82b8dd03180313f132b05c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2025.
Transparency logRelease files / martinapi-0.1.7-py3-none-any.whl
| Download URL | martinapi-0.1.7-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ac67fe3808ee8662c5b1ffe695d8b2eb107fed0e8132bcbfacdec1d49530b44
|
|
BLAKE2b-256 checksum How to use checksums |
2bd32d326b5b0ccc10e55119474b620dbf3e03d25a15c6fb19b1aca44eb9e878
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2025.
Transparency log