Skip to main content

Aivuda AppStore packaged for pip installation and PyPI publishing.

Project description

Aivuda AppStore

Aivuda AppStore manages the applications used by aivudaOS.

aivudaappstore is the packaged Python distribution of Aivuda AppStore. After installation it provides a unified CLI and stores all runtime data under ${HOME}/aivudaAppStore_ws.

Install

Install from PyPI or from a wheel:

pip install aivudaappstore
# or
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple aivudaappstore # may not be the latest
pip install aivudaappstore-0.3.0.devYYYYMMDDNN-py3-none-any.whl

It is recommended to ensure your user-local bin directory is in PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

If you install with conda, activate the target environment first and keep using that same environment for aivudaappstore install, aivudaappstore start, and related commands:

conda create -n aivuda python=3.10 -y
conda activate aivuda
pip install aivudaappstore

To upgrade:

pip install --upgrade aivudaappstore

First Start

Run the install command once to prepare runtime dependencies, download Caddy, and create the user-level systemd service:

aivudaappstore install

When aivudaappstore install is executed inside an activated conda environment, the generated aivudaappstore.service will remember that environment's Python interpreter for later restarts and boot auto-start.

During installation you will be prompted for (optional, you can press Enter to skip if deploying for local use):

  • APPSTORE_PUBLIC_HTTPS_HOST: public IP for the cloud server deploying aivudaappstore;
  • APPSTORE_PRIVATE_HTTPS_HOST: NAT IP for the cloud server deploying aivudaappstore.

The default runtime workspace is:

  • $HOME/aivudaAppStore_ws/data
  • $HOME/aivudaAppStore_ws/config
  • $HOME/aivudaAppStore_ws/.tools
  • $HOME/aivudaAppStore_ws/samples

Usage

Common commands:

aivudaappstore --help
aivudaappstore --version
aivudaappstore install
aivudaappstore web
aivudaappstore status
aivudaappstore start
aivudaappstore stop
aivudaappstore restart
aivudaappstore enable-autostart
aivudaappstore disable-autostart
aivudaappstore download-caddy
aivudaappstore uninstall
aivudaappstore reset-admin-password

To print the current web addresses:

aivudaappstore web
# or
aivudaappstore status

Default ports:

  • Admin UI: https://<private-host>:8543
  • Public store: https://<public-host>:8580
  • Internal backend: 127.0.0.1:9001

Build From Source

Build developing source:

git clone https://gitee.com/buaa_iooda/aivudaAppStore.git --recurse-submodules
cd aivudaAppStore
git submodule update --init --recursive
pip install --user -U pip setuptools wheel
pip install --user -e .
# pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple -e .  # use pypi mirror for build

Build wheel and sdist locally:

cd aivudaappstore/resources/ui
npm install # require npm 20+
npm run build
cd ../../..
pip install --user -U pip setuptools wheel
AIVUDAAPPSTORE_BUILD_SEQ=01 python -m build
# AIVUDAAPPSTORE_BUILD_SEQ=01 PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple python -m build  # use pypi mirror

The wheel keeps only aivudaappstore/resources/ui/dist from the main frontend resource directory, while the sdist keeps the frontend source and excludes dist and node_modules.

For development details, see README_dev.md.

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

aivudaappstore-1.0.0.dev2026052901.tar.gz (155.4 kB view details)

Uploaded Source

Built Distribution

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

aivudaappstore-1.0.0.dev2026052901-py3-none-any.whl (175.3 kB view details)

Uploaded Python 3

File details

Details for the file aivudaappstore-1.0.0.dev2026052901.tar.gz.

File metadata

File hashes

Hashes for aivudaappstore-1.0.0.dev2026052901.tar.gz
Algorithm Hash digest
SHA256 a4a599c2c81c5f0c6d60d49f79b1964f6f2b1f787ec5b74a0e16d9a177759aba
MD5 3cc9d0fc215924c3b59cbe412cef64f6
BLAKE2b-256 83fe8b42eb6843029f8ec24b871e634d06eae86f8fab4dc2cfbc64dd2f1a4555

See more details on using hashes here.

Provenance

The following attestation bundles were made for aivudaappstore-1.0.0.dev2026052901.tar.gz:

Publisher: nightly-build.yml on shupx/aivudaAppStore

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

File details

Details for the file aivudaappstore-1.0.0.dev2026052901-py3-none-any.whl.

File metadata

File hashes

Hashes for aivudaappstore-1.0.0.dev2026052901-py3-none-any.whl
Algorithm Hash digest
SHA256 e675e36ed56cbb5ac5b8cd7a750548cae17b70ac99d8a87e12073a52cbb758e7
MD5 c73b14516ed65c671cf6dbce6345288d
BLAKE2b-256 ce90eb7de062c2fd33274d688727c90b6dcbcfa18dea2be4ae4e70d1ecaee5e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for aivudaappstore-1.0.0.dev2026052901-py3-none-any.whl:

Publisher: nightly-build.yml on shupx/aivudaAppStore

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