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.2.tar.gz (1.8 MB view details)

Uploaded Source

Built Distributions

hangar-0.5.2-cp38-cp38-win_amd64.whl (781.9 kB view details)

Uploaded CPython 3.8 Windows x86-64

hangar-0.5.2-cp38-cp38-manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8

hangar-0.5.2-cp38-cp38-macosx_10_14_x86_64.whl (769.3 kB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

hangar-0.5.2-cp37-cp37m-win_amd64.whl (776.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

hangar-0.5.2-cp37-cp37m-manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.7m

hangar-0.5.2-cp37-cp37m-macosx_10_14_x86_64.whl (766.1 kB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

hangar-0.5.2-cp36-cp36m-win_amd64.whl (776.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

hangar-0.5.2-cp36-cp36m-manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.6m

hangar-0.5.2-cp36-cp36m-macosx_10_14_x86_64.whl (768.3 kB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: hangar-0.5.2.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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2.tar.gz
Algorithm Hash digest
SHA256 d452f37b9ba063bbb1b888b8d251d41dd36cd830b4e710ee7aecf0d527ed90f5
MD5 9fe0eee4821140e902e6cc91c3b9821f
BLAKE2b-256 41d770ebfae17468a619cbce491aab1a1e10ce81508d27bf3d11a15119e05131

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 781.9 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ba33e4cb943a22d049e216cde05544487e4d49521df297a23ea58b22e4628c9d
MD5 52907eaa5991bd1cf74f5ede7b3b5258
BLAKE2b-256 128fbbc2e6bafab0579ed23333137a72f47e4b8730501334fd52246103fffa79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.2-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.9 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 219474c25c9a9957d8a8f4751db4f8e9bfcc0beaadb014b579398bad1a7ede2d
MD5 bdfb5ff52db22837812eb7b948832bcc
BLAKE2b-256 9544520c4cf47117b0e528873301032580e7a1814506bbfa643f04dc066b65a4

See more details on using hashes here.

File details

Details for the file hangar-0.5.2-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.2-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 769.3 kB
  • Tags: CPython 3.8, macOS 10.14+ 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 719f5d79508876a1d1d9a0e1a8b955857b2c39f1d43132f324c67402729dde5b
MD5 785d7f9469a8dfeb75e8863f2ce64c5d
BLAKE2b-256 e26290f82e91e5e6ff79c098b6c8c2b6335a9da8109f431efd7af020ed966fe9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 776.5 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4b935da81e86a94f738518655794111fe5e623d42f87cbf6bb1da9c9d7d15f70
MD5 0f4e96bd947b66162cd3c3c3deca85bc
BLAKE2b-256 63e8e998f2f27761e1cd1a80096288973f89d5a3139b49bf71b64ed5dcd220d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.2-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.7 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 769015f6792b881cbe2cfc4e226511df9b4c1a7c090f2be51c43ae98714a652d
MD5 b744acd7c1dc80602a5cad1ffe000b2d
BLAKE2b-256 d9a65b70654fbdf681c55d35061388f95fb6ed227048d74c9694e90a1af2412e

See more details on using hashes here.

File details

Details for the file hangar-0.5.2-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.2-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 766.1 kB
  • Tags: CPython 3.7m, macOS 10.14+ 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b84b6ca772007853241193e13d6500862bff9e927392ff9e83fc463c6a744a19
MD5 b92f4fd7060e1bbb760c4e324cb5c351
BLAKE2b-256 aa9dcf6c022e554148213a764a4a6c4efcce610aab9b50ee948d0f81700abb36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 776.9 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 3aa567344aac08b44fd4729fc1f9fa333ceaa9049bd612d14a780bbeb3a3d988
MD5 7fc5174d19d3e98d9d7c28a40c1d0148
BLAKE2b-256 bf75a73427115608c00425a9aa93ae44f6773da1b6aff7b8cf3a439bd9ac1c5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.2-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.7 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15c2fd832e45acf5bae2c681739c80c6ac311f33b9bf128be2e00abedeccd2a9
MD5 59af87b88d83261e6766052f9995be9f
BLAKE2b-256 a272dbf974853866e09dce9bd89e491934055a3413b2a4fec3d8dbcc1ccb22d3

See more details on using hashes here.

File details

Details for the file hangar-0.5.2-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: hangar-0.5.2-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 768.3 kB
  • Tags: CPython 3.6m, macOS 10.14+ 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.46.0 CPython/3.8.2

File hashes

Hashes for hangar-0.5.2-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 cb6195e670bd8310475470c582a723c54f9ea68656b652367069d01990073bea
MD5 a6f9ff9d1ed932c39c597b1d9ccb7bd8
BLAKE2b-256 e51f5f5b99991fcaa948cefea4090abffe63212725d03d140a1f4b7ae06cd5a2

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