Skip to main content

SnapFS Python client and CLI

Project description

SnapFS (Python Client)

SnapFS is a file indexing and metadata system designed for large-scale production environments such as VFX, animation, gaming, simulation, and data pipelines.

Status

Early development.

APIs, schemas, and endpoints may evolve rapidly before the 1.0 release.

Features

  • Filesystem scanning and metadata ingestion
  • Cache-aware incremental hashing
  • Async gateway client built on aiohttp
  • Command-line interface for common operations

Installation

pip install snapfs

or install from source:

pip install -e .

Install The Systemd Agent

For Linux hosts that should run the SnapFS scanner agent as a service:

git clone https://github.com/snapfsio/snapfs
cd snapfs
pip install .
./systemd/install.sh

The installer expects the snapfs CLI to already be installed and available in PATH. Run the installer as your normal user; it will prompt for elevated privileges when it reaches the root-only systemd setup steps.

For production service installs, prefer installing snapfs into a stable system-level Python environment rather than a user-local virtualenv.

Current systemd installer support is Linux-only. Windows service support is planned but not available yet.

Development

Install developer dependencies:

pip install -e .[dev]

Run the test suite:

pytest -q

Quick Start

Scan a directory and publish metadata:

snapfs scan /mnt/projects

Requirements

  • Python 3.8+

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

snapfs-0.4.0.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snapfs-0.4.0-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file snapfs-0.4.0.tar.gz.

File metadata

  • Download URL: snapfs-0.4.0.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for snapfs-0.4.0.tar.gz
Algorithm Hash digest
SHA256 11a5407dfb32a4f3f5a094ba18647f25808edb11c82e21f037641094e62dad13
MD5 84b27cfe4b02978cfabfd9a1031d48cc
BLAKE2b-256 f4d76871d9e9fd76f79c47273df90dc353e2a12c0692ca1e57cb93c9c04960b6

See more details on using hashes here.

File details

Details for the file snapfs-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: snapfs-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for snapfs-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b7703c67334a7b38eba5f7eb44a3f0daa01ce2dece9f05e0facb903f1b58dfe
MD5 ef42f237a1469654f3558a5f07ce2f84
BLAKE2b-256 c05877e47908ca67830c7c49abf4a55819ca37a08d1b1519f621ef60f1661300

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