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.dev2
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.dev2.tar.gz | 486.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nltools-0.6.0.dev2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 934.5 kB
Release files / nltools-0.6.0.dev2.tar.gz
| Download URL | nltools-0.6.0.dev2.tar.gz |
|---|---|
| Size | 486.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f19b53ccb68ab1e03ea32979f6cadf71e387e56f59f8ef5bfc76f7aa809bfb1
|
|
BLAKE2b-256 checksum How to use checksums |
feca8971098d470d0e973a0519ea005646c066ee63067249bb57a1d575212afb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.6
|
Release files / nltools-0.6.0.dev2-py3-none-any.whl
| Download URL | nltools-0.6.0.dev2-py3-none-any.whl |
|---|---|
| Size | 447.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14e7de1fdd4d54dcedd2f79a9c35c172c83e78422e4071e1ee73e655fe36ffcf
|
|
BLAKE2b-256 checksum How to use checksums |
2fc3400a70bc9aa76cbfde5df90d1862426e316bb21ccedc2ae0204a467088b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.6
|