A CLI tool and Python package for the runalph.ai platform
Project description
alphai
A CLI tool and Python package for the runalph.ai platform.
Installation
pip install alphai
Quick Start
-
Authenticate with your runalph.ai account:
alphai login -
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.
-
Manage notebooks:
alphai nbOpens 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 authenticationALPHAI_API_URL: Custom API base URLALPHAI_DEBUG: Enable debug mode
Global Options
alphai --debug <command> # Enable debug logging
alphai --version # Show version
alphai --help # Show help
Learn More
- Documentation: docs.runalph.ai
- Website: runalph.ai
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 alphai-0.3.0.tar.gz.
File metadata
- Download URL: alphai-0.3.0.tar.gz
- Upload date:
- Size: 49.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8c50684736c709fc09fceae88da14fd10126773a5da9b9492bcc8d692a3706c
|
|
| MD5 |
fc2581b780881a7ead64633e3b57275d
|
|
| BLAKE2b-256 |
0ad8332e383c0def63ff5428f8c0553a852a4fe5383319269ece04c8fb0ea4d7
|
File details
Details for the file alphai-0.3.0-py3-none-any.whl.
File metadata
- Download URL: alphai-0.3.0-py3-none-any.whl
- Upload date:
- Size: 56.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45ab15259c5b006781a28c2077886cd0f086887038b1c84d7374a7ab5fd454d9
|
|
| MD5 |
984ad0d0dc479b7d8721f21eec8acfa9
|
|
| BLAKE2b-256 |
8cdc3c30978ba34bd3493b6bcbbf7098392abf7f434ccd99e31e5a1cd223da50
|