Skip to main content

A python package for interacting with Inscopix data.

Project description

pyisx

isx is a python package for interacting with Inscopix data. This package encapsulates the following I/O functionality:

  • Reading Inscopix files (.isxd, .isxb, .gpio, .imu)
  • Writing Inscopix files (.isxd)
  • Exporting Inscopix files to third-party formats (.mp4, .tiff, .csv)

The isx package is built from the pyisx project, a python binding for isxcore, a C++ API for interacting with Inscopix data.

Documentation

For help, please refer to the documentation.

Install

Pre-built binaries of this API can be installed from PyPi.

pip install isx

Note: Currently, pyisx is only supported for x86 architectures, which can be problematic, specifically on the newer Mac computers with Apple Silicon. For usage with Apple Silicon, the Rosetta software must be installed, and the Terminal app must be configured to use this software for automatic translation of x86 binaries to arm64. Read more here on how to configure Rosetta on Mac computers.

Supported Platforms

This library has been built and tested on the following operating systems, for python versions 3.9 - 3.12.

OS Version Architecture
macOS 13 x86_64
Ubuntu (Linux) 20.04 x86_64
Windows 11 amd64

Development Guide

This guide documents how to build the python package wheel locally.

  1. Clone the repo

Setup the repo and initialize its submodule:

git clone git@github.com:inscopix/pyisx.git
git submodule update --init
  1. Setup isxcore Follow the setup instructions for the C++ isxcore repo.

  2. Setup python virtual environment

Create a python virtual environment using venv, specifying the desired python version.

make env PYTHON=python3.13

Note: Currently, pyisx is only supported for x86 architectures, which can be problematic, specifically on the newer Mac computers with Apple Silicon. For usage with Apple Silicon, the Rosetta software must be installed, and the Terminal app must be configured to use this software for automatic translation of x86 binaries to arm64. Read more here on how to configure Rosetta on Mac computers.

In the Rosetta terminal, install Homebrew. This will install Homebrew to the /usr/local directory, indicating an x86 installation

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Next, in Rosetta terminal, install the desired python version using the x86 installation of brew:

/usr/local/bin/brew install python@3.13

To verify the installation worked correctly run the following command:

python3.13 -c "import sysconfig; print(sysconfig.get_platform())"

The output will be macosx-13.0-x86_64 is running x86 version of python, otherwise the output will instead be macosx-13.0-arm64 if running the arm version of python.

  1. Build the package

Once the virtual environment is setup, the package can be built.

make build THIRD_PARTY_DIR=/path/to/third/party/dir
  1. Run the unit tests
make test THIRD_PARTY_DIR=/path/to/third/party/dir TEST_DATA_DIR=/path/to/test/data/dir

Support

For any questions or bug reports, please open an issue in our issue tracker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

isx-2.1.0-cp313-cp313-win_amd64.whl (12.0 MB view details)

Uploaded CPython 3.13Windows x86-64

isx-2.1.0-cp313-cp313-manylinux_2_34_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

isx-2.1.0-cp313-cp313-macosx_13_0_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

isx-2.1.0-cp312-cp312-win_amd64.whl (12.0 MB view details)

Uploaded CPython 3.12Windows x86-64

isx-2.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

isx-2.1.0-cp312-cp312-macosx_13_0_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

isx-2.1.0-cp311-cp311-win_amd64.whl (12.0 MB view details)

Uploaded CPython 3.11Windows x86-64

isx-2.1.0-cp311-cp311-manylinux_2_34_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

isx-2.1.0-cp311-cp311-macosx_10_11_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.11macOS 10.11+ x86-64

isx-2.1.0-cp310-cp310-win_amd64.whl (12.0 MB view details)

Uploaded CPython 3.10Windows x86-64

isx-2.1.0-cp310-cp310-manylinux_2_34_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

isx-2.1.0-cp310-cp310-macosx_13_0_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

isx-2.1.0-cp39-cp39-win_amd64.whl (12.0 MB view details)

Uploaded CPython 3.9Windows x86-64

isx-2.1.0-cp39-cp39-manylinux_2_34_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.34+ x86-64

