Skip to main content

overture-serverless

PyPI Python versions

Base class for portable, framework-agnostic "job" classes. A published package that gets installed at run time wherever a job actually executes, and provides the contract your job subclasses.

It contains:

  • ServerlessPythonJob — abstract base class your jobs subclass (execute_job()), with parameter parsing (get_param()) and logging (log()). Plain Python, no cloud dependencies — runs identically on any backend or on your laptop.

Writing a job

from overture_serverless.job import ServerlessPythonJob


class CollectionJob(ServerlessPythonJob):
    def execute_job(self) -> None:
        path = self.get_param("input_path")
        self.log(f"Processing {path}")
        # ... your logic

Testing locally

cd packages/overture_serverless
uv run python -c "
from overture_serverless.job import ServerlessPythonJob

class ExampleJob(ServerlessPythonJob):
    def execute_job(self) -> None:
        self.log(self.get_param('input_path'))

ExampleJob().run('{\"input_path\": \"s3://...\"}')
"

Publishing

See PACKAGE_VERSIONING.md for how a version bump here turns into a PyPI release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

overture_serverless-0.0.0.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

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

overture_serverless-0.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file overture_serverless-0.0.0.tar.gz.

File metadata

  • Download URL: overture_serverless-0.0.0.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for overture_serverless-0.0.0.tar.gz
Algorithm Hash digest
SHA256 482e4c1501f2f0696927a91f769069ea43b128fc354539893bc2905435de4e8a
MD5 b7f637bb2c045671ecd57dafc2e63da9
BLAKE2b-256 921ac03ffa4f692baa0c53d2567b4152e4709e6772b5db1a7724e22c264c47a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for overture_serverless-0.0.0.tar.gz:

Publisher: publish_packages.yml on OvertureMaps/overture-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file overture_serverless-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for overture_serverless-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 647e687f89d5993882edf8ca4ad62aaa1eba3d4781ef8e35dffabc4f7ff2c3eb
MD5 98b24a87b3d53602aacb7e074e101d06
BLAKE2b-256 2ead0de24e8f4fda308612e9e5abfecd62c4b1d8f19b010562e24337565f2c14

See more details on using hashes here.

Provenance

The following attestation bundles were made for overture_serverless-0.0.0-py3-none-any.whl:

Publisher: publish_packages.yml on OvertureMaps/overture-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.0

2 files

This release

0.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page