Skip to main content

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:
    git clone https://github.com/mnebot/Martina.git
    
  2. Entra al directori del projecte:
    cd Martina
    
  3. 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:

  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

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)

Source distribution for martinaPI 0.1.7
File Size Uploaded
martinapi-0.1.7.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for martinaPI 0.1.7
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page