{"id":13498233,"url":"https://github.com/nipy/nibabel","last_synced_at":"2026-03-09T03:31:12.831Z","repository":{"id":37493046,"uuid":"791352","full_name":"nipy/nibabel","owner":"nipy","description":"Python package to access a cacophony of neuro-imaging file formats","archived":false,"fork":false,"pushed_at":"2026-03-06T13:01:15.000Z","size":19572,"stargazers_count":767,"open_issues_count":147,"forks_count":277,"subscribers_count":30,"default_branch":"master","last_synced_at":"2026-03-06T17:24:52.009Z","etag":null,"topics":["afni-brik-head","brain-imaging","cifti-2","data-formats","dicom","ecat","gifti","minc","neuroimaging","nifti","python","streamlines","tck","trk"],"latest_commit_sha":null,"homepage":"http://nipy.org/nibabel/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nipy.png","metadata":{"files":{"readme":"README.rst","changelog":"Changelog","contributing":".github/CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":".zenodo.json","notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2010-07-22T16:28:30.000Z","updated_at":"2026-03-06T13:01:19.000Z","dependencies_parsed_at":"2025-12-06T07:07:01.134Z","dependency_job_id":"18e458b6-24fb-4602-8323-cd3ddfa1cf06","html_url":"https://github.com/nipy/nibabel","commit_stats":null,"previous_names":[],"tags_count":110,"template":false,"template_full_name":null,"purl":"pkg:github/nipy/nibabel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nipy%2Fnibabel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nipy%2Fnibabel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nipy%2Fnibabel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nipy%2Fnibabel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nipy","download_url":"https://codeload.github.com/nipy/nibabel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nipy%2Fnibabel/sbom","scorecard":{"id":688708,"data":{"date":"2025-08-11","repo":{"name":"github.com/nipy/nibabel","commit":"b5ecf482648aac5c77630d0d65555f043fc5d757"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.7,"checks":[{"name":"Code-Review","score":3,"reason":"Found 2/6 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":3,"reason":"1 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/test.yml:38","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/test.yml:259"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:268: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:272: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:186: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:191: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:194: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:225: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:231: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:245: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:247: update your workflow using https://app.stepsecurity.io/secureworkflow/nipy/nibabel/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:51","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:93","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:99","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:102","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:105","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   1 out of   6 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-22T01:43:40.666Z","repository_id":37493046,"created_at":"2025-08-22T01:43:40.666Z","updated_at":"2025-08-22T01:43:40.666Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30281484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["afni-brik-head","brain-imaging","cifti-2","data-formats","dicom","ecat","gifti","minc","neuroimaging","nifti","python","streamlines","tck","trk"],"created_at":"2024-07-31T21:00:16.392Z","updated_at":"2026-03-09T03:31:12.721Z","avatar_url":"https://github.com/nipy.png","language":"Python","readme":".. -*- rest -*-\n.. vim:syntax=rst\n\n.. Use raw location to ensure image shows up on PyPI\n.. image:: https://raw.githubusercontent.com/nipy/nibabel/master/doc/pics/logo.png\n   :target: https://nipy.org/nibabel\n   :alt: NiBabel logo\n\n.. list-table::\n   :widths: 20 80\n   :header-rows: 0\n\n   * - Code\n     -\n      .. image:: https://img.shields.io/pypi/pyversions/nibabel.svg\n         :target: https://pypi.python.org/pypi/nibabel/\n         :alt: PyPI - Python Version\n      .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n         :target: https://github.com/astral-sh/ruff\n         :alt: Ruff\n      .. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white\n         :target: https://github.com/pre-commit/pre-commit\n         :alt: pre-commit\n\n   * - Tests\n     -\n      .. image:: https://github.com/nipy/NiBabel/actions/workflows/stable.yml/badge.svg\n         :target: https://github.com/nipy/NiBabel/actions/workflows/stable.yml\n         :alt: stable tests\n      .. image:: https://codecov.io/gh/nipy/NiBabel/branch/master/graph/badge.svg\n         :target: https://codecov.io/gh/nipy/NiBabel\n         :alt: codecov badge\n\n   * - PyPI\n     -\n      .. image:: https://img.shields.io/pypi/v/nibabel.svg\n         :target: https://pypi.python.org/pypi/nibabel/\n         :alt: PyPI version\n      .. image:: https://img.shields.io/pypi/dm/nibabel.svg\n         :target: https://pypistats.org/packages/nibabel\n         :alt: PyPI - Downloads\n\n   * - Packages\n     -\n      .. image:: https://img.shields.io/conda/vn/conda-forge/nibabel\n         :target: https://anaconda.org/conda-forge/nibabel\n         :alt: Conda package\n      .. image:: https://repology.org/badge/version-for-repo/debian_unstable/nibabel.svg?header=Debian%20Unstable\n         :target: https://repology.org/project/nibabel/versions\n         :alt: Debian Unstable package\n      .. image:: https://repology.org/badge/version-for-repo/aur/python:nibabel.svg?header=Arch%20%28%41%55%52%29\n         :target: https://repology.org/project/python:nibabel/versions\n         :alt: Arch (AUR)\n      .. image:: https://repology.org/badge/version-for-repo/gentoo_ovl_science/nibabel.svg?header=Gentoo%20%28%3A%3Ascience%29\n         :target: https://repology.org/project/nibabel/versions\n         :alt: Gentoo (::science)\n      .. image:: https://repology.org/badge/version-for-repo/nix_unstable/python:nibabel.svg?header=nixpkgs%20unstable\n         :target: https://repology.org/project/python:nibabel/versions\n         :alt: nixpkgs unstable\n\n   * - License \u0026 DOI\n     -\n      .. image:: https://img.shields.io/pypi/l/nibabel.svg\n         :target: https://github.com/nipy/nibabel/blob/master/COPYING\n         :alt: License\n      .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.591597.svg\n         :target: https://doi.org/10.5281/zenodo.591597\n         :alt: Zenodo DOI\n\n.. Following contents should be copied from LONG_DESCRIPTION in nibabel/info.py\n\n\nRead and write access to common neuroimaging file formats, including:\nANALYZE_ (plain, SPM99, SPM2 and later), GIFTI_, NIfTI1_, NIfTI2_, `CIFTI-2`_,\nMINC1_, MINC2_, `AFNI BRIK/HEAD`_, ECAT_ and Philips PAR/REC.\nIn addition, NiBabel also supports FreeSurfer_'s MGH_, geometry, annotation and\nmorphometry files, and provides some limited support for DICOM_.\n\nNiBabel's API gives full or selective access to header information (metadata),\nand image data is made available via NumPy arrays. For more information, see\nNiBabel's `documentation site`_ and `API reference`_.\n\n.. _API reference: https://nipy.org/nibabel/api.html\n.. _AFNI BRIK/HEAD: https://afni.nimh.nih.gov/pub/dist/src/README.attributes\n.. _ANALYZE: http://www.grahamwideman.com/gw/brain/analyze/formatdoc.htm\n.. _CIFTI-2: https://www.nitrc.org/projects/cifti/\n.. _DICOM: http://medical.nema.org/\n.. _documentation site: http://nipy.org/nibabel\n.. _ECAT: http://xmedcon.sourceforge.net/Docs/Ecat\n.. _Freesurfer: https://surfer.nmr.mgh.harvard.edu\n.. _GIFTI: https://www.nitrc.org/projects/gifti\n.. _MGH: https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat\n.. _MINC1:\n    https://en.wikibooks.org/wiki/MINC/Reference/MINC1_File_Format_Reference\n.. _MINC2:\n    https://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_File_Format_Reference\n.. _NIfTI1: http://nifti.nimh.nih.gov/nifti-1/\n.. _NIfTI2: http://nifti.nimh.nih.gov/nifti-2/\n\nInstallation\n============\n\nTo install NiBabel's `current release`_ with ``pip``, run::\n\n   pip install nibabel\n\nTo install the latest development version, run::\n\n   pip install git+https://github.com/nipy/nibabel\n\nWhen working on NiBabel itself, it may be useful to install in \"editable\" mode::\n\n   git clone https://github.com/nipy/nibabel.git\n   pip install -e ./nibabel\n\nFor more information on previous releases, see the `release archive`_ or\n`development changelog`_.\n\n.. _current release: https://pypi.python.org/pypi/NiBabel\n.. _release archive: https://github.com/nipy/NiBabel/releases\n.. _development changelog: https://nipy.org/nibabel/changelog.html\n\nTesting\n=======\n\nDuring development, we recommend using tox_ to run nibabel tests::\n\n    git clone https://github.com/nipy/nibabel.git\n    cd nibabel\n    tox\n\nTo test an installed version of nibabel, install the test dependencies\nand run pytest_::\n\n    pip install nibabel[test]\n    pytest --pyargs nibabel\n\nFor more information, consult the `developer guidelines`_.\n\n.. _tox: https://tox.wiki\n.. _pytest: https://docs.pytest.org\n.. _developer guidelines: https://nipy.org/nibabel/devel/devguide.html\n\nMailing List\n============\n\nPlease send any questions or suggestions to the `neuroimaging mailing list\n\u003chttps://mail.python.org/mailman/listinfo/neuroimaging\u003e`_.\n\nLicense\n=======\n\nNiBabel is licensed under the terms of the `MIT license\n\u003chttps://github.com/nipy/nibabel/blob/master/COPYING#nibabel\u003e`__.\nSome code included with NiBabel is licensed under the `BSD license`_.\nFor more information, please see the COPYING_ file.\n\n.. _BSD license: https://opensource.org/licenses/BSD-3-Clause\n.. _COPYING: https://github.com/nipy/nibabel/blob/master/COPYING\n\nCitation\n========\n\nNiBabel releases have a Zenodo_ `Digital Object Identifier`_ (DOI) badge at\nthe top of the release notes. Click on the badge for more information.\n\n.. _Digital Object Identifier: https://en.wikipedia.org/wiki/Digital_object_identifier\n.. _zenodo: https://zenodo.org\n","funding_links":[],"categories":["Programming","医疗领域","fMRI and Neuroimaging","📬 Contact","Domain-specific libraries"],"sub_categories":["Python","Neuroimaging"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnipy%2Fnibabel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnipy%2Fnibabel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnipy%2Fnibabel/lists"}