Skip to main content

Synchronized alias package for rendo-aclip

Project description

aclip

aclip is the official short-name Python package for ACLIP.

It is published in lockstep with rendo-aclip and installs the same SDK release.

Use aclip if you want the shortest install command. Use rendo-aclip if you want the canonical dependency name in project manifests.

Install

Short-name install:

pip install aclip

Canonical install:

pip install rendo-aclip

Either way, the import path is:

from aclip import AclipApp

What ACLIP gives you

  • natural CLI invocation
  • progressive Markdown help
  • structured result and error envelopes
  • sidecar manifests for distribution metadata
  • packaging helpers for shipping binary CLIs

First Working CLI

from aclip import AclipApp, run_cli


def create_app() -> AclipApp:
    app = AclipApp(
        name="notes",
        version="0.2.3",
        summary="A minimal notes CLI.",
        description="Create and list notes from a small local CLI.",
    )

    app.group(
        "note",
        summary="Manage notes",
        description="Create and inspect notes.",
    ).command(
        "create",
        summary="Create a note",
        examples=["notes note create --title hello --body world"],
        handler=lambda title, body: {"note": {"title": title, "body": body}},
    )

    return app


run_cli("notes_cli.app:create_app")

Typical usage:

notes --help
notes note --help
notes note create --help
notes note create --title hello --body world

Installing aclip installs rendo-aclip==0.2.3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aclip-0.2.3.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aclip-0.2.3-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file aclip-0.2.3.tar.gz.

File metadata

  • Download URL: aclip-0.2.3.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for aclip-0.2.3.tar.gz
Algorithm Hash digest
SHA256 6ea5acac4ea7d4a2dccde2eb0ba1e5523e610d41f6745737b65f7981f8c067e1
MD5 b7ef24821f1ae9f440fe4e711a682f36
BLAKE2b-256 cd9dbc029c20e7bc5a2671525c2f24847e4c61516703b154d96daf7def335153

See more details on using hashes here.

File details

Details for the file aclip-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: aclip-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for aclip-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 42e87223615abe7a0cabaf65a753ce591443cdff49fbb3b6dcbb6cc35d5c6e69
MD5 066769b0fae51f8a107228d0cae5077b
BLAKE2b-256 6252013d6b1d9f39d7c2c04d01f6398a7ee06fd85aaabefd700076d3b7947c33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page