Skip to main content

No project description provided

Project description

Surf archiver: CLI tool

Surf-Archiver copies daily data from S3, bundling it into a per experiment per day tar archive.

It consists of two components:

  1. a CLI tool
  2. a remote client which can execute CLI installed on a remote machine

The CLI tool can be installed via pipx.

Development

The easiest way to develop the tool is via docker. This ensures that you can connect to the dependent services (e.g. s3, rabbitmq). The prestart container ensures that some test data is populated on s3.

The surf-archiver-cli container allows for the invocation of the cli tool. For example:

docker compose run --rm surf-archiver-cli
surf-archiver --help # See the available commands

surf-archiver archive 2000-01-01  # archive a specific day
cat /data/app.log  # check the logs
ls /data/  # See what data has been archived

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

surf_archiver-0.1.1a2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

surf_archiver-0.1.1a2-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file surf_archiver-0.1.1a2.tar.gz.

File metadata

  • Download URL: surf_archiver-0.1.1a2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for surf_archiver-0.1.1a2.tar.gz
Algorithm Hash digest
SHA256 beac460a429da21dbd52a59a4dbc5b164504e35e0d7fc0f9b92649157e430c20
MD5 0a820fa512edc8653844647e332e78c8
BLAKE2b-256 b5da5b83eaf35dfd1bdee62a8998dae8f540d9b8bd6dea70446f0f79e59c3bb8

See more details on using hashes here.

File details

Details for the file surf_archiver-0.1.1a2-py3-none-any.whl.

File metadata

  • Download URL: surf_archiver-0.1.1a2-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for surf_archiver-0.1.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 dadce4acb9e796186663e877f37262f670f328e12cff53e2ef57a9c0dafbd7a7
MD5 785f8ffbd588e81c066b87cd9724c563
BLAKE2b-256 6e6c7d7ecfae30347c8300008acc08724ad5fff5a8805c40d16d02cf70f18733

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page