Skip to main content

Python bindings for the Basic Applied Topology Subprograms

Project description

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

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

bats-tda-0.2.0.tar.gz (282.5 kB view hashes)

Uploaded Source

Built Distributions

bats_tda-0.2.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl (30.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.24+ x86-64

bats_tda-0.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 MB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

bats_tda-0.2.0-cp310-cp310-manylinux_2_24_x86_64.whl (28.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

bats_tda-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bats_tda-0.2.0-cp39-cp39-manylinux_2_24_x86_64.whl (28.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

bats_tda-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bats_tda-0.2.0-cp38-cp38-manylinux_2_24_x86_64.whl (30.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

bats_tda-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

bats_tda-0.2.0-cp36-cp36m-manylinux_2_24_x86_64.whl (30.5 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.24+ x86-64

bats_tda-0.2.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

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