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+ job library for dealing with GCP/Cloud Run Jobs, GCP/VertexAI CustomJobs and (local) Docker (jobs):

  • in a very simple way
  • in a unified way (with as little difference as possible between the 3 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.27.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

smartjob-0.0.27-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartjob-0.0.27.tar.gz
  • Upload date:
  • Size: 19.0 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.27.tar.gz
Algorithm Hash digest
SHA256 463c80ab158cfc0796208a2c384fbd9e76bcf5f14ebfaf959171caa51b709c2a
MD5 a41adffe863107e7455e0e13dbd9e852
BLAKE2b-256 5298bcc21ec425821643e93b45073a3dfce45d7b62d679151fe3170e769c6c6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smartjob-0.0.27-py3-none-any.whl
  • Upload date:
  • Size: 26.7 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.27-py3-none-any.whl
Algorithm Hash digest
SHA256 55c07bbc0ceff1f4cc0bf6468d1a18900f6a3e7914464e46101947473e9637d0
MD5 759cac74e536bd473346c907e5a67a99
BLAKE2b-256 9d32659aef0f1c0c3d6cb974aa1ad8dbd81cab67ecd294ea9ff2d25dd40c1035

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