Skip to main content

CLI for authenticating with the GreatSky Metaflow platform

Project description

greatsky-internal-metaflow

CLI for authenticating with the GreatSky Metaflow platform.

Install

pip install greatsky-internal-metaflow

Quick Start

# Authenticate (opens GitHub in your browser)
gsm login

# Verify everything is working
gsm validate

# Run Metaflow flows — no further config needed
python my_flow.py run

Commands

Command Description
gsm login Authenticate via GitHub Device Flow and configure Metaflow
gsm logout Remove local credentials and config
gsm status Show current authentication state
gsm validate Check auth and platform connectivity
gsm admin invite <user> [--expires 90d] Invite a GitHub user as guest
gsm admin revoke <user> Remove a guest's access
gsm admin guests List all invited guests

How It Works

  1. gsm login starts a GitHub Device Flow — you get a code to enter at github.com/login/device
  2. Once authorized, the CLI exchanges the GitHub token with the GreatSky auth API for a platform API key
  3. The API key and full Metaflow config are written to ~/.metaflowconfig/config.json
  4. Metaflow reads that config natively — no wrappers or env vars needed

API keys are valid for 14 days and are automatically revoked if you leave the GitHub org.

Development

git clone https://github.com/greatsky-ai/greatsky-internal-metaflow.git
cd greatsky-internal-metaflow
pip install -e ".[dev]"
pytest

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

greatsky_internal_metaflow-0.1.0.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

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

greatsky_internal_metaflow-0.1.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for greatsky_internal_metaflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 71944a1f53c32e6f04ecf30deedee85097e7273738a289d06683568aa2dc5476
MD5 22602e42fc899ff5f1e926f64d147486
BLAKE2b-256 39f93a51acd6650e919a5ca52156d2f3d3ed59c7f6492a6b932ec1162bcdbbf4

See more details on using hashes here.

Provenance

The following attestation bundles were made for greatsky_internal_metaflow-0.1.0.tar.gz:

Publisher: publish.yml on greatsky-ai/greatsky-internal-metaflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for greatsky_internal_metaflow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c2aee907d7517be0c40bb86e6b2330966b3b356bdf42704ff8d10bf6870075e
MD5 b3db52e34c85219926210d234be38e1c
BLAKE2b-256 412c708873b5e2a5620fc384ef2ede71911fd15573808bd9beb03f88dbfbf8b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for greatsky_internal_metaflow-0.1.0-py3-none-any.whl:

Publisher: publish.yml on greatsky-ai/greatsky-internal-metaflow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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