Skip to main content

BATS.py

Supported Python Versions PyPi License: MIT

Build Static Ubuntu Tests MacOS Tests Documentation Status

Python bindings for the Basic Applied Topology Subprograms (BATS) library. This includes:

  • Simplicial, Cubical, and Cell Complexes
  • Simplicial, Cubical, and Cellular Maps
  • Homology and induced maps
  • Persistent homology
  • Zigzag homology
  • A variety of topolgical constructions

Note that the C++ repository is the main library, and contains more features. This repository provides bindings for a subset of the functionality of BATS, and is under active development.

Documentation, examples, and tutorials can be found at bats-tda.readthedocs.io

Once installed, you can import the bats namespace:

import bats

Installation with pip

The easiest way to install bats is using pip

pip install bats-tda # gcc

To use clang (e.g. on a Mac) try

CC=clang pip install bats-tda # clang

Because bats uses OpenMP, it has to be compiled from source with a C++17 compliant complier. This means installation can take a few minutes. You can pass --verbose to pip to see what is going on with installation.

If you don't have OpenMP, you can install with a package manager.

GCC (e.g. on Linux)

dnf install libgomp-devel # Fedora
apt-get install libgomp1-dev # Ubuntu

Clang (e.g. on Mac)

brew install libomp

Release files for bats-tda 0.2.0

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

Source distribution (sdist)

Source distribution for bats-tda 0.2.0
File Size Uploaded
bats-tda-0.2.0.tar.gz 282.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for bats-tda 0.2.0
File
bats_tda-0.2.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl PyPy 3.8 PyPy 3.8 7.3 Linux glibc 2.24+ x86-64 Details
bats_tda-0.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.8 PyPy 3.8 7.3 Linux glibc 2.17+ x86-64 Details
bats_tda-0.2.0-cp310-cp310-manylinux_2_24_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ x86-64 Details
bats_tda-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
bats_tda-0.2.0-cp39-cp39-manylinux_2_24_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.24+ x86-64 Details
bats_tda-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
bats_tda-0.2.0-cp38-cp38-manylinux_2_24_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.24+ x86-64 Details
bats_tda-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
bats_tda-0.2.0-cp36-cp36m-manylinux_2_24_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.24+ x86-64 Details
bats_tda-0.2.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 296.2 MB

Release files / bats-tda-0.2.0.tar.gz

Download URL bats-tda-0.2.0.tar.gz
Size 282.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dfddfa64c20156608e9af35e00ffc9fdccd3a2a4c6f2e2c539b93c6efd1977b1
BLAKE2b-256 checksum
How to use checksums
fd0e418ee02ffbe9ccb556f5db3d8c21a719cac72b2c601899f279abb76169d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl

Download URL bats_tda-0.2.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
Size 30.4 MB
Tags Linux glibc 2.24+ x86-64 PyPy 3.8 PyPy 3.8 7.3
SHA-256 checksum
How to use checksums
6bfb70ff5cc3b948e33602643cf53d0341adc90a6251761fd95b2cecdcd90d3f
BLAKE2b-256 checksum
How to use checksums
2d39d51aa8ad5ec72b830a12892295d00ccc3fe172a6c93843e9f6f4da13fd79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL bats_tda-0.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 30.4 MB
Tags Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3
SHA-256 checksum
How to use checksums
17040753fd4f7a993d720e3c2a48e2afc8407884751996b4af06abd30f2e40a8
BLAKE2b-256 checksum
How to use checksums
fd1d725bdd0f057084a52a042dc72b24dd24599d3945e2ebbda2a20f7f9d16f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-cp310-cp310-manylinux_2_24_x86_64.whl

Download URL bats_tda-0.2.0-cp310-cp310-manylinux_2_24_x86_64.whl
Size 28.4 MB
Tags CPython 3.10 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
f1fb68817def28d0c1474c1c7d28ac364b25e9a421401b5a3c769d9d4e75604e
BLAKE2b-256 checksum
How to use checksums
5a654257aa2137d4b1475d970cf2ffa2ef14c89944184d62457e190d313e0223
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL bats_tda-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 28.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6e8dcd19abf6e66ec8cc493b2cdf5095fdbbb01d80163539b9fc3a9931fb2dfe
BLAKE2b-256 checksum
How to use checksums
7318f2490256b33dbc3284118237e1e2694dd8118576b1d93f123507ee39f0b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-cp39-cp39-manylinux_2_24_x86_64.whl

Download URL bats_tda-0.2.0-cp39-cp39-manylinux_2_24_x86_64.whl
Size 28.4 MB
Tags CPython 3.9 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
bb6a59fb52caed1192532c4d22c5adec33c2275a6795199274d54526837ba51b
BLAKE2b-256 checksum
How to use checksums
b361bd0fe0355975da56d26da872b8d97edaec26b8afe8c979d8adf4ad9724e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL bats_tda-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 28.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d2910639862fc513cd0a909a59d6607c922b2745d3bf7752e5e9c25209f8400d
BLAKE2b-256 checksum
How to use checksums
b9957d334ee31269400bd43496e79208f47ebc2458b48f5d9f0539cbd75b958a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-cp38-cp38-manylinux_2_24_x86_64.whl

Download URL bats_tda-0.2.0-cp38-cp38-manylinux_2_24_x86_64.whl
Size 30.4 MB
Tags CPython 3.8 Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
c56e749ba004bcbc58fa0d7a308264ebe60f7b70a53c5ba090169d521ab7f48b
BLAKE2b-256 checksum
How to use checksums
3a8e251cbef59eca5ebb7b8cbba905562bc5ec1415bf273451cceb29090abe3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL bats_tda-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 30.4 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
3fdd64a14879590bd2d5a5dbbb7dfc7136892b84a07beb9a60b834869347feb7
BLAKE2b-256 checksum
How to use checksums
6ddef8096a1c1f95f9dedcde411ec96e5dc7e8fc9a4fa7332b47134491c72caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-cp36-cp36m-manylinux_2_24_x86_64.whl

Download URL bats_tda-0.2.0-cp36-cp36m-manylinux_2_24_x86_64.whl
Size 30.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.24+ x86-64
SHA-256 checksum
How to use checksums
81427f1cf4cf927f02af778cfac8b1dc5d26caf613a2ba525652096d12f41f69
BLAKE2b-256 checksum
How to use checksums
f9fc7c58365b40f8f90fe99fa33e694cd02457aa0229e8636492929962536bba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release files / bats_tda-0.2.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL bats_tda-0.2.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 30.4 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
216bdb9c0ada35f92bc794c9f16737b18c24e842edbb19f282ef0f99c3433985
BLAKE2b-256 checksum
How to use checksums
bda06cb8bea46cab7b1110db1e239f0e2ed83e6ae5f05f9d46fb6213e1a35fee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.59.0 importlib-metadata/4.8.2 keyring/23.1.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.10

Release history Release notifications | RSS feed

This release

0.2.0 This release

11 release files

0.1.0

1 release file

0.0.1

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