Skip to main content

A Python Command-Line Interface (CLI) for Eclipse BaSyx to manage Asset Administration Shells (AAS)

Project description

aas-mcp
Test codecov PyPI - Version Ruff

Documentation: https://shellsmith.pages.dev/cli

aas-cli is a Python CLI for managing Asset Administration Shells (AAS), Submodels, and Submodel Elements via the Eclipse BaSyx REST API.

Installation

pip install aas-cli

Requires: Python 3.10+

Usage

aas --help
Command Description
info Display the current Shell tree and identify issues.
upload Upload a single AAS file or all AAS files from a folder.
nuke ☢️ Delete all Shells and Submodels (irrevocable).
encode Encode a value (e.g. Shell ID) to Base64.
decode Decode a Base64-encoded value.
get Get Shells, Submodels, and Submodel Elements.
delete Delete Shells, Submodels, or Submodel Elements.
update Update Shells, Submodels, or Submodel Elements.
create Create new Shells, Submodels, or Submodel Elements.

ℹ️ Run aas <command> --help to view subcommands and options.

➡️ Full CLI reference: shellsmith.pages.dev/cli

Configuration

The default AAS environment host is:

http://localhost:8081

You can override it in several ways:

  • Set the environment variable:

    SHELLSMITH_BASYX_ENV_HOST=https://your-host:1234
    
  • Create a .env file in your project with:

    SHELLSMITH_BASYX_ENV_HOST=https://your-host:1234
    
  • Use the --host option with any CLI command:

    aas get shells --host https://your-host:1234
    

🤝 Contributing

We welcome contributions!

See the Contributing Guide for setup, testing, and coding standards.

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

aas_cli-0.0.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

aas_cli-0.0.1-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file aas_cli-0.0.1.tar.gz.

File metadata

  • Download URL: aas_cli-0.0.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for aas_cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a4d368f1ed99cf166e8ef78af842c4dbeedca3a8c13e1b0a0b925af3c3bdbd51
MD5 d4790bc15f2e3a8849d1fd2f5af5cdd6
BLAKE2b-256 a958c89fafa6eb5678f13627f52fed7e366c93ebebdd3cf2661ff03c5361d6c4

See more details on using hashes here.

File details

Details for the file aas_cli-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: aas_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for aas_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be39ad90dde34323bab8224c485c7427df0267edb82c61da8716061bab1cb69c
MD5 b69bfc52f15810e8bf701f6d229fc073
BLAKE2b-256 908ab4433a7cb722541ad17cd958466f1a7b45cbec6de71eacf187462bae0dbe

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