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: For Apple Silicon (i.e., macOS arm64 architecture), the package is currently not natively supported. However, it's possible to use anaconda to configure an x86 environment and use the project.

CONDA_SUBDIR=osx-64 conda create -n <name> python=<python>
conda activate <name>
conda config --env --set subdir osx-64
pip install isx

Replace <name> with a name for the conda environment, and <python> with the python version to use.

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, specifying the desired python version. This guide uses anaconda for demonstration, but other tools like virtualenv or poetry can also be used.

conda create -n <name> python=<python>
conda activate <name>

Replace <name> with a name for the conda environment, and <python> with the python version to use.

Note: On macOS systems with Apple Silicon, the conda environment is configured differently, since isxcore is currently only built for x86 architectures.

CONDA_SUBDIR=osx-64 conda create -n <name> python=<python>
conda activate <name>
conda config --env --set subdir osx-64

Replace <name> with a name for the conda environment, and <python> with the python version to use.

  1. Install build & test dependencies

Inside the virtual environment install the following dependencies:

conda install -y build pytest

Note: For python 3.12 the build package must be installed used pip instead.

  1. Build the package
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

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

Uploaded CPython 3.12 Windows x86-64

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

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

isx-2.0.1-cp312-cp312-manylinux_2_31_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.31+ x86-64

isx-2.0.1-cp312-cp312-macosx_10_15_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.12 macOS 10.15+ x86-64

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

isx-2.0.1-cp311-cp311-manylinux_2_31_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.31+ x86-64

isx-2.0.1-cp311-cp311-macosx_10_15_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

isx-2.0.1-cp310-cp310-manylinux_2_31_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.31+ x86-64

isx-2.0.1-cp310-cp310-macosx_10_15_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 manylinux: glibc 2.34+ x86-64

