Skip to main content

A ~toy~ useful Python library for merging data, from low to high level abstractions.

Project description

Ligature is a Python library that builds up ways of stitching data together.

It builds from low to high level abstractions, demonstrating how they work together.

The goal is to make data composable, but also to make sure it's clear exactly what is being done at any given stage.

The core functionality:

  • RecordSets form the core of Ligature. A list of tuples of tuples, this provides a framework for chunky updates in a (mostly) immutable data structure.
  • Scanners iterate RecordSets and provide iterators that scan RecordSets in a column-like way while still maintaining row-based chunks.
  • Transforms and Composables allow Scanners to be mapped to RecordSets and perform generator-like updates, creating new RecordSets and making chains of calculations possible. These are evaluated lazily by default, allowing data to be updated and computed in asynchronous chunks and resolved on demand (if desired).

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

ligature-1.5.0.tar.gz (41.7 kB view details)

Uploaded Source

File details

Details for the file ligature-1.5.0.tar.gz.

File metadata

  • Download URL: ligature-1.5.0.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.5.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for ligature-1.5.0.tar.gz
Algorithm Hash digest
SHA256 2db41942c8bfac5a614eed8108d60118eebbc89a8571c33d35f12f689c629d77
MD5 9f348a16e3490557507f9375d9771bb2
BLAKE2b-256 679991888293fdf76032ffa91a95c03aa56f5b7996cff37a817d99961d9b9ace

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