Skip to main content

Little async python library for dealing with GCP/Cloud Run Jobs, GCP/Cloud Batch Jobs, GCP/VertexAI CustomJobs and (local) Docker jobs

Project description

Welcome on SmartJob Python Library!

What is it?

SmartJob is a thin Python 3.11+ job library for dealing with GCP/Cloud Run Jobs, GCP/Cloud Batch Jobs and GCP/VertexAI CustomJobs and (local) Docker (jobs):

  • in a very simple way
  • in a unified way (with as little difference as possible between the 4 providers)
  • in an async way (not with asyncio but with concurrent.futures.Future objects; in most cases, this is enough for dealing with complex parallel workflows (including parralelism, chaining, conditionals...) and you don't need to learn another pipeline workflow or switching your whole codebase to asyncio)
  • in a reactive way (when you're in the experimentation phase, you can pass the main Python script without rebuilding/pushing a whole docker image at each attempt)
  • in a production ready way (with retries, timeouts...)

Non-features

SmartJob is a thin library and not a whole pipeline framework. He tries to be as un-opinionated as possible.

Quickstart

Let's go 🚀

Documentation

https://fabien-marty.github.io/smartjob/

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

smartjob-0.0.29.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

smartjob-0.0.29-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file smartjob-0.0.29.tar.gz.

File metadata

  • Download URL: smartjob-0.0.29.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.12 Linux/6.11.0-1012-azure

File hashes

Hashes for smartjob-0.0.29.tar.gz
Algorithm Hash digest
SHA256 b71ad47355e20884ad61aa0b9c126ba6bd9388592c6f3148ddfe0117a1ed214a
MD5 17c63491aa7f7aca22d186ad54eb66d5
BLAKE2b-256 3ed9ee64661bd489c1366269ca1c32bd58511e0b90875d3140aea1c5d57b027f

See more details on using hashes here.

File details

Details for the file smartjob-0.0.29-py3-none-any.whl.

File metadata

  • Download URL: smartjob-0.0.29-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.12 Linux/6.11.0-1012-azure

File hashes

Hashes for smartjob-0.0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c022284d58ec4cc0871de085618e05cf33b546c85701415216c020910a0cdc
MD5 f4518da49a9823b7f69f88d8c6726902
BLAKE2b-256 b1757b70e65dc31260a2d8e436f0c769b514fd6da4cddd3f0c2cfc5a766ecff4

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