Skip to main content

Neuroimaging Python wrappers.

Project description

⚠️ Important Notice: This is a very early release of niwrap. We do not recommend using niwrap in 'production' at this stage unless you are willing to debug, fix, and contribute descriptors.

niwrap

🧠 Python wrappers for neuroimaging command-line tools

Build stability-stable MIT License pages

🚀 Quick Start

from niwrap import fsl

# Brain extraction using FSL's BET
bet_output = fsl.bet(
    infile="input_image.nii.gz",
)

📦 Installation

Install the stable version from PyPI:

pip install niwrap

Or install the development version:

pip install -e "git+https://github.com/childmindresearch/niwrap.git/#egg=niwrap&subdirectory=python"

🧰 Supported Tools

Package Status Version API Coverage
AFNI Experimental 24.2.06 565/611 (92.5%)
ANTs Experimental 2.5.3 71/113 (62.8%)
Connectome Workbench Experimental 1.5.0 202/202 (100% 🎉)
Convert3D Experimental 1.1.0 2/2 (100% 🎉)
FSL Experimental 6.0.5 239/310 (77.1%)
FastSurfer Experimental 2.3.3 1/1 (100% 🎉)
FreeSurfer Experimental 7.4.1 707/800 (88.4%)
Greedy Experimental 1.0.1 1/1 (100% 🎉)
MRTrix3 Well tested 3.0.4 115/121 (95.0%)
MRTrix3Tissue Well tested 5.2.8 1/1 (100% 🎉)
NiftyReg Experimental 1.4.0 7/7 (100% 🎉)
dcm2niix Experimental 1.0.20240202 1/1 (100% 🎉)

🛠 Usage Examples

Usage examples and tutorials can be found in the Styx book.

🔧 Development

All code in this package is automatically generated by Styx.

📚 Documentation

For full documentation, visit our docs site.

🤝 Contributing

We welcome contributions! Please see our Contribution Guide for more details.

📄 License

The niwrap Python package, including all wrapper code, is licensed under the MIT License. See the LICENSE file for more details.

⚠️ Important Notice: While niwrap provides convenient Python wrappers, it does not include or distribute the actual neuroimaging tools. Each tool wrapped by niwrap (e.g., FSL, AFNI, ANTs) is subject to its own license. Users of niwrap must ensure they comply with the licenses of the underlying tools they use. The MIT License of niwrap applies only to the wrapper code, not to the tools themselves.

🙋‍♀️ Getting Help

The Styx book aims to be a starting point for new users.

If you encounter any problems or have any questions, please open an issue on our GitHub repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

niwrap-0.4.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

niwrap-0.4.0-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

Details for the file niwrap-0.4.0.tar.gz.

File metadata

  • Download URL: niwrap-0.4.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for niwrap-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8f40dd3fd71e646dec77326b4273cbf99d1056b44bfe372403e4de940c347938
MD5 10150395eed8d2e66f1b1204d99cd336
BLAKE2b-256 30196e0682469059336191dc5044f948b2d6bb48b0c86359af65f260ad5fe427

See more details on using hashes here.

File details

Details for the file niwrap-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: niwrap-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for niwrap-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9364fd68d581365409294f6d59fa0ab5dd70b979f8237e6906ce3b53ba11907
MD5 6a3c181cacc2ce263ed5ac65a7c46755
BLAKE2b-256 ad4e5502bbcb22b909fa0a5bb23325989fa0523dae2a20ef261a12aba4867f80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page