Skip to main content

insighta-cli

CI PyPI Python License

Insighta Cloud CLI — portfolio upload framework with plugin support.

Installation

pip install insighta-cli

Usage

# Prepare upload files from trade history
insighta --work my-portfolio prepare

# Upload to Insighta Cloud
insighta --work my-portfolio upload --config output/upload.yaml

# Portfolio management
insighta list-portfolios
insighta search-portfolios --search "tech"
insighta delete-portfolio <portfolio_id>
insighta nav-history <portfolio_id>
insighta metrics-history <portfolio_id>

# News & search
insighta news --period 7
insighta search "AAPL"

# Order history
insighta orders --portfolio-id <portfolio_id>

# History & backfill
insighta history <portfolio_id>
insighta backfill <portfolio_id>

# Image parsing
insighta image screenshot.png --prompt "Extract trades from this image"

# Configuration
insighta config --credentials credentials.yaml

Commands

Command Description
prepare Generate upload.yaml + order.csv from trade history
upload Send portfolio data to Insighta API
config Save/display default settings
list-portfolios List own portfolios
search-portfolios Search public portfolios
delete-portfolio Delete a portfolio
nav-history Get NAV history
metrics-history Get metrics history
news Fetch recent news
search Search entities by keyword
history Get combined NAV + metrics history
orders List order history
image Upload and parse images with AI
backfill Trigger history backfill
parse Parse brokerage trade history (via plugin)
verify Verify CSV against actual holdings (via plugin)
plugins Show installed broker plugins

All commands support --output-json for machine-readable output.

Plugin System

Brokerage-specific tools register as plugins via entry_points:

[project.entry-points."insighta_cli.plugins"]
sbi = "insighta_sbi"

Broker Commands

Plugins provide parse and verify commands:

# Parse brokerage trade history into CSV
insighta --work my-portfolio parse
insighta --work my-portfolio parse --rate 155.12
insighta --work my-portfolio parse --rate-file rates.csv

# Verify CSV against actual holdings
insighta --work my-portfolio verify

# List installed plugins
insighta plugins

Multiple Plugins

When only one plugin is installed, it is used automatically. With multiple plugins, specify the broker in <work>/input/project.yaml:

broker: sbi

Available Plugins

Development

pip install -e ".[dev]"
pre-commit install
insighta --help

See CONTRIBUTING.md for guidelines.

License

CC-BY-NC-4.0 — See LICENSE

Metadata

Release files for insighta-cli 0.2.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 insighta-cli 0.2.0
File Size Uploaded Provenance Actions
insighta_cli-0.2.0.tar.gz 20.2 kB With provenance Details for insighta_cli-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for insighta-cli 0.2.0
File Interpreter ABI Platform Actions
insighta_cli-0.2.0-py3-none-any.whl Python 3 none any Details for insighta_cli-0.2.0-py3-none-any.whl

Total release size: 43.7 kB

Release files / insighta_cli-0.2.0.tar.gz

Download URL insighta_cli-0.2.0.tar.gz
Size 20.2 kB
Tags Source
SHA-256 checksum
How to use checksums
241e0bc2b17700cf3b036afe71c29dccd7b2a18df32ef9d79739b66ed53b6d0d
BLAKE2b-256 checksum
How to use checksums
5ed8c609ea5dd1e5f078e614af328db2f7ffd234b1c523ebb05fd2a6d54c3674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 30, 2026.

Transparency log

Release files / insighta_cli-0.2.0-py3-none-any.whl

Download URL insighta_cli-0.2.0-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
959497c93e1226c57b10625cb05a0046d13fb15d6e7bcf562f6bd7d31dc0664b
BLAKE2b-256 checksum
How to use checksums
3aeae65b78f197bfaa58c3ab60e4ae74aa38170f404ca7644c539fbed39c8854
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 30, 2026.

Transparency log

Security for insighta-cli 0.2.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for insighta_cli-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 30, 2026.

Transparency log

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.

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