Flywheel Gear Tools
Project description
FW Gear
⚠️ BETA RELEASE - This repository is currently in beta until December 31st, 2025. General Availability (GA) release is planned for Q1 2026.
fw-gear is a python package maintained by Flywheel It provides a set of modules for facilitating Flywheel gears development.
Installation
pip install fw-gear
Documentation
The documentation for the fw-gear can be found on the Flywheel Scientific Solutions documentation site
Contributing
Building
The dependency and virtual environment manager for the gear toolkit is poetry.
poetry install
or
poetry install -E all
to install with extras.
Testing, Linting, Building doc
Linting, Testing and Documentation building are all done using pre-commit.
After installing poetry, the pre-commit command will be installed.
Make sure pre-commit hooks are installed by running
either poetry run pre-commit install or from within
the poetry shell pre-commit install.
After hooks are installed, they will
automatically be run on each git commit, they can all be skipped by
running git commit --no-verify or
specific hooks can be skipped by setting
the environmental variable, ex. SKIP=test:pre-commit:pytest git commit.
Individual hooks can also be run independently.
For example, to build sphinx-doc, you can
run pre-commit run publish:doc:test,
or to run black on all
files: pre-commit run test:flywheel-lint -a.
For a list of all hooks, view the pre-commit-config.
Managing dependencies
To add new dependencies to this repo, please use poetry and to follow the below steps:
# Install my-package:
poetry add my-package
# or install my-package as part of the required packages for development (e.g. pytest):
poetry add my-package --dev
# Sync poetry.lock
poetry lock
Building and releasing
Local building
To build the project locally and verify if the build was successful, you can run
poetry build --format wheel
twine check dist/*.whl
Versioning and project information
The pyproject.toml file has replaced the usual setup.py in this
repository and contains information on contributors, maintainers,
project description, project URLs, and project version.
In order to change any information on the project,
it must be changed in the pyproject.toml file.
Documentation for this file can be found on the Poetry pyproject.toml documentation page, and information on dependency version specification syntax can be found in the Poetry dependency specification guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fw_gear-0.3.2-py3-none-any.whl.
File metadata
- Download URL: fw_gear-0.3.2-py3-none-any.whl
- Upload date:
- Size: 185.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.9.24 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6afa94a5766df5edb77c3599b72bf034a1fa9883898a57be5eba4e6507c1172
|
|
| MD5 |
b7e74575a2ffe757928122335bfb3c07
|
|
| BLAKE2b-256 |
b51395d5e308423d5b27272e7f83c021efb2415f0b9eb2a56da7ebe0328b28db
|