Skip to main content

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.

Metadata

Release files for filetracker 2.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filetracker 2.3.3
File Size Uploaded Provenance Actions
filetracker-2.3.3.tar.gz 60.7 kB Without provenance Details for filetracker-2.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for filetracker 2.3.3
File Interpreter ABI Platform Actions
filetracker-2.3.3-py3-none-any.whl Python 3 none any Details for filetracker-2.3.3-py3-none-any.whl

Total release size: 123.4 kB

Release files / filetracker-2.3.3.tar.gz

Download URL filetracker-2.3.3.tar.gz
Size 60.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2ea641c70320896d36ad306762597e4bd1c19fffed30f78e5b76bd2ce15608e9
BLAKE2b-256 checksum
How to use checksums
93cd0297dbf4e96dfaa545771d514cd4aabf7565f71d84cc2c30e10525dec471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / filetracker-2.3.3-py3-none-any.whl

Download URL filetracker-2.3.3-py3-none-any.whl
Size 62.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3de59b754e904fa9dbd33d05a4801dd0aa288dfbff6a24d69b966c306d5266f
BLAKE2b-256 checksum
How to use checksums
2125a67e6d5eec088953b40e67cc9f631b10fe2f65c8084c0ed3b53eb2348921
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for filetracker 2.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page