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.2.tar.gz (33.1 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.2-py3-none-any.whl (49.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gworker_client-0.0.2.tar.gz
  • Upload date:
  • Size: 33.1 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.2.tar.gz
Algorithm Hash digest
SHA256 c21f02b5b9a9ff902764d079b4acd38902dfb08c50cd21d85a3b22a509d4c7f8
MD5 5551a8c76ea36b2d2025ea18db7fb104
BLAKE2b-256 c53d8539cb3f66027faf4a1b27f4ab72314b9675097eb20fb5cb8f65c3c605ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for gworker_client-0.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: gworker_client-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 49.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd3cd32037a02c478506c3ae734b8352805f1dd00bc1fb928763dabe59f5f2ad
MD5 0a1de567142c4a5d8fba2e852dd5ecb6
BLAKE2b-256 cbc9608fd7dcf0bcad6c089b70ecde433830ccee5711b95758b0271bf1fe2733

See more details on using hashes here.

Provenance

The following attestation bundles were made for gworker_client-0.0.2-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