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
gsm loginstarts a GitHub Device Flow — you get a code to enter at github.com/login/device- Once authorized, the CLI exchanges the GitHub token with the GreatSky auth API for a platform API key
- The API key and full Metaflow config are written to
~/.metaflowconfig/config.json - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file greatsky_internal_metaflow-0.1.1.tar.gz.
File metadata
- Download URL: greatsky_internal_metaflow-0.1.1.tar.gz
- Upload date:
- Size: 44.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d203217f1674605a65dc7ae32d6d18b49f86879b071c346215ed38c9ad2b654
|
|
| MD5 |
ede5c7bd484c5a4f2aa9408249555bd2
|
|
| BLAKE2b-256 |
fee0a779df0be10285bc401e6a3498bb08260f24e9dffe101b0b89d8fcb2311f
|
Provenance
The following attestation bundles were made for greatsky_internal_metaflow-0.1.1.tar.gz:
Publisher:
publish.yml on greatsky-ai/greatsky-internal-metaflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
greatsky_internal_metaflow-0.1.1.tar.gz -
Subject digest:
8d203217f1674605a65dc7ae32d6d18b49f86879b071c346215ed38c9ad2b654 - Sigstore transparency entry: 975654903
- Sigstore integration time:
-
Permalink:
greatsky-ai/greatsky-internal-metaflow@dff577b4f274bd3d89817c2cfc8049fef24a4433 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/greatsky-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dff577b4f274bd3d89817c2cfc8049fef24a4433 -
Trigger Event:
push
-
Statement type:
File details
Details for the file greatsky_internal_metaflow-0.1.1-py3-none-any.whl.
File metadata
- Download URL: greatsky_internal_metaflow-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
084b9898aa67e3df7afee9b35a65adfd7681db61831ea7a521e439934f55efe5
|
|
| MD5 |
8f329b5b90a64250559300007bc24117
|
|
| BLAKE2b-256 |
7dfd4571b19b49d3b1b985a841a2568006afb6593fe3a38c66feafa603167675
|
Provenance
The following attestation bundles were made for greatsky_internal_metaflow-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on greatsky-ai/greatsky-internal-metaflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
greatsky_internal_metaflow-0.1.1-py3-none-any.whl -
Subject digest:
084b9898aa67e3df7afee9b35a65adfd7681db61831ea7a521e439934f55efe5 - Sigstore transparency entry: 975654905
- Sigstore integration time:
-
Permalink:
greatsky-ai/greatsky-internal-metaflow@dff577b4f274bd3d89817c2cfc8049fef24a4433 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/greatsky-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dff577b4f274bd3d89817c2cfc8049fef24a4433 -
Trigger Event:
push
-
Statement type: