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.28.tar.gz (20.1 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.28-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartjob-0.0.28.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for smartjob-0.0.28.tar.gz
Algorithm Hash digest
SHA256 171db64ad1d8636d2aa3963febaaf6f8d55c4e53072d62edcb233f94377afc64
MD5 454409de69eaa705921e86c7e2ccf16a
BLAKE2b-256 89c677848724489ea432ff504d0eecb797a79d001b0cd60991a92e7b214e70c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smartjob-0.0.28-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for smartjob-0.0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 afdec556455491c3b2c91506b4d2934c224e10bf2ac88f2415eb0fedd729ec05
MD5 173ccc7f887d5f251d702ffebc5109eb
BLAKE2b-256 c6f71f30a0e3bd489ec13932a6d4bfd6c34de4c9b28ee677e7e6557757d3fe9f

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