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.5.tar.gz (32.8 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.5-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for syft_installer-0.8.5.tar.gz
Algorithm Hash digest
SHA256 c7dba2d30dc1e5fcdbde199f0a0a2182f91b3c8cfc83bbe1c7cb91c1f65ab461
MD5 7ed7b3dc263420af0d627b38fa127ffb
BLAKE2b-256 9721a78291b8c8b52939c93178fbf98a1140b1b241715882332b50ac8207951c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for syft_installer-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 97356aa85e2be591a35c82fdb99af4e9bfddf434a09e007e317254cbe5570e81
MD5 1a0f0e48c690e14c7f86417131e070fa
BLAKE2b-256 6e2b231dd8955ce1407f159b538e29a4aa5e6175bd0f315cd33b06b7dbaefca2

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