A previous release had provenance metadata, but this release does not. View details.
Gridline Python SDK
Submit one YAML workload through Gridline's authenticated API. The Python client stages files referenced by YAML, returns a route for review, then launches only that exact fresh plan when you supply a cost ceiling and idempotency key.
Install
python -m pip install 'gridlinegpu>=0.1.2,<0.2'
Create a scoped token using the Gridline CLI after browser sign-in. The token stays in a private file; do not paste it into source code or an AI chat.
gridline --profile production auth login --apply
gridline --profile production auth token create --name python-workloads --scopes read,routing:write --output-file "$HOME/.config/gridline/python-token" --apply
export GRIDLINE_API_TOKEN_FILE="$HOME/.config/gridline/python-token"
Use a YAML file beside its referenced inputs. Task, model, engine, providers, output, budget, and deadline belong in YAML rather than Python arguments. Current hosted artifact limits are 40 MiB per local input and 8 MiB per output.
from gridlinegpu import GridlineClient
client = GridlineClient()
plan = client.plan("workload.yaml")
print(plan.review) # Check selected GPU, exclusions, estimate, and maximum.
# Launch only after reviewing the fresh plan and accepting its maximum spend.
launch = client.launch(plan, max_cost_usd="5.00", idempotency_key="my-job-2026-09-27")
job_id = launch["jobId"]
ready = client.wait(job_id, timeout=7200)
print(ready["job"]["outputs"], ready["job"]["outcome"])
print(client.outputs(job_id, "results"))
plan() stages input bytes but does not allocate a GPU. launch() never silently
changes a plan or retries an ambiguous paid request. If launch outcome is unknown,
inspect LaunchOutcomeUnknown.workload_id with the same idempotency key; do not use a
new key. outputs() verifies byte count and SHA-256 before creating private files.
Cancellation requests stop; cleanup and final provider billing can remain pending.
For finite jobs, wait() returns when outputs are complete, even if cleanup and billing
leave outcome pending. Check status() later for final settlement.
Metadata
Release files for gridlinegpu 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gridlinegpu-0.1.2.tar.gz | 11.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gridlinegpu-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.7 kB
Release files / gridlinegpu-0.1.2.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | gridlinegpu-0.1.2.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1631788c2e047874dbd61afabc0cf5a12d7b47b7822c9799fbc392dcf978bcc7
|
|
BLAKE2b-256 checksum How to use checksums |
c5808b43e7ded4df5903b40ab654512fd5fc0d335f63f0d6c5c27eee75431a6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / gridlinegpu-0.1.2-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | gridlinegpu-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f526ffdf0bf82dcbcb32b0b5bfae8ba9e421c385359fb8c09c87016391024de
|
|
BLAKE2b-256 checksum How to use checksums |
fc5474ca781c14d80ad20981d09fc5e8f6b6e164afda17806ff604f9898c3c93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Security for gridlinegpu 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 0.1.0 2 files With provenance
- Added 0.1.2 2 files Without provenance
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.