# Flywheel Migration Toolkit
**flywheel-migration** is a library that provides configurable parsing and
de-identification of foreign data.
## Development
Install the project using [poetry](https://python-poetry.org/) and enable
[pre-commit](https://pre-commit.com/).
```bash
poetry install
pre-commit install
```
## Testing
Tests are handled in pre-commit containers using
[qa-ci](https://gitlab.com/flywheel-io/tools/etc/qa-ci).
```bash
pre-commit run -a pytest
```
To run all pre-commit hooks, run:
```bash
pre-commit run -a
```
This will execute all hooks defined in [.pre-commit-config.yaml](.pre-commit-config.yaml).
Alternatively, you can run pytests natively by executing the poetry virtual environment,
then calling `pytest` with
```bash
poetry shell
pytest -vv tests/
```
To run individual tests natively such as `test_jitter_for_dicom` in
`test_dicom_file_profile.py`
```bash
poetry shell
pytest -vv tests/test_dicom_file_profile.py -sk test_jitter_for_dicom
```
## Release
Releases are handled with qa-ci automation. Head to
[Build >> Pipelines](https://gitlab.com/flywheel-io/public/migration-toolkit/-/pipelines)
page on repository's sidebar, then click on
[Run Pipeline](https://gitlab.com/flywheel-io/public/migration-toolkit/-/pipelines/new).
Select `Variable` in **Variables** dropdown, and entere `REASEASE` as **variable key**.
Set **variable value** to desired version and click on `Run Pipeline`. This will
create a new release MR that can than be reviewed and merged to deploy a new release.
## Documentation
Documentation is automatically handled by `pre-commit` hook `generate_docs`. The
HTML page is built into `public` and deployed to GitLab pages. Documentation is
available at Documentation at
<https://flywheel-io.gitlab.io/public/migration-toolkit/>.
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/flywheel-io/public/migration-toolkit",
"name": "migration-toolkit",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "Flywheel,flywheel,data,migration,toolkit",
"author": "Flywheel",
"author_email": "support@flywheel.io",
"download_url": "",
"platform": null,
"description": "# Flywheel Migration Toolkit\n\n**flywheel-migration** is a library that provides configurable parsing and\nde-identification of foreign data.\n\n## Development\n\nInstall the project using [poetry](https://python-poetry.org/) and enable\n[pre-commit](https://pre-commit.com/).\n\n```bash\npoetry install\npre-commit install\n```\n\n## Testing\n\nTests are handled in pre-commit containers using\n[qa-ci](https://gitlab.com/flywheel-io/tools/etc/qa-ci).\n\n```bash\npre-commit run -a pytest\n```\n\nTo run all pre-commit hooks, run:\n\n```bash\npre-commit run -a\n```\n\nThis will execute all hooks defined in [.pre-commit-config.yaml](.pre-commit-config.yaml).\n\nAlternatively, you can run pytests natively by executing the poetry virtual environment,\nthen calling `pytest` with\n\n```bash\npoetry shell\npytest -vv tests/\n```\n\nTo run individual tests natively such as `test_jitter_for_dicom` in\n`test_dicom_file_profile.py`\n\n```bash\npoetry shell\npytest -vv tests/test_dicom_file_profile.py -sk test_jitter_for_dicom\n```\n\n## Release\n\nReleases are handled with qa-ci automation. Head to\n[Build >> Pipelines](https://gitlab.com/flywheel-io/public/migration-toolkit/-/pipelines)\npage on repository's sidebar, then click on\n[Run Pipeline](https://gitlab.com/flywheel-io/public/migration-toolkit/-/pipelines/new).\nSelect `Variable` in **Variables** dropdown, and entere `REASEASE` as **variable key**.\nSet **variable value** to desired version and click on `Run Pipeline`. This will\ncreate a new release MR that can than be reviewed and merged to deploy a new release.\n\n## Documentation\n\nDocumentation is automatically handled by `pre-commit` hook `generate_docs`. The\nHTML page is built into `public` and deployed to GitLab pages. Documentation is\navailable at Documentation at\n<https://flywheel-io.gitlab.io/public/migration-toolkit/>.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Flywheel Migration Toolkit",
"version": "13.8.2",
"project_urls": {
"Documentation": "https://gitlab.com/flywheel-io/public/migration-toolkit",
"Homepage": "https://gitlab.com/flywheel-io/public/migration-toolkit",
"Repository": "https://gitlab.com/flywheel-io/public/migration-toolkit"
},
"split_keywords": [
"flywheel",
"flywheel",
"data",
"migration",
"toolkit"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4d400805fa2d9e2b1e1c9da97264d36b4b3558449e1999f5113aa3db2883ac88",
"md5": "e7a4d8a1a591fe8c730f14a0b9b3bcb7",
"sha256": "333bdd9837d30455b7e52f3917dbac14c129cc21f86f116d8369dce0a30d03c8"
},
"downloads": -1,
"filename": "migration_toolkit-13.8.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e7a4d8a1a591fe8c730f14a0b9b3bcb7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 70603,
"upload_time": "2023-11-20T19:41:38",
"upload_time_iso_8601": "2023-11-20T19:41:38.791617Z",
"url": "https://files.pythonhosted.org/packages/4d/40/0805fa2d9e2b1e1c9da97264d36b4b3558449e1999f5113aa3db2883ac88/migration_toolkit-13.8.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-20 19:41:38",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "flywheel-io",
"gitlab_project": "public",
"lcname": "migration-toolkit"
}