Skip to main content

Filetracker caching file storage - Stowarzyszenie Talent's fork

Project description

filetracker

Build Status

A simple file storage module for distributed systems.

About

Filetracker has a client-server architecture: the server is the primary storage, and every client may have its own cache. Client has a Python API, and can be also invoked from the shell. Interaction between client and server is based on a simple HTTP API (Filetracker protocol).

Files are stored on the server compressed and deduplicated. A peculiar versioning scheme is supported: files are versioned by their modification timestamps, and some operations accept file versions as parameters (e.g. adding a file with an older version will have no effect if there's already a file with the same name and newer version).

Using

CAUTION: Filetracker has no security measures since it's meant to be used in internal networks. Don't put any sensitive data in filetracker without first making sure that it can't be reached from untrusted hosts.

Filetracker server requires Berkeley DB to run. On Debian-based systems it can be installed as libdb-dev.

After installing filetracker in a virtualenv, various scripts are added to $PATH. The most important ones are filetracker-server and filetracker. A simple filetracker server can be started with filetracker-server -L log.txt -l 127.0.0.1 -p 9999 -D. Read the scripts' help pages for more detailed information on running them.

Scripts

There are some useful scripts for working with filetracker in filetracker.scripts package, namely:

  • filetracker-migrate for uploading directories recursively to the server
  • filetracker-recover for recovering storage metadata after serious failures
  • filetracker-cache-cleaner for cleaning client cache

Check out the source or run them with -h for detailed information.

Upgrading from older versions

Testing

The recommended way to run tests is using tox. Install tox globally (either with pip install tox, or using your distribution's package manager), and simply run tox.

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

filetracker_talent-2.4.1.tar.gz (64.7 kB view details)

Uploaded Source

Built Distribution

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

filetracker_talent-2.4.1-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

Details for the file filetracker_talent-2.4.1.tar.gz.

File metadata

  • Download URL: filetracker_talent-2.4.1.tar.gz
  • Upload date:
  • Size: 64.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for filetracker_talent-2.4.1.tar.gz
Algorithm Hash digest
SHA256 ad638c17328bc35881bbe855135d87c9e1f6f1db3060ecb961ee20001c61c996
MD5 90e126c9c9b29dabac3f8bd49dda2e2c
BLAKE2b-256 dc3c8942974e34bd6932a30503152c82c2d4607bc7d9f49df19cba6939aaf476

See more details on using hashes here.

File details

Details for the file filetracker_talent-2.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for filetracker_talent-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b289b24c469c1bf8de1e2e506e2c7466bd9c9f46f0240ede903fcbb5c5c6d5
MD5 a9a553e2e36f22183380bda9cc5a0f59
BLAKE2b-256 5d961621ec53a0162bc9b1b65cb1d132705ea3bcf4029f96bb1e5db186bee3d4

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