Skip to content

v0.0.7: Simplified Installation

Latest

Choose a tag to compare

@samuelmukoti samuelmukoti released this 14 Nov 19:30
· 2 commits to main since this release

Simplified Installation with Automatic Hardware Acceleration

This release makes CensorBot even easier to use by automatically installing the best dependencies for your platform. No more manual extras selection!

What's New

🎯 Simplified Installation

  • MLX dependencies now auto-install on Apple Silicon (M1/M2/M3 Macs)
  • Single command works everywhere with optimal performance
  • No need to specify [mlx] extras anymore

📦 Before (v0.0.6)

# Had to choose the right variant
pipx run --spec 'censorbot[mlx]' censorbot -i video.mp4 -o output.mp4  # Apple Silicon
pipx run censorbot -i video.mp4 -o output.mp4  # Other platforms

✨ After (v0.0.7)

# One command for all platforms
pipx run censorbot -i video.mp4 -o output.mp4

Technical Details

Platform-Specific Dependencies

  • Uses Python environment markers: platform_system=='Darwin' and platform_machine=='arm64'
  • MLX automatically installed only on Apple Silicon
  • Torch installed on all platforms (CPU/CUDA support)
  • No unnecessary dependencies on other platforms

Hardware Acceleration (Automatic)

  • Apple Silicon: Metal/Neural Engine via MLX (auto-installed)
  • NVIDIA GPU: CUDA acceleration (requires CUDA toolkit)
  • CPU: Multi-threaded processing (works everywhere)

Installation

# Install from PyPI
pip install censorbot

# Or use pipx
pipx install censorbot

# Run without installing
pipx run censorbot -i input.mp4 -o output.mp4

Requirements

  • FFmpeg (must be installed separately)
    • macOS: brew install ffmpeg
    • Ubuntu/Debian: sudo apt-get install ffmpeg
    • Windows: Download from ffmpeg.org
  • Python 3.8+

Full Changelog

  • Added platform-specific MLX dependencies with environment markers
  • Simplified README installation instructions
  • Removed manual extras selection complexity
  • Version bump: 0.0.6 → 0.0.7

🤖 Generated with Claude Code

Installation

Via Pip

pip install censorbot==0.0.7

Via Docker

docker pull samuelmukoti/censorbot:0.0.7