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

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.2.tar.gz (10.0 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.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cornerstones_client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 89b3fadb31ebbe755575a7915f80d83708627de50958b3d87fa6ffa75567ce70
MD5 f2e00bdd9efba12ca160f91e90cbac83
BLAKE2b-256 1823b23f23a5e70fe8b24b91f9dd2e15299243ff4e1a6fe154124ba8c4bd03d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cornerstones_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d634b2d390d0bc64dac153d6ee77454b2b933f7d84d6d979086697ab4535572
MD5 e7e9d097873c343a9d390e75a2524bde
BLAKE2b-256 c3f50aa95d5967ebdf78cb941ebac737ac04b06b84804be0ba38788f2d51cae2

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