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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alphai-0.3.1.tar.gz (49.4 kB view details)

Uploaded Source

Built Distribution

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

alphai-0.3.1-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

Details for the file alphai-0.3.1.tar.gz.

File metadata

  • Download URL: alphai-0.3.1.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for alphai-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e1c1feb3cead5be6196c3b9cdab1f9acec3668e48ff747c8a043926b423b0a8e
MD5 17a7619507d4820c9c94c46462a4317b
BLAKE2b-256 9f921752f260cd530010c9ab6476c477f9c233b5822e18960c0fe746a87ae586

See more details on using hashes here.

File details

Details for the file alphai-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: alphai-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 56.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for alphai-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e813262626b5320b56610cc6b10f366104cf7ae2c07b04adfa8ede7dcd821afa
MD5 487687d76bffeedfed6ed0eaa3cefec5
BLAKE2b-256 bac48e93e6f812771796d9b7f5269bf1515dbb453ed18adc7c0cc720efdce965

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page