Skip to main content

Python bindings for the Basic Applied Topology Subprograms

Project description

BATS.py

Supported Python Versions PyPi License: MIT

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.1.0.tar.gz (279.2 kB view details)

Uploaded Source

File details

Details for the file bats-tda-0.1.0.tar.gz.

File metadata

  • Download URL: bats-tda-0.1.0.tar.gz
  • Upload date:
  • Size: 279.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for bats-tda-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9d8c6fc2ddef4f86ce6e22526eec5311b1c3a85a7a8e4a5519fabb1b4251e62
MD5 20a9642ad736d2c6acfeb6b19caaa389
BLAKE2b-256 c564e37113985c40c35b8f152f6be65571feba7daf85ea6ac5cc7a785ffb41f8

See more details on using hashes here.

Provenance

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