Skip to main content

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

Metadata

Release files for aclip-sdk 0.1.0

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

Source distribution (sdist)

Source distribution for aclip-sdk 0.1.0
File Size Uploaded Provenance
aclip_sdk-0.1.0.tar.gz 20.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aclip-sdk 0.1.0
File Interpreter ABI Platform
aclip_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.6 kB

Release files / aclip_sdk-0.1.0.tar.gz

Download URL aclip_sdk-0.1.0.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e9f3b9c75f4c78bf277dfb325350af673ac3b10e99fdf410c538c405f2f6f114
BLAKE2b-256 checksum
How to use checksums
f5055ba4f7f6108ab60369bd678af14ad3b906ccbb5c3dc8ed2d5d01c860008f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / aclip_sdk-0.1.0-py3-none-any.whl

Download URL aclip_sdk-0.1.0-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e847406fc1ff5c5bd806db3e4707b1a3ea1ea6b0119f6d91dc97bb728e901df2
BLAKE2b-256 checksum
How to use checksums
91d7bf08b6b407729f39dc2400b878353bcab27565c0d909d471462959b1261c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for aclip-sdk 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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