Skip to main content

Anatomical Fiducials (AFIDs) Utility Tools

GitHub release version License: MIT CodeCov Tests Documentation Status

The afids-utils package provides common utilities for projects involving anatomical fiducials (AFIDs). For a comprehensive list of available utilities refer to the documentation page.

Installation

afids-utils can be installed using pip:

pip install afids-utils

To also include plotting functionality (this will install matplotlib, plotly, and nilearn):

pip install afids-utils[plotting]

Contributing

afids-utils is an open-source project and contributions are welcome! If you have any bug reports, feature requests, or improvement suggestions, please submit them to the issues page.

To contribute, first click the "fork" button to create your own copy of the repository and then clone the project to your local machine:

git clone https://github.com/your-username/afids-utils.git

Navigate to the location where the directory was cloned and add the upstream repository:

cd afids-utils

git remote add upstream https://github.com/afids/afids-utils.git

Now, git remote -v will show two remote repositories:

  • upstream, referring to the afids repository
  • origin, your personal fork

To the pull the latest changes from the code:

git checkout main
git pull upstream main

To develop and push your contribution to your copy of the repository:

git checkout -b contribution-name
git push origin contribution-name

Once pushed, a pull request can be opened, at which point the contribution will be reviewed by a maintainer of the afids-utils repository.

Poetry

afids-utils depedencies are managed with Poetry - please refer to the Poetry website for installation instructions. Following the installation of Poetry, the development environment can be set up from the local repository location by running the following commands:

poetry install --with dev --all-extras

Poetry uses poethepoet as a task runner. You can see what commands are available by running:

poetry run poe

Tests are performed with pytest and can be run via:

poetry run poe test

Additionally, afids-utils makes use of a number of libraries to lint and format code, which can be invoked by running the following:

poetry run poe setup

This sets up a pre-commit hook, which runs the necessary checks every time a commit is performed. Alternatively, if you don't wish to use the pre-commit hook, you can run the following manually, which performs the same checks:

poetry run poe quality

Please ensure these all pass before making a pull request.

Metadata

Release files for afids-utils 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for afids-utils 0.2.0
File Size Uploaded Provenance Actions
afids_utils-0.2.0.tar.gz 17.4 kB Without provenance Details for afids_utils-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for afids-utils 0.2.0
File Interpreter ABI Platform Actions
afids_utils-0.2.0-py3-none-any.whl Python 3 none any Details for afids_utils-0.2.0-py3-none-any.whl

Total release size: 37.3 kB

Release files / afids_utils-0.2.0.tar.gz

Download URL afids_utils-0.2.0.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e6170923d061f21df7b48263f850d73c7785595d3ea6f4f63a2c3a678de341d6
BLAKE2b-256 checksum
How to use checksums
d2d95441ae7345177805a76515686481eaadadbdd90903d04aa335cc61408e43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

Release files / afids_utils-0.2.0-py3-none-any.whl

Download URL afids_utils-0.2.0-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e0e9cd0a5dc9c5b023f36205436ceedb349d9893a703e5e1ea92c884d11c708
BLAKE2b-256 checksum
How to use checksums
2d2c5255c7e1dc682b604642d4354540459b669562c4a1edc7022c24b99d52ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

Security for afids-utils 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page