Skip to main content

datagrid

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

Installation

pip install datagrid

Example

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")

dg = DataGrid(columns=["Image", "Score"])
url = "https://picsum.photos/200/300"
for i in range(100):
    im = PImage.open(requests.get(url, stream=True).raw)
    dg.append([Image(im), random.random()])

dg.log(experiment)
experiment.end()

Visualization

Log into comet.com to see results.

image

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datagrid-1.0.3.tar.gz (91.6 kB view details)

Uploaded Source

Built Distribution

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

datagrid-1.0.3-py3-none-any.whl (103.4 kB view details)

Uploaded Python 3

File details

Details for the file datagrid-1.0.3.tar.gz.

File metadata

  • Download URL: datagrid-1.0.3.tar.gz
  • Upload date:
  • Size: 91.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for datagrid-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4c9d06c4fa59316b96515fb64e2930fd3b42c6ff80d25f76fb0326dc7aeb0d17
MD5 0907efb351c753e7db6ef54dcb1c068d
BLAKE2b-256 81fb898a5a6405cdb0c4c82b8ec734b7b5bd4ace87772e15359b60392021070b

See more details on using hashes here.

File details

Details for the file datagrid-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: datagrid-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 103.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for datagrid-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 314409362eee026d2dc418b5f35c4b1c26c7f084227f4ba14c9db5fddffa6995
MD5 f95006200aa49932b09d2eff7101381f
BLAKE2b-256 ad37cbf894793d62b0fba2546abf3d73b5509cbf246248f5db09ecb27b4ecde8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page