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

Uploaded Source

Built Distributions

hangar-0.5.1-cp38-cp38-win_amd64.whl (762.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

hangar-0.5.1-cp38-cp38-macosx_10_13_x86_64.whl (749.9 kB view details)

Uploaded CPython 3.8 macOS 10.13+ x86-64

hangar-0.5.1-cp37-cp37m-win_amd64.whl (757.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

hangar-0.5.1-cp37-cp37m-macosx_10_13_x86_64.whl (746.5 kB view details)

Uploaded CPython 3.7m macOS 10.13+ x86-64

hangar-0.5.1-cp36-cp36m-win_amd64.whl (758.3 kB view details)

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m

hangar-0.5.1-cp36-cp36m-macosx_10_13_x86_64.whl (748.8 kB view details)

Uploaded CPython 3.6m macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: hangar-0.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 860ca9d8296062c838079cbe80c1f23e42f332f8cab72e223700a65fd25eafc8
MD5 e2f71c7a07dc9dfd55c75114b9ee50b2
BLAKE2b-256 0007430f6d8e0a0742e5da5f3d87c6682d13fe2b9c53166e328d564b5c0968c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 762.6 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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ba39cdd0945dc5ca10c86544a8bc920c6509110f74e38eec3c594aedbfb4f7c8
MD5 b309d10d43aec2dd7608bdc28bdaa40f
BLAKE2b-256 8f4b124b6a9ecc83bd9dfd849d01846d9ce1892cc89e6f9d40399c6df3f2263c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-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.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2276b25b9a90cd334237e1da6f26affb989e309c7f682c5e34ff5514053738bf
MD5 b86f1fc45e65a4f0b8828c2922303352
BLAKE2b-256 3d4a65054464725a972f999bd43f74548e517bc19e2334ccb83f1ddf350d2732

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-cp38-cp38-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 749.9 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.1-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 236bc73731bed5c1ebc616f4d0b49ba3295e6f9fa8117730ffa4e14528aad5ff
MD5 b212fce69417c38646bb92ee96933418
BLAKE2b-256 d4521827ab93aae5ac6c71f7223df858dbfab63236c363b213f9e8c988dca6bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 757.8 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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 529980541e529274286aee4820049395a5e427a623ed3ea7a705aa865acec8e8
MD5 a41bc4d61c72dfdfb5fc48a2b2c01092
BLAKE2b-256 490949c855030ed373bc1ebf316bb1a12f84e6186b71214ca59b511a81009f20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-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.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 395275d0bdd68e569195e6aefa9dd671b46f7173702de06d85d377f9eba392aa
MD5 3da369e9c48d25085777553a08c8ed26
BLAKE2b-256 787512591ec1a97a8732bdc70ff8e05f60acd584aff90798f4099f87d6bd4d52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 746.5 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.1-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7addeb9d5d299a30054aad3fab6da9bc7ef07ac1f36c9c7fb24f47554c0d5559
MD5 179bce2d5791ca71ba2c173fc7fdb75d
BLAKE2b-256 9b627cae8102f80ed6d142150da63101c6fd58faeab3602ce29c7ffebf0994ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 758.3 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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 d344592b769955c120f3fd8972e75943248726c034f18cc6a3c1ded5b5761cf1
MD5 c9b2078b1c39fe49bb12ca97bb45538a
BLAKE2b-256 2a27658a48f1d2440062eb61efb035c35a001344a25207b2a1e338a32655ac43

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-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.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e2eaf67b9f5477a52f80544957e3a6c45d0c1711adbb3966a1c0f6a45da6991
MD5 2ace1450f57356a47c9880a9bc3acd8d
BLAKE2b-256 12df8ba1aaea4ce2294710d0ed60f7072bf0ecb3e7ab20e156ca307ca10f2e02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hangar-0.5.1-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 748.8 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.1-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b61d8baaf0996f0c961d6916cbcfb61169b1c1eb6d688aaa9b15d917464e71c9
MD5 cf9f5e3e2154ce0cd9b57e954978e8f3
BLAKE2b-256 f273ef2f74bb4e33881c18e56512165d3823a3a2fa26ba946559d1dc1f55e889

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