Skip to main content

Overview

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

Release files for hangar 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hangar 0.5.2
File Size Uploaded
hangar-0.5.2.tar.gz 1.8 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for hangar 0.5.2
File
hangar-0.5.2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
hangar-0.5.2-cp38-cp38-manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
hangar-0.5.2-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details
hangar-0.5.2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
hangar-0.5.2-cp37-cp37m-manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
hangar-0.5.2-cp37-cp37m-macosx_10_14_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 Details
hangar-0.5.2-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
hangar-0.5.2-cp36-cp36m-manylinux2014_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 Details
hangar-0.5.2-cp36-cp36m-macosx_10_14_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.14+ x86-64 Details

Total release size: 11.8 MB

Release files / hangar-0.5.2.tar.gz

Download URL hangar-0.5.2.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
d452f37b9ba063bbb1b888b8d251d41dd36cd830b4e710ee7aecf0d527ed90f5
BLAKE2b-256 checksum
How to use checksums
41d770ebfae17468a619cbce491aab1a1e10ce81508d27bf3d11a15119e05131
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp38-cp38-win_amd64.whl

Download URL hangar-0.5.2-cp38-cp38-win_amd64.whl
Size 781.9 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
ba33e4cb943a22d049e216cde05544487e4d49521df297a23ea58b22e4628c9d
BLAKE2b-256 checksum
How to use checksums
128fbbc2e6bafab0579ed23333137a72f47e4b8730501334fd52246103fffa79
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp38-cp38-manylinux2014_x86_64.whl

Download URL hangar-0.5.2-cp38-cp38-manylinux2014_x86_64.whl
Size 1.9 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
219474c25c9a9957d8a8f4751db4f8e9bfcc0beaadb014b579398bad1a7ede2d
BLAKE2b-256 checksum
How to use checksums
9544520c4cf47117b0e528873301032580e7a1814506bbfa643f04dc066b65a4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp38-cp38-macosx_10_14_x86_64.whl

Download URL hangar-0.5.2-cp38-cp38-macosx_10_14_x86_64.whl
Size 769.3 kB
Tags CPython 3.8 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
719f5d79508876a1d1d9a0e1a8b955857b2c39f1d43132f324c67402729dde5b
BLAKE2b-256 checksum
How to use checksums
e26290f82e91e5e6ff79c098b6c8c2b6335a9da8109f431efd7af020ed966fe9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp37-cp37m-win_amd64.whl

Download URL hangar-0.5.2-cp37-cp37m-win_amd64.whl
Size 776.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
4b935da81e86a94f738518655794111fe5e623d42f87cbf6bb1da9c9d7d15f70
BLAKE2b-256 checksum
How to use checksums
63e8e998f2f27761e1cd1a80096288973f89d5a3139b49bf71b64ed5dcd220d8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp37-cp37m-manylinux2014_x86_64.whl

Download URL hangar-0.5.2-cp37-cp37m-manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
769015f6792b881cbe2cfc4e226511df9b4c1a7c090f2be51c43ae98714a652d
BLAKE2b-256 checksum
How to use checksums
d9a65b70654fbdf681c55d35061388f95fb6ed227048d74c9694e90a1af2412e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL hangar-0.5.2-cp37-cp37m-macosx_10_14_x86_64.whl
Size 766.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
b84b6ca772007853241193e13d6500862bff9e927392ff9e83fc463c6a744a19
BLAKE2b-256 checksum
How to use checksums
aa9dcf6c022e554148213a764a4a6c4efcce610aab9b50ee948d0f81700abb36
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp36-cp36m-win_amd64.whl

Download URL hangar-0.5.2-cp36-cp36m-win_amd64.whl
Size 776.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
3aa567344aac08b44fd4729fc1f9fa333ceaa9049bd612d14a780bbeb3a3d988
BLAKE2b-256 checksum
How to use checksums
bf75a73427115608c00425a9aa93ae44f6773da1b6aff7b8cf3a439bd9ac1c5e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp36-cp36m-manylinux2014_x86_64.whl

Download URL hangar-0.5.2-cp36-cp36m-manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
15c2fd832e45acf5bae2c681739c80c6ac311f33b9bf128be2e00abedeccd2a9
BLAKE2b-256 checksum
How to use checksums
a272dbf974853866e09dce9bd89e491934055a3413b2a4fec3d8dbcc1ccb22d3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / hangar-0.5.2-cp36-cp36m-macosx_10_14_x86_64.whl

Download URL hangar-0.5.2-cp36-cp36m-macosx_10_14_x86_64.whl
Size 768.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
cb6195e670bd8310475470c582a723c54f9ea68656b652367069d01990073bea
BLAKE2b-256 checksum
How to use checksums
e51f5f5b99991fcaa948cefea4090abffe63212725d03d140a1f4b7ae06cd5a2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.5.2 This release

10 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page