Skip to main content

gworker — Python SDK for serverless GPU apps

Project description

gworker-client

Python decorator-based SDK for serverless GPU apps on gworker.

Quickstart

import gworker_client as gw

app = gw.App("hello")

image = (
    gw.Image.base("python:3.12-slim")
        .pip_install("requests")
)

@app.task(image=image, gpu=gw.Gpu("A100"), memory=8192, timeout=600)
async def greet(name: str) -> str:
    import requests
    return f"hello {name}"
gworker init my-app
gworker dev
gworker deploy

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

gworker_client-0.0.1.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

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

gworker_client-0.0.1-py3-none-any.whl (48.7 kB view details)

Uploaded Python 3

File details

Details for the file gworker_client-0.0.1.tar.gz.

File metadata

  • Download URL: gworker_client-0.0.1.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gworker_client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7c070041c8ac78474c37c6df4c3afb7e4cbe2ae9056737653390f3962ffd2087
MD5 639f3bb7de2c7ea9394908977fa2023b
BLAKE2b-256 4151f235e77a4be3ad93051ade8bff77855055510ecb01124d7076ed625e5fed

See more details on using hashes here.

Provenance

The following attestation bundles were made for gworker_client-0.0.1.tar.gz:

Publisher: release-pypi.yml on ayonsaha2011/gworker-app

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

File details

Details for the file gworker_client-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gworker_client-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 48.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gworker_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b482751bc7fb8beed2666f5b67323cc29dd7356fe3cce325a8ef6add9b792fb1
MD5 46f27e15fea83d0aa3edff71b79e8deb
BLAKE2b-256 1b883df55d0f563dbda9d7a561a8ac9dc37bb361fce1c969695f7341d277eb67

See more details on using hashes here.

Provenance

The following attestation bundles were made for gworker_client-0.0.1-py3-none-any.whl:

Publisher: release-pypi.yml on ayonsaha2011/gworker-app

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

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