Skip to content

Commit

Permalink
Update readme with doc links (#56)
Browse files Browse the repository at this point in the history
Co-authored-by: Nosheen Adil <nadil@inscopix.com>
  • Loading branch information
nosheen-adil and Nosheen Adil authored Oct 9, 2024
1 parent 4d2f9e6 commit 518432e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# pyisx

The `pyisx` project is a python binding for [isxcore](https://github.com/inscopix/isxcore), a C++ API for interacting with Inscopix data.
The python package for this binding, named `isx`, is available on [pypi](https://pypi.org/project/isx/) for download.
`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](https://github.com/inscopix/isxcore), a C++ API for interacting with Inscopix data.

## Documentation

For help, please refer to the [documentation](https://github.com/inscopix/pyisx).

## Install

Pre-built binaries of this API can be installed from [PyPi](https://pypi.org/project/isx/).
Expand All @@ -18,13 +22,14 @@ 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 pyisx python=3.12
conda activate pyisx
```bash
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

Expand Down Expand Up @@ -58,19 +63,23 @@ Follow the setup instructions for the C++ [isxcore](https://github.com/inscopix/
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 pyisx python=3.12
conda activate pyisx
```bash
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.
```bash
CONDA_SUBDIR=osx-64 conda create -n pyisx python=3.12
conda activate pyisx
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.

3. Install build & test dependencies

Inside the virtual environment install the following dependencies:
Expand Down
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ This package encapsulates the following I/O functionality:
* 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](https://github.com/inscopix/isxcore), a C++ API for interacting with Inscopix data.

::: {toctree}
:maxdepth: 1
:caption: Contents:
Expand Down
2 changes: 1 addition & 1 deletion docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This package encapsulates the following I/O functionality:
* Writing Inscopix files (`.isxd`)
* Exporting Inscopix files to third-party formats (`.mp4`, `.tiff`, `.csv`)

The [pyisx](https://github.com/inscopix/pyisx) project is a python binding for [isxcore](https://github.com/inscopix/isxcore), a C++ API for interacting with Inscopix data.
The `isx` package is built from the `pyisx` project, a python binding for [isxcore](https://github.com/inscopix/isxcore), a C++ API for interacting with Inscopix data.

## Install

Expand Down

0 comments on commit 518432e

Please sign in to comment.