isx-2.0.1-cp39-cp39-manylinux_2_31_x86_64.whl (41.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.31+ x86-64

isx-2.0.1-cp39-cp39-macosx_10_15_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: isx-2.0.1-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/5.1.1 CPython/3.12.7

File hashes

Hashes for isx-2.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9d67fe955764c5453430c314b4dd46d1b54b3cb15b9cbc4ba8f77400533c2242
MD5 e8703664b2a524e68a30c2f18a2acf72
BLAKE2b-256 0c7780dd509ba30acce4c7e1a39b13b264e011f5538e7d09b88b9bd30a379c65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for isx-2.0.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 cbbd61682dc4f5294dbf3409ff7e117c6c766c14ccb02cfa03fdc8342c20b57c
MD5 ecf576dbabaed1649c2151fbbed5aade
BLAKE2b-256 e2fc559d5b52d1b7b65c276292c7f76dd1bea349d49411a84bbb6bedf203fa5a

See more details on using hashes here.

File details

Details for the file isx-2.0.1-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.0.1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 169192f696d8992129680a7118010a8c619f076d4ebd5cb3f132ae94d678fba3
MD5 61d7da494f814aae17624824c2cd3341
BLAKE2b-256 ecf3df9869b8e58536d7d20513f34cc733834367853b4998655c3734fb79e4f8

See more details on using hashes here.

File details

Details for the file isx-2.0.1-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.0.1-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 336accca9d98f2bfb28f54622ba298b1865ce59cbe8b2c9f106afeaafaf03fcc
MD5 533953421f56e1e0ae025bb572f3506a
BLAKE2b-256 ce1f9c017a14943fff77777fdf2c50002fa8faa95d8957aab25d20d3591bcc49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: isx-2.0.1-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/5.1.1 CPython/3.11.10

File hashes

Hashes for isx-2.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3cd468619d7aa0ae0690390608a6f746b0f3648ed6e8a60b91af6d815ae8355d
MD5 a8b9ba5f8db4e4828846529926a418f2
BLAKE2b-256 d1f7fb7c34f91c8f9b6f7ff6e3f46911ab9626d5839b478920b1a85bd5fc164e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for isx-2.0.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ce88e42b35d76040144bb77f773c8dff1ec381b68bf77345db85dacc4f5236ad
MD5 771acb0aab19a19b5c307c5573e8d5a9
BLAKE2b-256 1602588ba36e87aa59d1382ca4c4c939fa743a2542e6e8bc7274f609c95da108

See more details on using hashes here.

File details

Details for the file isx-2.0.1-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.0.1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f190a65c6ac3569b6633a94817335d40ccac35f8bcfc1d002b5d5b6ccfb521eb
MD5 7d65a246e83b602003e5c63326e141c2
BLAKE2b-256 ebb719756a3dfae18a9f89ca8162e7b0f1cdc94e9caf446840ff5eed8da8422b

See more details on using hashes here.

File details

Details for the file isx-2.0.1-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.0.1-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5fb13ab7bc9ced5f1ecf64860977adaf2c6eb78731318fdead857393469f2e0c
MD5 3b46127964be045d55b1a70db846dfed
BLAKE2b-256 71900910340d30c79c4515cc685d65cbdd02b61f3e92b6f32cc21c5f05e300bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: isx-2.0.1-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/5.1.1 CPython/3.10.15

File hashes

Hashes for isx-2.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5dd36d7d5254df63381babf072be51417a6c1be4ed7e3784e5c9965cae07210c
MD5 06a8e1bb71f1f88470978ad2dd672706
BLAKE2b-256 e28187ae4c6d5e739fe1a7eaed9f341b4d1edaeda838485a2b73b1f0ef15ba41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for isx-2.0.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3e10cd8bb3d4c979ad0d5eca312c4eb5ae6b734eb995982b14fa7456382e03ae
MD5 9a98b268599010456837ed6b787b110b
BLAKE2b-256 c24c7463635e64cb889e27084cb365c695cb386f86695cd03d39fed4d774d6df

See more details on using hashes here.

File details

Details for the file isx-2.0.1-cp310-cp310-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.0.1-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9d6342b9e3053ca30b433b54af58369c0e1dc82032ac62a410a0dc191bc77992
MD5 ff4520a9e1dc89fcec5062a8788fcbd6
BLAKE2b-256 b9541fb7455738a20c3e91e168979c98c056d78165e299a1c65f7dcd43536121

See more details on using hashes here.

File details

Details for the file isx-2.0.1-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.0.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4990a30c1cbd7a572989037b22887b20942fb9abac38eba02a5868f6cf7173db
MD5 53f72e6818ad31060129833c65d0b915
BLAKE2b-256 4a6ebff6fba27139f5cd0761cb00d44393fa3f19ae34f23f0aad715a6cbca615

See more details on using hashes here.

File details

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

File metadata

  • Download URL: isx-2.0.1-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/5.1.1 CPython/3.9.20

File hashes

Hashes for isx-2.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f3d94111cba38f3aea6be7bf1b6eb96aaca161ee1a576aee3d10dbc8cca35f6e
MD5 eefc9633827d10ac0408d17fb1e915c1
BLAKE2b-256 54f57fc91190b57113a1f516a40260c0b9c229bb1079bdf769f4f297e881bdec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for isx-2.0.1-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 76be1d4fcc3de8d65f33d27c199499f2c2d4584e62ef8d5b18d7ba0f509a2f5f
MD5 6dad70c2037f69d6c40e444885b999e1
BLAKE2b-256 a4e15af66a7a967dd4a3fa30e1383d416f8eb80be7680eed453df1c7d1e618f2

See more details on using hashes here.

File details

Details for the file isx-2.0.1-cp39-cp39-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.0.1-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 074f2620ecc6702f48e06896835300c6f8f64fec9975081135864a99572ae7e7
MD5 0678ae8fdf16c0eae9070c7e1856c26b
BLAKE2b-256 ff755fc772e31422824923d155269b89a7b509fe095a9ace8457d45258f348c4

See more details on using hashes here.

File details

Details for the file isx-2.0.1-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for isx-2.0.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 37fb409d18b8675f73454fdfd4a6864b95373c911b12f37bf24e48f4566ea48c
MD5 c55da6b2878fc581fc816bdbdec8a152
BLAKE2b-256 9f4302e93e9eade55c0c5cc17254848ca98fe9a3437f61abdf99b26eec6eee23

See more details on using hashes here.

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