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 fx quote --symbol EURUSD
cornerstones-client fx bars --symbol EURUSD --timeframe 1h --count 50
cornerstones-client fx indicators --symbol USDJPY --timeframe H1 --bars 200
cornerstones-client context fx --symbol XAUUSD
cornerstones-client evidence feed --asset XAUUSD --limit 5
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.4.tar.gz (12.9 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.4-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cornerstones_client-0.1.4.tar.gz
  • Upload date:
  • Size: 12.9 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.4.tar.gz
Algorithm Hash digest
SHA256 6bc330ffcd0411f367f2a86cb8114e1e74ebcf1657a4012f1327b1f9fa80859d
MD5 61ee84340f346abe0b03aa482c5b2239
BLAKE2b-256 6d46be3d0fcee47fc4f35b4555b135f8841c4bd76313d0e048ab4a5b7c3ce4e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cornerstones_client-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7b1fda651480260e99516e0bd628f8d38855544ade385841ab7c9214a31b4a43
MD5 e72456edf8115429f171715f93f4a0ef
BLAKE2b-256 64ba80261f9c95729e20d45738dd5b0a3f57f07c2325fe84c82e064f4ddfabd0

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