A Python Command-Line Interface (CLI) for Eclipse BaSyx to manage Asset Administration Shells (AAS)
Project description
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> --helpto 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
.envfile in your project with:SHELLSMITH_BASYX_ENV_HOST=https://your-host:1234
-
Use the
--hostoption 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4d368f1ed99cf166e8ef78af842c4dbeedca3a8c13e1b0a0b925af3c3bdbd51
|
|
| MD5 |
d4790bc15f2e3a8849d1fd2f5af5cdd6
|
|
| BLAKE2b-256 |
a958c89fafa6eb5678f13627f52fed7e366c93ebebdd3cf2661ff03c5361d6c4
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be39ad90dde34323bab8224c485c7427df0267edb82c61da8716061bab1cb69c
|
|
| MD5 |
b69bfc52f15810e8bf701f6d229fc073
|
|
| BLAKE2b-256 |
908ab4433a7cb722541ad17cd958466f1a7b45cbec6de71eacf187462bae0dbe
|