AIMinO Napari frontend application with command execution and agent client
Project description
AIMinO Frontend Package
A Napari frontend application for AIMinO, providing command execution and agent client functionality for bioimage analysis.
Package Structure
This package uses a standard src-layout structure:
aimino_frontend/
├── src/
│ └── aimino_frontend/ # Python package source
│ ├── __init__.py
│ ├── aimino_core/ # Core command models, handlers, and executor
│ │ ├── handlers/ # Various command handlers
│ │ └── ...
│ └── napari_app/ # Napari application entry points and agent client
│ ├── main.py # Main launch function
│ └── client_agent.py # Agent client
├── pyproject.toml # Package configuration
└── README.md
Installation
Install from PyPI
pip install aimino
Development Installation
Install in development mode from the aimino_frontend directory:
pip install -e .
Production Installation
pip install .
Build Distribution Packages
pip install build
python -m build
This will generate a dist/ directory containing .whl and .tar.gz files.
Usage
After installation, you can use the package in the following ways:
As a Command Line Tool
aimino-napari
As a Python Module
from aimino_frontend.napari_app import launch
launch()
Import Core Functionality
from aimino_frontend.aimino_core import execute_command, CommandExecutionError
from aimino_frontend.napari_app.client_agent import AgentClient
Dependencies
Main dependencies include:
napari: Napari visualization frameworkpydantic>=2: Data validationhttpx: HTTP clientgoogle-genai: Google GenAI SDKqtpy: Qt Python bindingsnumpy: Numerical computing
See pyproject.toml for the complete dependency list.
Development
Install development dependencies:
pip install -e ".[dev]"
Run tests:
pytest
Napari Plugin
This package includes a Napari plugin that can be accessed through the Napari plugin menu. The plugin provides an interactive chatbox interface for AI-powered image analysis commands.
License
MIT License
Authors
AIMinO Team: Yingxiao (TK) Shi, Kida Huang, Yinuo Cheng, Yuan Tian
Project Links
- Homepage: https://github.com/KidaGSD/AC215_AIMinO
- Repository: https://github.com/KidaGSD/AC215_AIMinO
- Issues: https://github.com/KidaGSD/AC215_AIMinO/issues
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 aimino-0.1.2.tar.gz.
File metadata
- Download URL: aimino-0.1.2.tar.gz
- Upload date:
- Size: 48.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f659c8edf3066ce5ba975650a8d8248de5463db2328cd4a1216725ad77e2da98
|
|
| MD5 |
41505054c19a1227f5d8d95c63763463
|
|
| BLAKE2b-256 |
b3b9634b6a46519fa2cf387f6f437bd6c5db8cf5a6375641c1886b3be85c464f
|
File details
Details for the file aimino-0.1.2-py3-none-any.whl.
File metadata
- Download URL: aimino-0.1.2-py3-none-any.whl
- Upload date:
- Size: 65.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfabb487290a2fd1a9d324bf46d1749017ab48e99f4d1c283062ff65ad5e359c
|
|
| MD5 |
9410b612c0e114228a6f2a1d680e2b6c
|
|
| BLAKE2b-256 |
68b80828bfae17f78e36ba0690f58c76bfc86f403829095db8ebd6ebd1c3be2b
|