This release is a pre-release and may not be stable for production use.
NLTools
Python toolbox for analyzing neuroimaging data, with a focus on multivariate analyses. It grew out of Tor Wager's object-oriented Matlab CANlab core tools and builds on nilearn and scikit-learn. Requires Python 3.11+.
Documentation
Documentation and tutorials are available at https://nltools.org
Installation
With uv (recommended, for use in a project):
uv add nltools
Or with pip:
pip install nltools
Development
uv manages the whole workflow — it creates the virtual environment, installs core and development dependencies, and installs nltools into it in editable mode.
git clone https://github.com/cosanlab/nltools
cd nltools
uv sync
Common tasks (run via poe, all prefixed with uv run):
| Command | What it does |
|---|---|
uv run poe lint |
Fix, format, and type-check (ruff + ty) |
uv run poe test |
Run the fast test suite in parallel |
uv run pytest -k test_name |
Run a specific test |
uv run poe docs-serve |
Live-preview the docs site at localhost:8000 (executes tutorials via the cache) |
uv run poe docs-build |
Full docs build (API reference + executed tutorials) |
uv run poe tutorials |
Run every tutorial notebook end-to-end |
uv build |
Build the package locally |
uv add/remove [--dev] pkg |
Add or remove a (dev) dependency |
Metadata
Release files for nltools 0.6.0.dev4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nltools-0.6.0.dev4.tar.gz | 492.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nltools-0.6.0.dev4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 943.9 kB
Release files / nltools-0.6.0.dev4.tar.gz
| Download URL | nltools-0.6.0.dev4.tar.gz |
|---|---|
| Size | 492.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b38a38be5cf88745679ef1f1da47c67ecffd140004a129996318ef873199a0c
|
|
BLAKE2b-256 checksum How to use checksums |
c0f3ae5b4cb758cf3b87d137b7f0907bf2e1d2669d501761993a50a349bb7d67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.6
|
Release files / nltools-0.6.0.dev4-py3-none-any.whl
| Download URL | nltools-0.6.0.dev4-py3-none-any.whl |
|---|---|
| Size | 451.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67e645faa342810363cd38f0e5081f8308a2c7969686d58f13b97a03906e5d3e
|
|
BLAKE2b-256 checksum How to use checksums |
2e0892bfcd8445d2e4224ad13167dca46464464bbe47e0475b2994374b1eefb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.6
|