Skip to main content

datagrid

Create a datagrid of mixed-media items, and log to comet.com.

Installation

pip install datagrid

Example

The following demo program will log 100 random images, scores, and categories:

from comet_ml import start
from datagrid import DataGrid, Image

import random
from PIL import Image as PImage
import requests

experiment = start(project_name="datagrids")

categories = ["sunset", "landscape", "water", "tree", "city"]

dg = DataGrid(
    columns=["Image", "Score", "Category"],
    name="Demo"
)
url = "https://picsum.photos/200/300"
for i in range(100):
    im = PImage.open(requests.get(url, stream=True).raw)
    category = random.choice(categories)
    score = random.random()
    image = Image(im, metadata={"category": category, "score": score})
    dg.append([image, score, category])

dg.log(experiment)
experiment.end()

Visualization

image

Log into comet.com to see results.

Metadata

Release files for datagrid 1.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datagrid 1.0.13
File Size Uploaded Provenance Actions
datagrid-1.0.13.tar.gz 93.3 kB Without provenance Details for datagrid-1.0.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datagrid 1.0.13
File Interpreter ABI Platform Actions
datagrid-1.0.13-py3-none-any.whl Python 3 none any Details for datagrid-1.0.13-py3-none-any.whl

Total release size: 198.4 kB

Release files / datagrid-1.0.13.tar.gz

Download URL datagrid-1.0.13.tar.gz
Size 93.3 kB
Tags Source
SHA-256 checksum
How to use checksums
23ee745622c38672589721af0791f82fb9f65aafcd38165d0fdef797833e6560
BLAKE2b-256 checksum
How to use checksums
693a8f41dd151ea04f59f3cd47b21606c747749b219976a48cba8a61d41a28f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release files / datagrid-1.0.13-py3-none-any.whl

Download URL datagrid-1.0.13-py3-none-any.whl
Size 105.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
626f45c85b5965251917929338fc5ef45ceeaf260855c4997a2514cbf78705eb
BLAKE2b-256 checksum
How to use checksums
181ccc4cac34647ef77864823d3aef672267e408e927ac9ca16231a83f6d9279
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Security for datagrid 1.0.13

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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