Skip to main content

Interact with any kind of kind of data directly in a jupyter notebook.

Project description

Universal Data Tool Python

Python module for data labeling leveraging the Universal Data Tool.



pip install universaldatatool
import universaldatatool as udt

ds = udt.Dataset(
    labels=["good bird", "bad bird"]

# Opens dataset directly in jupyter notebook



  • udt.nb: jupyter notebook widget


  • udt.load_json(file_path): Load UDT File from json
  • udt.load_csv(file_path): Load UDT File from csv
  • udt.Dataset(type=None, image_paths=None, labels=None)
  • udt.Interface(type=None, labels=None): Create UDT interface
  • udt.Sample(image_url=None, document=None, ...) : Create UDT Sample
  • udt.nb.display(udt_file): Display Universal Data Tool widget


  • <input type="checkbox" checked="" disabled="" /> image_path, video_path etc. support
  • <input type="checkbox" disabled="" /> Better Docs
  • <input type="checkbox" disabled="" /> Usage Examples
  • <input type="checkbox" disabled="" /> Load CSV or JSON from files
  • <input type="checkbox" checked="" disabled="" /> Collaborative synchronization w/
  • <input type="checkbox" checked="" disabled="" /> edit/open should check that there are no local paths
  • <input type="checkbox" disabled="" /> Helpful stringification
  • <input type="checkbox" disabled="" /> Make it easy to run tests
  • <input type="checkbox" disabled="" /> Image Segmentation kills jupyter notebook scrolling
  • <input type="checkbox" disabled="" /> Make JupyterLab Extension 1 2 3
  • <input type="checkbox" checked="" disabled="" /> Continuous integration testing via Github Actions
  • <input type="checkbox" checked="" disabled="" /> Cypress browser testing


Running Cypress Tests

Cypress will automatically open a browser and create jupyter notebooks with different test scenarios. It's really fast for developing and testing. To use it, you must first run our jupyter docker container, which mounts volumes properly such that universaldatatool can be imported. To do this, run:

yarn start:jupyter

A jupyter notebook is now running in the background.

You can now run the cypress tests in development mode by running...

yarn cy:run

An electron browser will open with automated tests.

How To Test

Each file in the universaldatatool/tests directory can be tested with pytest e.g.

python -m pytest universaldatatool/tests/


Project details

Download files

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

Files for universaldatatool, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size universaldatatool-0.0.4-py3-none-any.whl (15.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size universaldatatool-0.0.4.tar.gz (11.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page