overture-serverless
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
482e4c1501f2f0696927a91f769069ea43b128fc354539893bc2905435de4e8a
|
|
| MD5 |
b7f637bb2c045671ecd57dafc2e63da9
|
|
| BLAKE2b-256 |
921ac03ffa4f692baa0c53d2567b4152e4709e6772b5db1a7724e22c264c47a8
|
Provenance
The following attestation bundles were made for overture_serverless-0.0.0.tar.gz:
Publisher:
publish_packages.yml on OvertureMaps/overture-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
overture_serverless-0.0.0.tar.gz -
Subject digest:
482e4c1501f2f0696927a91f769069ea43b128fc354539893bc2905435de4e8a - Sigstore transparency entry: 2589554864
- Sigstore integration time:
-
Permalink:
OvertureMaps/overture-core@96aaaef2ecddd5e5e5473b6ca3dff40c11388927 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/OvertureMaps
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_packages.yml@96aaaef2ecddd5e5e5473b6ca3dff40c11388927 -
Trigger Event:
push
-
Statement type:
File details
Details for the file overture_serverless-0.0.0-py3-none-any.whl.
File metadata
- Download URL: overture_serverless-0.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
647e687f89d5993882edf8ca4ad62aaa1eba3d4781ef8e35dffabc4f7ff2c3eb
|
|
| MD5 |
98b24a87b3d53602aacb7e074e101d06
|
|
| BLAKE2b-256 |
2ead0de24e8f4fda308612e9e5abfecd62c4b1d8f19b010562e24337565f2c14
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
overture_serverless-0.0.0-py3-none-any.whl -
Subject digest:
647e687f89d5993882edf8ca4ad62aaa1eba3d4781ef8e35dffabc4f7ff2c3eb - Sigstore transparency entry: 2589555303
- Sigstore integration time:
-
Permalink:
OvertureMaps/overture-core@96aaaef2ecddd5e5e5473b6ca3dff40c11388927 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/OvertureMaps
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_packages.yml@96aaaef2ecddd5e5e5473b6ca3dff40c11388927 -
Trigger Event:
push
-
Statement type: