Skip to main content

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 framework
  • pydantic>=2: Data validation
  • httpx: HTTP client
  • google-genai: Google GenAI SDK
  • qtpy: Qt Python bindings
  • numpy: 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

Metadata

Release files for aimino 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aimino 0.1.2
File Size Uploaded Provenance
aimino-0.1.2.tar.gz 48.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aimino 0.1.2
File Interpreter ABI Platform
aimino-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 113.9 kB

Release files / aimino-0.1.2.tar.gz

Download URL aimino-0.1.2.tar.gz
Size 48.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f659c8edf3066ce5ba975650a8d8248de5463db2328cd4a1216725ad77e2da98
BLAKE2b-256 checksum
How to use checksums
b3b9634b6a46519fa2cf387f6f437bd6c5db8cf5a6375641c1886b3be85c464f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / aimino-0.1.2-py3-none-any.whl

Download URL aimino-0.1.2-py3-none-any.whl
Size 65.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfabb487290a2fd1a9d324bf46d1749017ab48e99f4d1c283062ff65ad5e359c
BLAKE2b-256 checksum
How to use checksums
68b80828bfae17f78e36ba0690f58c76bfc86f403829095db8ebd6ebd1c3be2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Security for aimino 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page