Skip to main content

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ó

  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

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

martinapi-0.1.7.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

martinapi-0.1.7-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file martinapi-0.1.7.tar.gz.

File metadata

  • Download URL: martinapi-0.1.7.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

Hashes for martinapi-0.1.7.tar.gz
Algorithm Hash digest
SHA256 17ceff653a1f0c40d9ac66b821e14568efcf2cef5257060c7c6b2557a19b365a
MD5 4b0e9982cefd95af593bd04cbae970df
BLAKE2b-256 63d0675766bb8c83371a74c0b8e081ad5ff5d5f7cc82b8dd03180313f132b05c

See more details on using hashes here.

Provenance

The following attestation bundles were made for martinapi-0.1.7.tar.gz:

Publisher: publish-to-pypi.yml on mnebot/Martina

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file martinapi-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: martinapi-0.1.7-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

Hashes for martinapi-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4ac67fe3808ee8662c5b1ffe695d8b2eb107fed0e8132bcbfacdec1d49530b44
MD5 6a5554145dabadd3e5c1fcd7dab30ec5
BLAKE2b-256 2bd32d326b5b0ccc10e55119474b620dbf3e03d25a15c6fb19b1aca44eb9e878

See more details on using hashes here.

Provenance

The following attestation bundles were made for martinapi-0.1.7-py3-none-any.whl:

Publisher: publish-to-pypi.yml on mnebot/Martina

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page