Skip to main content

Easy, simple to customize, pythonic data annotation framework.

Project description

Easy Annotation

ipyezannotation - Easy, simple to customize, pythonic data annotation framework.

Disclaimer

This project is in early development stage, so don't blame me if it opens-up a black hole in your HDD 😄, other than that IT WORKS! 🥳

Docs & examples coming soon.

Dependencies

This project currently supports Python>=3.8.

Installation

There are two options to install this project:

  • Download and install from PyPI by simply running: pip install ipyezannotation & you're done!
  • Alternatively, install from source using Poetry. This project uses poetry>=1.3 to manage dependencies.

Examples

Images selection annotation

Annotation using ImageSelectAnnotator.

Define data to annotate with ImageSelectAnnotator:

source_groups = [
    ["./surprized-pikachu.png"] * 16,
    ["./surprized-pikachu.png"] * 7,
    ["./surprized-pikachu.png"] * 8,
    ["./surprized-pikachu.png"] * 4,
]

Convert input data to Sample's:

from ipyezannotation.studio.sample import Sample, SampleStatus

samples = [
    Sample(
        status=SampleStatus.PENDING,
        data=group,
        annotation=None
    )
    for group in source_groups
]

Initialize database of your liking and synchronize it with your new input samples:

from ipyezannotation.studio.storage.sqlite import SQLiteDatabase

db = SQLiteDatabase("sqlite:///:memory:")
synced_samples = db.sync(samples)

Configure & create annotation Studio to label your samples:

from ipyezannotation.studio import Studio
from ipyezannotation.annotators import ImageSelectAnnotator

Studio(
    annotator=ImageSelectAnnotator(n_columns=8),
    database=db
)

Inspiration

Love letter to the following projects coming soon ❤️

  • ipyannotations
  • superintendent
  • label-studio

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

ipyezannotation-0.1.5.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

ipyezannotation-0.1.5-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file ipyezannotation-0.1.5.tar.gz.

File metadata

  • Download URL: ipyezannotation-0.1.5.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.13 Windows/10

File hashes

Hashes for ipyezannotation-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7743356e5d828ef97963fb7c237d3954a4d66c41dd29657bb6de51f7d3f775f3
MD5 ad517d751a70c5bfc86ac731dfd8b1bb
BLAKE2b-256 be95b8181d62d2b06413ae5794eea08cad97b7b73cefbca775d9321a4ecc7222

See more details on using hashes here.

File details

Details for the file ipyezannotation-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: ipyezannotation-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.13 Windows/10

File hashes

Hashes for ipyezannotation-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bafe0ffe561766eb375eac26c700e3225cc6f0f90aa2d675daca5c48f7ad5d46
MD5 fc3994d64d7ed25d058cccaa5d313904
BLAKE2b-256 58f5e8c8a0f9bdf495898f6b705a3738150ea269ef6a1027b74f4c706f03ae1c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page