Skip to main content

The official command-line interface for Pyplines

Project description

pyplines-cli

pyplines-cli is the command-line interface for Pyplines. The initial command surface supports local Function development through a running Pyplines Function development container. Server commands will use the same CLI in later releases.

Install

pip install pyplines-cli

Configuration

Configuration is YAML stored in the platform-native user configuration directory. Find the exact path with:

pyplines config path

Initial shape:

function_development:
  url: http://127.0.0.1:7331
  connect_timeout: 5
  operation_timeout: 1800

function:
  template:
    repository: https://github.com/pyplines/function-template.git
    ref: v1

Every setting can be overridden with a PYPLINES_ environment variable. Use double underscores for nested keys:

export PYPLINES_MODE=automation
export PYPLINES_FUNCTION_DEVELOPMENT__URL=http://127.0.0.1:7331
export PYPLINES_FUNCTION_DEVELOPMENT_TOKEN="<local-container-token>"

The token is environment-only and is not written to the configuration file.

Output

Rich interactive output is the default. It uses purpose-built tables for collections, compact detail views for resources, and syntax-highlighted valid JSON when inspecting structured documents.

Set the process-level mode to automation for compact JSON and NDJSON output:

PYPLINES_MODE=automation pyplines function status

Non-streaming operations emit one JSON document. Streaming operations emit one NDJSON event per line. Automation mode never emits styling, progress indicators, or explanatory text.

Function Development

Initialize from the configured, pinned Git template:

pyplines function init hello-world

Check, invoke, and package the Function mounted into the development container:

cd hello-world
pyplines function status
pyplines function check
pyplines function invoke --input name=Ada
pyplines function invoke --input-file inputs.yaml
pyplines function package

function init uses the system Git client and honors existing credential helpers, SSH agents, proxies, and enterprise Git configuration. It does not execute template hooks or retain the template repository's .git directory.

Versioning

The CLI uses calendar versioning with Python-compatible prerelease identifiers:

YYYY.MONTH.REVISION{PRERELEASE}

For example, the 2026.7.1 release can progress through:

Version Meaning
2026.7.1a1 First alpha
2026.7.1a2 Second alpha
2026.7.1b1 First beta
2026.7.1rc1 First release candidate
2026.7.1 Stable release

Published versions are immutable. Corrections require another prerelease number. The revision advances for the next body of work released in the same month; the year and month follow the release date. Prerelease identifiers follow PEP 440.

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

pyplines_cli-2026.7.1a1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

pyplines_cli-2026.7.1a1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file pyplines_cli-2026.7.1a1.tar.gz.

File metadata

  • Download URL: pyplines_cli-2026.7.1a1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyplines_cli-2026.7.1a1.tar.gz
Algorithm Hash digest
SHA256 4b77fb8e151e66d78b31953105f36384b478f82dd1e66a4c16d17bcdc4df4a4a
MD5 bebf997daa3c494414b2a8df0222b233
BLAKE2b-256 d148e7cdfa562c37650700de9c9b3c66acdfb37b0d1a79b4c117cd09fa5fe547

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyplines_cli-2026.7.1a1.tar.gz:

Publisher: publish-cli.yml on pyplines/pyplines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyplines_cli-2026.7.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyplines_cli-2026.7.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 17d6f728917bae8caf9619900e63939823ea9c95bc57b0ff13de396fcf950f89
MD5 4261cde11947961050ca5624ae2aba78
BLAKE2b-256 6a248906371fe3b7c167454b5675a30ccce36a04e38737c36de8940f764af5dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyplines_cli-2026.7.1a1-py3-none-any.whl:

Publisher: publish-cli.yml on pyplines/pyplines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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