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

Public PyPI publication is being prepared but is not live yet.

Until the first public release, install from a checked-out source tree or from a locally built wheel:

python -m pip install .

For local packaging verification:

python -m build
python -m pip install dist/cornerstones_client-0.1.0-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 pre-release public-safe client surface under active productization. Current focus is packaging hardening, truthful onboarding, stable discovery flows, and release automation.

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 once PyPI/TestPyPI tokens are configured

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.0.tar.gz (6.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.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cornerstones_client-0.1.0.tar.gz
  • Upload date:
  • Size: 6.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.0.tar.gz
Algorithm Hash digest
SHA256 3e3e61a12426d1a047e310e70089864a603ee20add17df65787dd3d27048abcd
MD5 0cdf938f292afba11a901a45076b170a
BLAKE2b-256 afd076f511dcd976e8738b91bd6442f22018cd483951693602e67d8c899af3a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cornerstones_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9285713985cd5a39404b732dc5f35b9b32c18a0de4a38089e3164ff54fb4fea0
MD5 1f30b9776924f12950bb4f39237e4380
BLAKE2b-256 bbd4fc5903d6991eddb98edd76de3a2ec00fe89fc50aea1defc14161ddf4e7af

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