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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for greatsky_internal_metaflow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9578b683108a0541f280374a513896a30384907cbd1f428302061342ea5a7b1b
MD5 9fb778ee89ee85ae50fab5fe07f339fa
BLAKE2b-256 4e8c303744e2c3618f30ccce81a27ea232288300b60b61aa99d7806c9f1d02ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for greatsky_internal_metaflow-0.1.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for greatsky_internal_metaflow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a43f92bae0deb6e645339c608bd281a7f0e9614fe8bddf478ce978be11ec51f2
MD5 829d9bc2d348282ca87d64c397dfb3ab
BLAKE2b-256 26ab84caff4129dd4142d388c51cb9dab4854ac49c19f9160474940e54e8e6be

See more details on using hashes here.

Provenance

The following attestation bundles were made for greatsky_internal_metaflow-0.1.2-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