Skip to main content

Little async python library for dealing with GCP/Cloud Run Jobs and GCP/VertexAI CustomJobs

Project description

Welcome on SmartJob Python Library!

What is it?

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

  • in a very simple way
  • in a unified way (with as little difference as possible between the 3 providers)
  • in a fully async way (in most cases, plain asyncio Python is enough for dealing with complex parallel workflows (including parralelism, chaining, conditionals...) and you don't need to learn another pipeline workflow)
  • 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.22.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

smartjob-0.0.22-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartjob-0.0.22.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/6.8.0-1014-azure

File hashes

Hashes for smartjob-0.0.22.tar.gz
Algorithm Hash digest
SHA256 00dc675690c2caae1f8fcaa08f023dbab8c710ecad485c18973ea31509c8dfcd
MD5 bc27770cfd1ce35d7a2cbc075ac32dc6
BLAKE2b-256 60ca4d4218c57364f135444ff17792e7fcfb3c34fc85e05154bd0a5a38300602

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smartjob-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/6.8.0-1014-azure

File hashes

Hashes for smartjob-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7dfdd53a85210e2eeced34adbb6c6493dc33b2e3374854a7fc6541b2ec7510
MD5 f754ecb24f3cfa6f2842cf22d039e491
BLAKE2b-256 497413535f062ffdff718b7c56dc73ef9f11c835d2592c1c17d106bb431575ea

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