Skip to main content

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

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


Download files

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

Source Distribution

syft_installer-0.8.8.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

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

syft_installer-0.8.8-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

Details for the file syft_installer-0.8.8.tar.gz.

File metadata

  • Download URL: syft_installer-0.8.8.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.20

File hashes

Hashes for syft_installer-0.8.8.tar.gz
Algorithm Hash digest
SHA256 c3d7cd6c026ba3d974ace478beb886fd1f95e06afe101dc64d7b1c3fd1208968
MD5 ad92749528af0125995339d010008566
BLAKE2b-256 531ae2e2f0f066973f5e767497477cb411f235ea52de38216594002992e630d9

See more details on using hashes here.

File details

Details for the file syft_installer-0.8.8-py3-none-any.whl.

File metadata

File hashes

Hashes for syft_installer-0.8.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1fe0dbba9394fe7204be6000d503ade6d623e22e135961aafdc130fe42753560
MD5 4186e5763130f0671034e68a8150e611
BLAKE2b-256 4195b4c0fb8369e6639ba0cb52fa11719db58c06a9c5e89cedd41cb104e7faa7

See more details on using hashes here.

Supported by

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