Skip to main content

Hangar is version control for tensor data. Commit, branch, merge, revert, and collaborate in the data-defined software era.

Project description

docs

Documentation Status

tests

Build Status Code Coverage
Language grade: Python

package

PyPI Package latest release PyPI Wheel Conda-Forge Latest Version
Supported versions Supported implementations
GitHub license

Hangar is version control for tensor data. Commit, branch, merge, revert, and collaborate in the data-defined software era.

  • Free software: Apache 2.0 license

What is Hangar?

Hangar is based off the belief that too much time is spent collecting, managing, and creating home-brewed version control systems for data. At it’s core Hangar is designed to solve many of the same problems faced by traditional code version control system (ie. Git), just adapted for numerical data:

  • Time travel through the historical evolution of a dataset.

  • Zero-cost Branching to enable exploratory analysis and collaboration

  • Cheap Merging to build datasets over time (with multiple collaborators)

  • Completely abstracted organization and management of data files on disk

  • Ability to only retrieve a small portion of the data (as needed) while still maintaining complete historical record

  • Ability to push and pull changes directly to collaborators or a central server (ie a truly distributed version control system)

The ability of version control systems to perform these tasks for codebases is largely taken for granted by almost every developer today; However, we are in-fact standing on the shoulders of giants, with decades of engineering which has resulted in these phenomenally useful tools. Now that a new era of “Data-Defined software” is taking hold, we find there is a strong need for analogous version control systems which are designed to handle numerical data at large scale… Welcome to Hangar!

The Hangar Workflow:

   Checkout Branch
          |
          ▼
 Create/Access Data
          |
          ▼
Add/Remove/Update Samples
          |
          ▼
       Commit

Log Style Output:

*   5254ec (master) : merge commit combining training updates and new validation samples
|\
| * 650361 (add-validation-data) : Add validation labels and image data in isolated branch
* | 5f15b4 : Add some metadata for later reference and add new training samples received after initial import
|/
*   baddba : Initial commit adding training images and labels

Learn more about what Hangar is all about at https://hangar-py.readthedocs.io/

Installation

Hangar is in early alpha development release!

pip install hangar

Documentation

https://hangar-py.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

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

hangar-0.5.0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distributions

hangar-0.5.0-cp38-cp38-win_amd64.whl (762.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

hangar-0.5.0-cp38-cp38-manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8

hangar-0.5.0-cp38-cp38-macosx_10_13_x86_64.whl (749.5 kB view details)

Uploaded CPython 3.8 macOS 10.13+ x86-64

hangar-0.5.0-cp37-cp37m-win_amd64.whl (757.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

hangar-0.5.0-cp37-cp37m-manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.7m

hangar-0.5.0-cp37-cp37m-macosx_10_13_x86_64.whl (746.1 kB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

hangar-0.5.0-cp36-cp36m-win_amd64.whl (758.0 kB view details)

Uploaded CPython 3.6m Windows x86-64

hangar-0.5.0-cp36-cp36m-manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.6m

hangar-0.5.0-cp36-cp36m-macosx_10_13_x86_64.whl (748.4 kB view details)

Uploaded CPython 3.6m macOS 10.13+ x86-64

File details

Details for the file hangar-0.5.0.tar.gz.

File metadata

  • Download URL: hangar-0.5.0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8e962dc51462a664c062f82df35c41612495ac4e431392fca7a4db6fc569e08b
MD5 2022d92c20a2c30af9786c3b943bf73d
BLAKE2b-256 69db71d3a8976513d688e19b7d4718222d9a6ed8194646be9a40b8f154b3d964

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 762.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 697444b19e5f0c18c522539038553cc321a71db84a573f4294f66e7a92127f55
MD5 02c91050fded2210f78695a8918cab86
BLAKE2b-256 29e8830ad919043ba0abc39e97d114b13c8938079bf994706920dbde3bf8efed

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c848644202c11a427e58a747a369551adab70c609927f990172ef76edf265201
MD5 feb4369945839212fe687175709e7dbe
BLAKE2b-256 66cce383c6cf514b64438a1c62674d22a0d5716effdc1a477714524509a7dbba

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp38-cp38-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp38-cp38-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 749.5 kB
  • Tags: CPython 3.8, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c19c197ae2cc09f0aa45946c0bd23756a6653af2b9fc67969a171a7fb7e3b6b6
MD5 607bbb369e1e2662e5beb066f1e6af06
BLAKE2b-256 534d27670782614081c35910a7735da15620c64e4a20f78bd2806fbb2ce9c3c9

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 757.4 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4fce3443d09ffe99db773a7268d750a845ecea1568526f09ad5439badc0fab89
MD5 2cd3bda33d5ec5196d2d7ed58e0a649c
BLAKE2b-256 fe7ddf37d449cbd81962c1706e4b4e55dc11eca803a61ef4e3a304c4caadeb22

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7237c5f8b2c02b083fae03160248f10293354b528317d8ea04cd0ea3f03d27a2
MD5 b8a163e1769ba91d12e0ea2cccd2571f
BLAKE2b-256 3bc52ecea8a247eea5cfbae507e813df4e5e6aa2a0a07bdb3b553f212f9c6a64

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 746.1 kB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 dfcf203c73063eeb71959ef036dfc31db2dd956ba8eb3de17f50c3c3178ec7bc
MD5 93df9ebd17a90c1754e0624b4eed5692
BLAKE2b-256 8c72dda54ebaaf94c4057a5ee449c52bcfb04bf898f027aa9f3af035e249bb0e

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 758.0 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 65b74d6d6f77e839f191919fe80a54f25c0febc20af815e258c5bf49652c026b
MD5 b1b6a9c42f11f7cb01ee3ed70bbc25f1
BLAKE2b-256 21a30ba5a3491a48227ec59c808412be5fb76bdfc52ef60cbca4a74dac31658d

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 087734d9b02a5bfa87ac1eada86dbb3283c40ecbe426f07bd1e2a6c72ba8123a
MD5 f00dab558101e5f8a7461353c0629a63
BLAKE2b-256 8265b7e33d2b25284a90ba3a684448e7e01dec3269c5a00a73c35d67d36edd39

See more details on using hashes here.

File details

Details for the file hangar-0.5.0-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.0-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 748.4 kB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.0-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7ee1a696974d800e97b53ce621253aa5e84584e0e1f7dca0791f9817c8b29369
MD5 09b1e298c9e1b41b186f1de8f66ec6da
BLAKE2b-256 3183e4b08176513d72840d7c1102f8f9fb545d46227a7828d7afd617cee4f8b0

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