isx-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file isx-2.1.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: isx-2.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 12.0 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for isx-2.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 77aefcff0594e7756eaf80f395b6b41a5ce5d4f677a0a1c7244682c4493ee554
MD5 bd62ae76fa873307d0158f2ffe5aa66f
BLAKE2b-256 4f8adb6af42ffa28d33d198c62b6d5f873fe82aaa852559005dafa2b1911fd37

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.1.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 45f7232688f99daa8857415fd49ff0635174bc3a1581bf82f95377065bd5d851
MD5 94ab877d1a87b034059820595fdeba8c
BLAKE2b-256 c273c6b143671910dd71e685b0cf9718ac29d2188cce8a125db81094f56a648c

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.1.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d9659a8782753f8eb99a29b9614b3ec6326f6eb16a8da83d08850dfdced0972e
MD5 09f952fdbd61b16f923b1d7f3fe594f0
BLAKE2b-256 277cc3b9aa8ee2b49b656c3a8b372de1cfa0c49e3e89ac8ba5e4727c53cd548e

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: isx-2.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 12.0 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for isx-2.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 220f0a32f580d4f0d2a07acf0f25b11a4d0996dd792b6292684311817e614125
MD5 b9c2e85ac67b028ca43682d451901302
BLAKE2b-256 e66f39f9ce582db3036fdff1f64e9c1be98cd2ea7571b8fd61ead82c4346c942

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2151150cdd30cc3093fb56f94bd91661a49130f60170f1e727070f91c91cb427
MD5 f0aac3bf8d104f36d1a9105c7bdd2bd4
BLAKE2b-256 a9c8ade3bf4b8a6a7bacb7f0dec18f2714f6e9369a29472decdf7c2f5bc1318a

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.1.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 49346b2877e1be4a242dcb3a3d415be9110328a066573c62a919a72035586e46
MD5 8822989e3bf08e1a3c1b221166adaee2
BLAKE2b-256 c5abfc3e6f0816e2a0957d0456546d30ec964b08ea575436b293d333b6cae43d

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: isx-2.1.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 12.0 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for isx-2.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e9e3b09b56264f819048ca44d585e4b4dfbc3cdcfb49ee07914752a9ed0daf63
MD5 af5aa7ceccda19baac1da2a6c21e3ecb
BLAKE2b-256 521f1f7d8eace924842ac430e686919e346bf5ea7d8ead5a05ba4bf853efa2d0

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ecf403a7bfc9844b56eb66c55c907709b36057920786d14cb696daec7a207ddd
MD5 b95ab9a1235de197a686b253eacd728a
BLAKE2b-256 026ae0a08df4be5b2b12133a87e57f3dfb6d15895d97e42298501ee5452d5927

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp311-cp311-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.1.0-cp311-cp311-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 3b6398c1ce968be3bd386e5b50a39d3f21b3e50e4dcad18856ca0cbc47de3310
MD5 e0738a6efd964cdf7d0a5136d92f3e76
BLAKE2b-256 cbacf5bc6c1095d7324ab765db77ee3708d3bba5e19f42a5b580f178e2cada02

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: isx-2.1.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 12.0 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for isx-2.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1fd81a804589716b922948a53ce555169ac13f73c551bc3f8150c111c6e8770d
MD5 61bfbec952da3112bccb7a527f9e3210
BLAKE2b-256 eac330d66eb207b4fe85d4e2b603ddbc681e783d2ff09cb02a958be6e7b2669e

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 38eb83561f1391fb6d1ba8b61423278b8bf53aabe9e05bf61765bae14a7e2555
MD5 25cb34f662c358bfd68ff1f134a813d0
BLAKE2b-256 b6437e749d9dc8c2bb58a457b51414c14cd2b5fb3a51c3c388b3d04cd58be7cd

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.1.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a2d85fbc9bad87ff63214c8f8ee4a9477e911b112a9739bfcde7466f9f5d997c
MD5 28410d0129144aa8ec14bb90e1458692
BLAKE2b-256 c4dc3d71a5c6ae30945f653433f70159a7ddc8790b3943cd263690a8389c5257

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: isx-2.1.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 12.0 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for isx-2.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c81a9229f2f0ec3ef0693c566a2457546a7a169ac88a65e58716820340485202
MD5 d80839365c9bb65bcc97e7f17fc5e9dc
BLAKE2b-256 36639dd0420425ef24ef8ead135d09f83f299b25ea8c08fc45008f4ff2fc7d3a

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: isx-2.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 41.2 MB
  • Tags: CPython 3.9, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for isx-2.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a80c794f23ac3674a6b50bd8125edd2a4d07dc16e115cd9eb0076506f8904e60
MD5 1f9cd1898390514bc1d2555cd6e7448e
BLAKE2b-256 18077769822f7865321ba262a6e14f615c6baa186d5ce4870f94cd13acebcc55

See more details on using hashes here.

File details

Details for the file isx-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

  • Download URL: isx-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl
  • Upload date:
  • Size: 13.5 MB
  • Tags: CPython 3.9, macOS 13.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for isx-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 704d6e1db8a3d37446794155088326a8a22b9201935db0327b4ee50257a8bcc7
MD5 b7dbeeb5918393a3fd6b07968bd056d8
BLAKE2b-256 f85c47bb613a5d302fff78020a693f21b8995b621bc5a74045123bae76a7c818

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page