Python installer for SyftBox - programmatic alternative to the TUI installer
Project description
SyftBox Installer
A beautifully simple Python interface for installing and managing SyftBox.
Installation
pip install syft-installer
Quick Start
import syft_installer as si
# Install and run SyftBox with one line
si.run()
That's it! This single command:
- ✅ Downloads SyftBox
- ✅ Handles authentication (email + OTP)
- ✅ Creates necessary directories
- ✅ Starts the background daemon
- ✅ Shows you the status
Simple API
import syft_installer as si
si.run() # Install (if needed) and start
si.status() # Show current status
si.stop() # Stop the daemon
si.restart() # Restart the daemon
si.start_if_stopped() # Start only if not running
si.uninstall() # Remove everything
# Quick checks
si.is_installed() # -> True/False
si.is_running() # -> True/False
Examples
- Jupyter Notebook Quickstart - Interactive tutorial
- CLI Quickstart - Command-line example
Advanced Usage
For more control, you can use the underlying installer classes:
import syft_installer as si
# Simple installer
installer = si.SimpleInstaller(email="user@example.com")
installer.step1_download_and_request_otp()
installer.step2_verify_otp("ABCD1234")
# Or use the full installer
installer = si.Installer()
installer.install()
Documentation
See the docs/ directory for:
License
MIT License - see LICENSE file.
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 syft_installer-0.8.9.tar.gz.
File metadata
- Download URL: syft_installer-0.8.9.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccecebd1c98da6effba16febdb27add1d27353633a4dfeabbac7b88abbb5b507
|
|
| MD5 |
5368681c9d41557610384d5f2cb7fb73
|
|
| BLAKE2b-256 |
d46c043867d6da3f71517d28bf8ea2d93f76757fe5fc185fd762d9fb1f0d17ba
|
File details
Details for the file syft_installer-0.8.9-py3-none-any.whl.
File metadata
- Download URL: syft_installer-0.8.9-py3-none-any.whl
- Upload date:
- Size: 35.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6385fb5a1c18634b5a5dae6253a73412b15c78fce8c1118381790ab089508d8b
|
|
| MD5 |
43380ec901c2928dfaf8d2a473a2cba8
|
|
| BLAKE2b-256 |
90bcd6be2b312882d7f700caa4eff0f443816d1edfb4ff9845a6b92917ff2e38
|