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.31.tar.gz (20.6 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.31-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartjob-0.0.31.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure

File hashes

Hashes for smartjob-0.0.31.tar.gz
Algorithm Hash digest
SHA256 a4b1a5370c069251da24404efc37e3ab5ac58700580ec9c318e685f3524f037d
MD5 398b3aaf833c7e6389d0109425d33efd
BLAKE2b-256 8a1bed37425041c62bf48ec69c49d8f1f420c53ea15e21ea3c458c06e4de8079

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for smartjob-0.0.31-py3-none-any.whl
Algorithm Hash digest
SHA256 5975596b74c169c0d0b62309d746951423a9286a579e6a188bddcc520c627204
MD5 ce31ffb01ff7aaa524aaba98e7cfd355
BLAKE2b-256 b07ffa74038720d01310f1301b2805a434278873454800724d8ad561f7797456

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