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.11.tar.gz (33.5 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.11-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for syft_installer-0.8.11.tar.gz
Algorithm Hash digest
SHA256 99478c0ff9f744128c7b6739f57ae12cd57c663066d053f971db3e819e03fe92
MD5 d9bcfd3ca3840acd455193d3cc6e5df1
BLAKE2b-256 9676ec69c3c2aedc6507ef98514d18fd1b0632c8c18cb930c414f3c5442bee61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for syft_installer-0.8.11-py3-none-any.whl
Algorithm Hash digest
SHA256 2ab7ab13e25967934fd4b4318f1212816b89cef3244c85681bf725b82cbf9092
MD5 014b5700c2f6e756de8cbd4e3c44e975
BLAKE2b-256 6c24c1b675962a298a29ae8711d5b2984054d4150d18a7a10104b1ad12f244ff

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