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

cornerstones-client auth set-base-url --base-url https://your-cornerstones-portal
cornerstones-client auth set-api-base-url --api-base-url https://your-cornerstones-api
cornerstones-client trial start
cornerstones-client trial token
cornerstones-client guide
cornerstones-client changelog
cornerstones-client auth login --api-key <issued-api-key>
cornerstones-client verify
cornerstones-client auth status

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.1.tar.gz (9.7 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.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cornerstones_client-0.1.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cornerstones_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7e52af390228ad6bf17a6f0f3456bb7e7d9b928aef4abf9195aaa5cbbd9c5e99
MD5 5419c34511df59352dff5960ed3db759
BLAKE2b-256 31d4129b979a26d8493973701a38af45ebc0f7d129e71e9166fca971b22e8ab0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cornerstones_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa1a54f7bf0f8cf35f7f38b924a8e54193d9791dc1732771c6adfccf0eda355a
MD5 326875277142ad1a34a921e08cbaa39d
BLAKE2b-256 a2b37fd855a305b701227a57f1d3068e2a067806f8784cfc18d8fba2159ad2b0

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