Skip to main content

alphai

A CLI tool and Python package for the runalph.ai platform.

Installation

pip install alphai

Quick Start

  1. Authenticate with your runalph.ai account:

    alphai login
    
  2. Start JupyterLab connected to Alph:

    alphai jupyter lab
    

    This will prompt you to select an organization and project, then start JupyterLab locally with cloud sync.

  3. Manage notebooks:

    alphai nb
    

    Opens an interactive browser to view, upload, download, and manage your notebooks.

Commands

Authentication

alphai login              # Browser-based login (recommended)
alphai login --token TOK  # Login with a token from runalph.ai/account/tokens
alphai login --force      # Force re-authentication
alphai logout             # Clear credentials
alphai status             # Show auth status and config

Jupyter

Start JupyterLab or Jupyter Notebook locally, connected to your Alph workspace:

alphai jupyter lab                          # Interactive org/project selection
alphai jupyter lab --org my-org --project my-project
alphai jupyter lab --port 9999              # Custom port
alphai jupyter lab --local-only             # Skip cloud connection
alphai jupyter lab --quiet                  # Suppress Jupyter logs
alphai jupyter notebook                     # Classic notebook interface

Notebooks

Manage notebooks from the command line:

alphai nb                                   # Interactive browser
alphai nb list                              # List notebooks
alphai nb list --org my-org                 # List in specific org
alphai nb view <notebook-id>                # View in terminal
alphai nb info <notebook-id>                # Show notebook info
alphai nb upload analysis.ipynb --org my-org
alphai nb download <notebook-id>
alphai nb publish <notebook-id>             # Make public
alphai nb unpublish <notebook-id>           # Make private
alphai nb delete <notebook-id>
alphai nb search "machine learning"
alphai nb fork <notebook-id> --org my-org
alphai nb tags <notebook-id> --add "python,ml"

Organizations & Projects

alphai orgs list                # List your organizations
alphai orgs select <org-id>     # Set current org context

alphai projects list            # List projects
alphai projects select <id>     # Set current project context

Configuration

alphai config show              # View current config
alphai config set key value     # Set a config value
alphai config reset             # Reset to defaults

Environment Variables

  • ALPHAI_BEARER_TOKEN: Bearer token for authentication
  • ALPHAI_API_URL: Custom API base URL
  • ALPHAI_DEBUG: Enable debug mode

Global Options

alphai --debug <command>        # Enable debug logging
alphai --version                # Show version
alphai --help                   # Show help

Learn More

Release files for alphai 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alphai 0.3.1
File Size Uploaded
alphai-0.3.1.tar.gz 49.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alphai 0.3.1
File Interpreter ABI Platform
alphai-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 105.7 kB

Release files / alphai-0.3.1.tar.gz

Download URL alphai-0.3.1.tar.gz
Size 49.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e1c1feb3cead5be6196c3b9cdab1f9acec3668e48ff747c8a043926b423b0a8e
BLAKE2b-256 checksum
How to use checksums
9f921752f260cd530010c9ab6476c477f9c233b5822e18960c0fe746a87ae586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / alphai-0.3.1-py3-none-any.whl

Download URL alphai-0.3.1-py3-none-any.whl
Size 56.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e813262626b5320b56610cc6b10f366104cf7ae2c07b04adfa8ede7dcd821afa
BLAKE2b-256 checksum
How to use checksums
bac48e93e6f812771796d9b7f5269bf1515dbb453ed18adc7c0cc720efdce965
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page