$npx skillfedfor your agent

nilearn

Statistical learning for neuroimaging in Python

Worth itPyPI Software DevelopmentReleased Jul 2026287.3K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — nilearn-0.14.0-py3-none-any.whl
v0.14.0 · released 2026-07-02 · Python >=3.10 · 9 runtime deps: jinja2, joblib, nibabel, numpy, packaging, pandas, requests, scikit-learn

Yes. Nilearn is actively maintained, has low install friction, carries a permissive license, and addresses a specific scientific need with established community support. It is well-suited for researchers and developers doing neuroimaging analysis in Python. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Optional plotting features require matplotlib >= 3.8.0 or plotly + kaleido for advanced visualization.
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only preservation of copyright and license notices.

last release 2026-07-02 (43 days) · last repo commit 2026-08-14 · 1,424 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 287,281 downloads/mo, #8,035 on PyPI

Verify before relying

pip install nilearn

import nilearn
from nilearn import image
# Load and analyze brain imaging data using nilearn's statistical tools
  • Whether the package's GLM analysis and multivariate statistics capabilities cover your specific neuroimaging use case
  • Performance characteristics when working with large-scale brain imaging datasets
  • Availability and quality of community support beyond the documented drop-in hours
Same gist for agents: .md · .json

What it is and what it does

Nilearn is a Python library for statistical and machine-learning analysis of brain imaging data. It integrates scikit-learn's multivariate statistics with neuroimaging-specific tools, supporting general linear model (GLM) analysis on brain volumes and surfaces. The package is designed for researchers and developers working with fMRI, structural imaging, or other neuroimaging modalities who need accessible statistical and predictive modeling capabilities.

The library depends on core scientific Python packages (numpy, scipy, pandas, scikit-learn, nibabel) for numerical computation and neuroimaging file handling. It includes optional plotting support via matplotlib and plotly. The project maintains active development with regular releases, comprehensive documentation, and a community-oriented approach including weekly drop-in hours for user support.

Use it for

  • Perform GLM-based statistical analysis on fMRI data to identify brain regions associated with experimental conditions
  • Build predictive models for brain decoding tasks using multivariate pattern analysis with scikit-learn integration
  • Analyze functional connectivity between brain regions and classify brain states from imaging data
  • Visualize and explore brain volume and surface data with integrated plotting tools
  • Conduct group-level statistical inference on neuroimaging datasets across multiple subjects

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Nilearn is actively maintained, has low install friction, carries a permissive license, and addresses a specific scientific need with established community support. It is well-suited for researchers and developers doing neuroimaging analysis in Python. No known security vulnerabilities.

Install

nilearn on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release 43 days ago and ongoing repository activity. Requires Python 3.10 or later.

Requires Python 3.10 or later. Optional plotting features require matplotlib >= 3.8.0 or plotly + kaleido for advanced visualization.

License in practice

BSD-3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only preservation of copyright and license notices.

Quickstart

pip install nilearn

import nilearn
from nilearn import image
# Load and analyze brain imaging data using nilearn's statistical tools

Verify before relying

  • Whether the package's GLM analysis and multivariate statistics capabilities cover your specific neuroimaging use case
  • Performance characteristics when working with large-scale brain imaging datasets
  • Availability and quality of community support beyond the documented drop-in hours

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
jinja2joblibnibabelnumpypackagingpandasrequestsscikit-learnscipy
MaintenanceActively maintained 43 days since the last release
Last repo commit
First released
Downloads287,281 / month, #8,035 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: CProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development

Evidence: nilearn-0.14.0-py3-none-any.whl

Tags

Capabilities
neuroimaging analysis pythonbrain imaging statistical learningfmri data analysismultivariate brain statisticsneuroimaging machine learningbrain volume surface analysisglm neuroimaging
Topics
neuroimagingbrain-analysisscientific-computing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “neuroimaging analysis python”

  • nilearnNilearn provides statistical and machine-learning tools for analyzing…
  • nipypeNipype provides a uniform Python interface to neuroimaging software…
  • bidsschematoolsParse, validate, and export the Brain Imaging Data Structure (BIDS)…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also pybids · mne · dipy · mne-bids · dask-glm · pyxnat · bidsschematools · statsmodels · nipype · neo