Skip to main content

Public-safe Cornerstones client CLI for managed market context access

Project description

Cornerstones Client

Public-safe CLI for the managed Cornerstones product.

What it does

cornerstones-client gives downstream operators and agents a compact local client for:

  • storing the managed product portal URL and API URL separately
  • storing an issued product API key locally
  • starting a limited anonymous browser-compatible trial against the hosted portal
  • minting and caching a short-lived discovery trial token
  • reading public-safe discovery surfaces such as guide and changelog
  • verifying a real authenticated API key against /v1/status

Current command surface

python -m pip install cornerstones-client
cornerstones-client trial start
cornerstones-client guide
cornerstones-client auth login --api-key <issued-api-key>
cornerstones-client verify
cornerstones-client evidence feed --asset XAUUSD --limit 5
cornerstones-client alerts metrics
cornerstones-client alerts recent --limit 5
cornerstones-client alerts dead-letter --limit 5
cornerstones-client context fx --symbol XAUUSD
cornerstones-client context gold --symbol XAUUSD
cornerstones-client context stocks --symbol AAPL

Defaults are hosted and user-safe:

  • portal: https://www.usecornerstones.com
  • API: https://api.usecornerstones.com

Local operators can still override for development:

cornerstones-client auth set-base-url --base-url http://127.0.0.1:3001
cornerstones-client auth set-api-base-url --api-base-url http://127.0.0.1:8100

Install

cornerstones-client is now live on PyPI.

Install from PyPI:

python -m pip install cornerstones-client

Development/source install still works when you need local edits:

python -m pip install .

For machine-checkable local release readiness on a packaging host:

python scripts/verify_release_readiness.py

That preflight verifies:

  • pytest -q
  • local build + twine check
  • clean-venv wheel smoke install
  • current PyPI/TestPyPI package presence
  • current GitHub publish-secret presence

Human-side first-publication runbook:

  • docs/release/first-publication-runbook.md

For local packaging verification by hand:

python -m build
python -m pip install dist/cornerstones_client-0.1.1-py3-none-any.whl
cornerstones-client --help

Trial and auth notes

  • guide and changelog automatically request a short-lived discovery token if no full API key is present yet.
  • verify is intentionally stricter and requires a real issued API key.
  • Trial and discovery surfaces are limited-scope onboarding helpers, not a claim that every authenticated surface is available anonymously.

Config

The client stores local state in the user config directory as cornerstones-client/config.json.

Stored fields currently include:

  • portal_base_url
  • api_base_url
  • api_key
  • trial_cookie
  • trial_token

Status

This package is a public-safe client surface under active productization and is now published on PyPI. Current focus is truthful onboarding, stable discovery flows, and keeping package-side docs aligned with the managed Cornerstones product truth.

Recent managed-product truth now reflected upstream through discovery and changelog surfaces includes:

  • signed trial-backed discovery access for bounded guide / changelog flows
  • objective rolling correlation evidence in cross-asset context
  • continued hardening around bounded stocks and options workflows

The client is intentionally thin: many managed-service feature additions should flow through server-owned discovery and changelog surfaces without requiring a package code change.

Repository automation

This repo now includes GitHub Actions workflows for:

  • CI verification on push and pull request
  • package build + metadata checks
  • smoke install of built wheel
  • manual or release-driven publish workflow for TestPyPI and PyPI releases

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

cornerstones_client-0.1.3.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

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

cornerstones_client-0.1.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file cornerstones_client-0.1.3.tar.gz.

File metadata

  • Download URL: cornerstones_client-0.1.3.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for cornerstones_client-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9c34cece58bfc8fea2a54787b7148e5cc66e7fd0c05b3c20986aa25fceea7f41
MD5 c08777cbec8a5ae9861cd2a88f394b16
BLAKE2b-256 ebdb5df9be69af1858bd2ab973290b3115f49e93c8a92aa1e1ca1bbad3839ff3

See more details on using hashes here.

File details

Details for the file cornerstones_client-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for cornerstones_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 64d2fb22dba0433102c2d6f8d0b75506438d40f93c7e9a704fb5e93c27550ac2
MD5 52fecd884fa355c242302662f6049dbc
BLAKE2b-256 e8ee26f57e92d548e7a86d4162746c00cab63b0cdd917f0526b3fdcfbd730284

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