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.14.tar.gz (34.7 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.14-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for syft_installer-0.8.14.tar.gz
Algorithm Hash digest
SHA256 84836685bd0b8ba3f10edaff4502fd01d6ae248ad010771d31316a51e1799ab1
MD5 c84490f5cde25126cca772c7e1b0ee54
BLAKE2b-256 3e2c74179ce1ef1eb55d0a94ecdabae45a26550f3ff0b2af354cee64357af233

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for syft_installer-0.8.14-py3-none-any.whl
Algorithm Hash digest
SHA256 4d75e8921f91d17c0033b64dd279b881f00e3d9ea8db762ce400bc14a421fbe9
MD5 1bbfbd1f8ad8691b41f5cd30be80bef7
BLAKE2b-256 71660d130ae30d4deb8df194c37d3ac7ef4a87d1bee3b8eaa8033ba2b1bd2145

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