OrcaLab - Cloud-native robotics simulation platform with advanced UI and asset management
Project description
OrcaLab
OrcaLab is a front-end of OrcaGym. It provides a user-interface for scene assembling and simulation.
Features
- TODO
Requirements
- Python 3.12 or higher
- OrcaGym (required dependency)
- Other dependencies listed in
pyproject.toml
Development Requirements
For building and releasing packages, the following pip packages are required:
Core Build Tools
pip install build twine wheel setuptools
Development Tools (Optional)
pip install pytest pytest-cov flake8 black mypy
Make Commands and Required Packages
The project includes a Makefile with various commands. Here are the required packages for each command:
| Make Command | Required pip packages | Description |
|---|---|---|
make build |
build, setuptools, wheel |
Build distribution packages |
make check |
twine |
Check package quality |
make test-install |
build, setuptools, wheel |
Test local installation |
make test-install-testpypi |
build, setuptools, wheel |
Test TestPyPI installation |
make test-install-pypi |
build, setuptools, wheel |
Test PyPI installation |
make release-test |
build, twine, setuptools, wheel |
Release to TestPyPI |
make release-prod |
build, twine, setuptools, wheel |
Release to PyPI |
make bump-version |
None (uses sed) | Bump version number |
make setup-pypirc |
None | Setup PyPI configuration file |
make check-pypirc |
None | Check PyPI configuration |
make clean |
None | Clean build artifacts |
make test |
pytest, pytest-cov |
Run tests |
make format |
black |
Format code |
make lint |
flake8, mypy |
Lint code |
Quick Setup for Development
# Install development dependencies
pip install build twine wheel setuptools pytest pytest-cov flake8 black mypy
# Or install from the project's optional dependencies
pip install -e ".[dev]"
Release Process
Quick Release
# Setup PyPI configuration (first time only)
make setup-pypirc
# Release to TestPyPI
./scripts/release/release.sh test
# Release to PyPI
./scripts/release/release.sh prod
Step-by-step Release
# Clean, build, check, and upload
./scripts/release/clean.sh
./scripts/release/build.sh
./scripts/release/check.sh
./scripts/release/upload_test.sh # or upload_prod.sh
Installation
- Install OrcaGym (required):
# Please follow the OrcaGym installation instructions - Clone this repository and install OrcaLab in editable mode:
# required by pyside sudo apt install libxcb-cursor0 git clone https://github.com/openverse-orca/OrcaLab.git cd OrcaLab pip install -e .
Usage
To start OrcaLab, run:
python run.py
Notice
- Blocking function (like QDialog.exec()) should not be called in async function directly. It will stop the async loop in a strange way. There are two ways to work around:
- wrap in
qasync.asyncWrap - invoke by a qt signal.
- wrap in
# wrap in `qasync.asyncWrap`
async def foo():
def bloc_task():
return dialog.exec()
await asyncWrap(bloc_task)
# invoke by a qt signal
def bloc_task():
return dialog.exec()
some_signal.connect(bloc_task)
常见问题
Linux上出现 version `GLIBCXX_3.4.30' not found
conda update -c conda-forge libstdcxx-ng
License
This project is licensed under the terms of the LICENSE file.
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 orca_lab-25.10.3.tar.gz.
File metadata
- Download URL: orca_lab-25.10.3.tar.gz
- Upload date:
- Size: 101.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4a83eef3ac2c2b3404d7ee8afde98868f38e7fba982fe2333f85437efd610ef
|
|
| MD5 |
0654acef78bd4299082200810a78a7c5
|
|
| BLAKE2b-256 |
22a3d78e5053c40f977fd2bcc2c78ac334d969605e32df27cb1223d2239a0267
|
File details
Details for the file orca_lab-25.10.3-py3-none-any.whl.
File metadata
- Download URL: orca_lab-25.10.3-py3-none-any.whl
- Upload date:
- Size: 125.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
977b60d40a5396e057fffaf951724c5fa9eed58716823cf3bc5795fc383f4f1e
|
|
| MD5 |
f1428211a5f1794fd9870cb0bdc4af03
|
|
| BLAKE2b-256 |
1e552edcc11cb78ebeb31cf5d78ae89238d3e1516bf7846841b286d474e93836
|