Skip to main content

Render any input as a portico – a three-layer ASCII visualization.

Project description

portico
_ii^
portico

render any input as a portico -- a three-layer ASCII visualization


install

pipx install portico-cli

try it

portico README.md
portico https://example.com/article
portico ./src --verbose
echo "your text here" | portico -

what is a portico

An LLM reads your input, decides what kind of thing it is, and decomposes it into three layers. The renderer turns those layers into a fixed ASCII shape.

glyph layer meaning
^ roof the unifying idea
ii pillars the load-bearing components (2-9 of them)
_ base the foundation everything rests on

example

portico on a small codebase:

── codebase: my-repo ───────────────────────────────────────────────────────────

                                      ***
                                  ===  ◇  ===
                    //════════════════════════════════════\\
                   ╔════════════════════════════════════════╗
                   ║               Public API               ║
                   ╚════════════════════════════════════════╝
                //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\\
                 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                      ▀██▀            ▀██▀            ▀██▀
                       ██              ██              ██
                       ██              ██              ██
                      Auth          Routing         Storage
                       ██              ██              ██
                       ██              ██              ██
                      ▄██▄            ▄██▄            ▄██▄
                 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              ╔══════════════════════════════════════════════════╗
              ║                     Runtime                      ║
              ╚══════════════════════════════════════════════════╝

───────────────────────────────────────────────────────────── built with _ii^ ──

inputs

  • raw text or stdin
  • local files and directories
  • URLs (page content is extracted)
  • git repositories

When an input doesn't fit a three-layer shape -- poems, flat lists, gibberish -- portico refuses honestly rather than fake one.

customization

flag what it does
--verbose, -v add a legend with a one-line summary for each layer
--color {auto,always,never} colorize roof / pillars / base. default: never
--reapex[=N] roll a random apex ornament; pin seed N to reproduce
--json emit the analyzer's JSON instead of rendering
--diagnose print a pipeline report (input type, model, fit quality) and exit

Run portico --help for the full list.

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

portico_cli-0.1.1.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

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

portico_cli-0.1.1-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file portico_cli-0.1.1.tar.gz.

File metadata

  • Download URL: portico_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for portico_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9155a3bbdfce712ca74e34294ec8b910657c143174494605d14a69ea5d4bdc73
MD5 7cbda6fadb017e1b7b7e25a10c9d17e2
BLAKE2b-256 fd065d52fe4bb80d22e7cb950ec236ea2b4d435efc61aace1c0e35010d647b6e

See more details on using hashes here.

File details

Details for the file portico_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: portico_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for portico_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 346f0b7bbe250b74b406c829afcb4834cc1c7592c7ad28308d8fa4b30860b4fb
MD5 f03b26d0b0c840ee3c4ace02c81874e4
BLAKE2b-256 54092e6f04378499152201b113c1dccb3412e1a2e8199cc7f9b1ef6d14cb9508

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