Skip to main content

This is a repository for managing embarassingly parallel experiments with Hatchet.

Project description

Scythe

Release Build status codecov Commit activity License

Scythe is a lightweight tool which helps you seed and reap (scatter and gather) emabarassingly parallel experiments via the asynchronous distributed queue Hatchet.

The project is still in the VERY EARLY stages, and will likely evolve quite a bit in the second half of 2025.

Motivation

In my experience helping colleagues with their research projects, academic researchers and engineers often have the ability to define their experiments via input and output specs fairly well and would love to run at large scales, but often get limited by a lack of experience with distributed computing techniques, eg. artifact infil- and exfiltration, handling errors, interacting with supercomputing schedulers, dealing with cloud infrastructure, etc.

The goal of Scythe is to abstract away some of these details to let researchers focus on what they are familiar with (i.e. writing consistent input and output schemas and the computation logic that transforms data from inputs into outputs) while automating the boring but necessary work to run millions of simulations (e.g. serializing data to and from cloud buckets, configuring queues, etc).

There are of course lots of data engineering orchestration tools out there already, but this is a bit more lightweight and hopefully a little simpler to use, at the expense of less things like (for now) not robustly tracking data lineage, etc. Somet

Hatchet is already very easy (and fun!) to use for newcomers to distributed computing, so I recommend checking out their docs - you might be better off simply directly running Hatchet! Scythe is just a lightweight modular layer on top of it which is really tailored to the use case of generating large datasets of consistently structured experiment inputs and outputs. Another option you might check out would be something like Coiled + Dask.

Documentation

Coming soon...

However, in the meantime, check out the example project to get an idea of what using Scythe with Hatchet looks like.

To-dos (help wanted!)

  • Start documenting
  • ExperimentRun class
  • Results downloaders
  • Automatic local artifact conversion to cloud artifacts

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

scythe_engine-0.0.18.tar.gz (186.0 kB view details)

Uploaded Source

Built Distribution

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

scythe_engine-0.0.18-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file scythe_engine-0.0.18.tar.gz.

File metadata

  • Download URL: scythe_engine-0.0.18.tar.gz
  • Upload date:
  • Size: 186.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for scythe_engine-0.0.18.tar.gz
Algorithm Hash digest
SHA256 29185654fdcc126aed535fc44e02362b91f1a506699ecec91036dd6557c4c037
MD5 2c76d21f57c933c1b5ed563f02a1ae3b
BLAKE2b-256 7f8d73bd68254bc67d5fd9b540584362cdd2f17f14dc3e62e049f069fc47cb11

See more details on using hashes here.

File details

Details for the file scythe_engine-0.0.18-py3-none-any.whl.

File metadata

File hashes

Hashes for scythe_engine-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 09cd62e609c3e0ff49759fc303d1da7528269be7b7dc633c372abb865936f26f
MD5 83a77769ef7ffb1cec23c0119e5660fc
BLAKE2b-256 0134cc67c0d71740046e616f105776f7049c0d655e866771ef37afeeaa3be139

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