Installation
Get SyftPerm installed and configured on your system in just a few steps.
Quick Install
Install SyftPerm from PyPI with pip:
Installation Options
🎯 Core Package
Basic SyftPerm functionality for file permission management:
Includes:
- Core permission management
- Pattern matching system
- YAML configuration
- Debugging tools
🚀 Full Package (Recommended)
Complete SyftPerm experience with all optional features:
Includes everything above plus:
- Web-based permission editor
- Rich table display in Jupyter
- Interactive HTML representations
- FastAPI server for UI
Optional Dependencies
You can also install specific optional features individually:
Adds the interactive web-based permission editor. Perfect for teams with non-technical members who need to manage permissions through a user-friendly interface.
Enhanced table formatting for Jupyter notebooks and terminals. Makes permission tables much more readable during development and debugging.
Deep integration with SyftBox core libraries. Required only if you're extending SyftBox itself or building custom SyftBox applications.
System Requirements
📋 Minimum Requirements
- Python: 3.9 or higher
- Operating System: Windows, macOS, or Linux
- Memory: 50MB RAM
- Disk: 10MB storage
🎯 Recommended Setup
- Python: 3.10+ for best performance
- Package Manager: pip 21+ or uv
- Environment: Virtual environment
- Editor: Jupyter notebooks for tutorials
Development Installation
Want to contribute to SyftPerm or work with the source code? Follow these steps:
🔧 Prerequisites
- Git installed on your system
- Python 3.9 or higher
- Virtual environment (recommended)
- Basic command line knowledge
⚡ Quick Setup
Get up and running in under 2 minutes:
- Clone the repository
- Install dependencies
- Run tests
- Start coding!
This installs SyftPerm in editable mode with all development dependencies including:
- dev: Testing frameworks, linters, build tools, and notebook testing tools (nbformat, nbconvert, ipykernel)
- server: Web UI dependencies
- display: Enhanced table formatting
nbformat, nbconvert, and ipykernel) before running notebook tests.
uv for faster dependency management:
📝 Contributing Guidelines
Ready to contribute? Check out our:
🛠️ Development Tools
Useful commands for development:
Verify Installation
Confirm that SyftPerm is installed correctly:
You should see output like:
Test basic functionality:
Troubleshooting
Problem: ERROR: Package requires Python >=3.9
Solution: Upgrade to Python 3.9 or higher. Check your version with python --version.
Problem: ModuleNotFoundError: No module named 'syft_perm'
Solution: Ensure you're using the correct Python environment. If using virtual environments, activate it first.
Problem: Web editor fails to start with FastAPI errors
Solution: Install server dependencies: pip install "syft-perm[server]"
Problem: Permission tables show as raw text instead of formatted tables
Solution: Install display dependencies: pip install "syft-perm[display]"
Next Steps
Now that SyftPerm is installed, here's what to do next:
🚀 Quick Start Tutorial
Learn the essentials in 5 minutes with our hands-on quick start guide.
📚 Complete Tutorials
Master advanced features with our comprehensive tutorial series.