Catalog PyPI
PACKAGE EXPLORERView in registry

aclip-sdk

PyPI

Python reference SDK for the Agent Command Line Interface Protocol

aclipagentsclisdk
Versions collected1
Direct dependencies6From release 0.1.0
Last observed20 Oct, 18:16 UTC

README

Version 0.1.0 documentation

aclip-sdk

aclip-sdk is the Python reference adapter for ACLIP.

It does not define the ACLIP protocol.

It implements the shared protocol contracts maintained at the repository root and provides Python authoring, runtime, and packaging helpers for ACLIP-compatible CLIs.

What it provides

  • AclipApp tree-shaped authoring
  • CommandSpec, CommandGroupSpec, and ArgumentSpec
  • canonical ACLIP Markdown help rendering
  • structured result and error envelopes
  • binary packaging through package_binary()
  • packaging CLI through aclip-package

Install

pip install aclip-sdk

Quick Start

from aclip import AclipApp, ArgumentSpec

app = AclipApp(
    name="demo",
    version="0.1.0",
    summary="Demo CLI",
    description="Demo CLI.",
)

app.command_groups.append(...)

The recommended higher-level authoring path is to use AclipApp.group() and @group.command() from your own module entrypoint.

Packaging

from pathlib import Path

from aclip import package_binary

artifact = package_binary(
    app=app,
    binary_name="demo",
    entry_script=Path("src/demo_cli/__main__.py"),
    project_root=Path(".").resolve(),
    source_root=Path("src").resolve(),
)

Local Development

python -m venv .venv
.\.venv\Scripts\python -m pip install -e .[dev]
.\.venv\Scripts\python -m pytest tests -q

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.015 Apr 20266

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5be815a80b7dd091a7680084d484e0ed9a091fc8b109cd7048a843ec0b70b13b