Skip to main content

TUI (Terminal User Interface) of Yunetas

Project description

TUI for yunetas

This is the TUI (Terminal User Interface) for Yuneta Simplified

Icon

Yuneta Simplified is a development framework about messages and services, based on Event-driven, Automata-based and Object-oriented programming.

Yuneta is based in functions, but it manages a system of virtual classes defined by programmatically and schematically.

All his philosophy is based on that virtual classes (namely GClass or class G).

All architecture done by configuration, based in schema, easy to see by human eye. Of course, you have an API functions to change configuration and data in real time.

For Linux and RTOS/ESP32.

Versions in C, Javascript and (TODO) Python.

For more details, see doc.yuneta.io

Commands

yunetas init                  # create build dirs, compiler/build-type from .config (menuconfig)
yunetas build                 # make install: SDK + registered projects
yunetas clean                 # make clean:   SDK + registered projects
yunetas test                  # ctest

# External projects (registry in ~/.yuneta/projects.json, machine-local)
yunetas register-project <path>     # <path> must contain yunos/CMakeLists.txt
yunetas unregister-project <name>
yunetas list-projects
yunetas init|build|clean <name>...  # only those projects (SDK skipped)
yunetas init|build|clean --sdk-only # only the SDK

# Deploy helpers (wrappers over $YUNETAS_BASE/tools/agent/sync_*.py)
yunetas sync-binaries [-n|-a|...]                 # outputs/yunos vs the local agent
yunetas sync-configs [-n|-a|-r|...]               # auto-match batches/<host>/ to the agent's realm_ids
yunetas sync-configs --host <host> [...]          # or target one batches dir explicitly
yunetas upgrade-yunos [--no-snap|--snap-name N|-y|-n]  # snapshot -> find-new-yunos -> deactivate-snap

How build this package

Install pdm

This package use pdm to build and publish.

    pip install pdm
    pip install cement
    pip install plumbum
    pip install fastapi
    pip install "uvicorn[standard]"
    pip install "typer[all]"

Build and publish

  # Firstly change the version (explained below)
  # Next go to source root folder
  pdm build
  pdm publish --username __token__ --password <your-api-token> # (me: the full command is saved in publish-tui_yunetas.sh)

Install the package in editable mode using pip from the source root folder:

  pip install -e .

Change the version

Edit the __version__.py file and change the variable __version__. Then build and publish

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

yunetas-0.10.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

yunetas-0.10.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file yunetas-0.10.1.tar.gz.

File metadata

  • Download URL: yunetas-0.10.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.27.0 CPython/3.12.2 Linux/6.17.0-35-generic

File hashes

Hashes for yunetas-0.10.1.tar.gz
Algorithm Hash digest
SHA256 b2043de463ad1db675b1e78477a1e6a25c1af234bf8a7d38c51edf323f8edcd4
MD5 a4462a07e6ae56ec975de6fe19181af9
BLAKE2b-256 49e15bb3422a1d44d84e4b2ccfa949511ac5c6d96a97f41cf47d5f68f8a1463e

See more details on using hashes here.

File details

Details for the file yunetas-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: yunetas-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.27.0 CPython/3.12.2 Linux/6.17.0-35-generic

File hashes

Hashes for yunetas-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f80e41e79c38cc15a0dcb8d395d97ade090c997dc2996ed7edcbd98a456da94d
MD5 96844118462b8531e764e261ac547078
BLAKE2b-256 24096c1f31bffcb551c3d9fd63e8039d8f849ca4cf3e3c28a97afe107a505eb3

See more details on using hashes here.

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