Skip to main content

A collection of tools for various tasks and functionalities in the Tellers Network ecosystem.

Project description

Tellers Network Tools CLI (tlnw-tools)

tlnw-tools is a modular, dynamic command-line interface (CLI) to manage and run a collection of independent tools in the Tellers Network ecosystem. Each tool is developed as a separate package published to PyPI and registered in tools.yml. When invoked, the main CLI dynamically verifies, downloads (if missing), and executes the tool either in-process (by default) or as a subprocess.

Features

  • Dynamic Tool Execution: Run tools registered in tools.yml directly using tlnw-tools <tool>.
  • Automatic Packaging Management: Automatically downloads, installs, or updates tools dynamically via pip on invocation.
  • Configurable Isolation: Supports executing tools either via in-process module importing or subprocess delegation, configurable on a per-tool basis in tools.yml.
  • Consistent CLI: Standard common arguments like --help and --debug.

Installation

You can install the main CLI via PyPI:

pip install tlnw-tools

Configuration (tools.yml)

The main CLI registry lies in tools.yml located in the root of the project (or can be customized):

version: 0.1.0
description: "A collection of tools for various tasks and functionalities in the Tellers Network ecosystem."
tools:
  - name: "generate-image"
    package: "tlnw-generate-image"
    execution_mode: "inprocess_import"
    module: "tlnw_generate_image.cli"
    entry_point: "main"
    description: "Generate images and illustrations with OpenAI and Gemini models."

Commands

# General help
tlnw-tools --help

# Running a registered tool (e.g., generate-image)
tlnw-tools generate-image --help

Tool: generate-image

generate-image is the first unified tool package. It integrates and harmonizes image generation capabilities for story folders and specific scenes across both OpenAI (DALL-E 2/3, gpt-image-1.5) and Google Imagen 4.

Usage

tlnw-tools generate-image <story_folders> [options]

Options

  • --model <model>: Specify model to use. Defaults to gpt-image-1.5. Available models: dall-e-3, gpt-image-1.5, imagen-4, etc.
  • --quality <quality>: Normalize quality across OpenAI and Gemini. Choices: low, medium, high, standard, hd, auto.
  • --landscape / --portrait: Control dimensions. Defaults to square (1024x1024).
  • --size: Manually specify dimensions (e.g., 1024x1024).
  • --reference: Supply reference images.
  • --output-prefix: Prepend a custom prefix to generated files.
  • --skip-update: Avoid updating the Jekyll/Hugo index.md frontmatter.

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

tlnw_tools-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

tlnw_tools-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file tlnw_tools-0.1.0.tar.gz.

File metadata

  • Download URL: tlnw_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tlnw_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 75054d64d4e7b1f3a6f3488a5f01a1ba5f750926fb79c8d01a14b72a840d2746
MD5 cd94715ad0f67c18b87c66ad507fac52
BLAKE2b-256 a50360b40c10e4ca12f0fdfabe6138606c3a77832b05728a195f55a623d45e89

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlnw_tools-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on tellersnetwork/tlnw-tools

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

File details

Details for the file tlnw_tools-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tlnw_tools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tlnw_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 baf59505d94df3ca86c146a8c22bcf228f9801f871fcd4933ece598802b8b179
MD5 ee774417d6bacfd4e3eec747b22821c3
BLAKE2b-256 23c5fdbcdf06242c50c10060c570c101a05c0329afee9fbd6fa550e4a576213b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlnw_tools-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on tellersnetwork/tlnw-tools

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