# exaSPIM pipeline utils
[![License](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE)
![Code Style](https://img.shields.io/badge/code%20style-black-black)
Code repository to be installed in exaSPIM processing capsules.
Wrapper code for ImageJ automation.
## Installation
To use the software, in the root directory, run
```bash
pip install -e .
```
To develop the code, run
```bash
pip install -e .[dev]
```
## Contributing
### Linters and testing
There are several libraries used to run linters, check documentation, and run tests.
- Please test your changes using the **coverage** library, which will run the tests and log a coverage report:
```bash
coverage run -m unittest discover && coverage report
```
- Use **interrogate** to check that modules, methods, etc. have been documented thoroughly:
```bash
interrogate .
```
- Use **flake8** to check that code is up to standards (no unused imports, etc.):
```bash
flake8 .
```
- Use **black** to automatically format the code into PEP standards:
```bash
black .
```
- Use **isort** to automatically sort import statements:
```bash
isort .
```
### Pull requests
For internal members, please create a branch. For external members, please fork the repository and open a pull request from the fork. We'll primarily use [Angular](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit) style for commit messages. Roughly, they should follow the pattern:
```text
<type>(<scope>): <short summary>
```
where scope (optional) describes the packages affected by the code changes and type (mandatory) is one of:
- **build**: Changes that affect build tools or external dependencies (example scopes: pyproject.toml, setup.py)
- **ci**: Changes to our CI configuration files and scripts (examples: .github/workflows/ci.yml)
- **docs**: Documentation only changes
- **feat**: A new feature
- **fix**: A bugfix
- **perf**: A code change that improves performance
- **refactor**: A code change that neither fixes a bug nor adds a feature
- **test**: Adding missing tests or correcting existing tests
### Documentation
To generate the rst files source files for documentation, run
```bash
sphinx-apidoc -o doc_template/source/ src
```
Then to create the documentation HTML files, run
```bash
sphinx-build -b html doc_template/source/ doc_template/build/html
```
More info on sphinx installation can be found [here](https://www.sphinx-doc.org/en/master/usage/installation.html).
Raw data
{
"_id": null,
"home_page": "",
"name": "exaspim-pipeline-utils",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Allen Institute for Neural Dynamics",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/c0/d5/505880e9cf664f546e097cc08a1fa364cceb209dd3a8fb2055e0d435a971/exaspim_pipeline_utils-0.1.3.tar.gz",
"platform": null,
"description": "# exaSPIM pipeline utils\n\n[![License](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE)\n![Code Style](https://img.shields.io/badge/code%20style-black-black)\n\nCode repository to be installed in exaSPIM processing capsules.\n\nWrapper code for ImageJ automation.\n\n## Installation\nTo use the software, in the root directory, run\n```bash\npip install -e .\n```\n\nTo develop the code, run\n```bash\npip install -e .[dev]\n```\n\n## Contributing\n\n### Linters and testing\n\nThere are several libraries used to run linters, check documentation, and run tests.\n\n- Please test your changes using the **coverage** library, which will run the tests and log a coverage report:\n\n```bash\ncoverage run -m unittest discover && coverage report\n```\n\n- Use **interrogate** to check that modules, methods, etc. have been documented thoroughly:\n\n```bash\ninterrogate .\n```\n\n- Use **flake8** to check that code is up to standards (no unused imports, etc.):\n```bash\nflake8 .\n```\n\n- Use **black** to automatically format the code into PEP standards:\n```bash\nblack .\n```\n\n- Use **isort** to automatically sort import statements:\n```bash\nisort .\n```\n\n### Pull requests\n\nFor internal members, please create a branch. For external members, please fork the repository and open a pull request from the fork. We'll primarily use [Angular](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit) style for commit messages. Roughly, they should follow the pattern:\n```text\n<type>(<scope>): <short summary>\n```\n\nwhere scope (optional) describes the packages affected by the code changes and type (mandatory) is one of:\n\n- **build**: Changes that affect build tools or external dependencies (example scopes: pyproject.toml, setup.py)\n- **ci**: Changes to our CI configuration files and scripts (examples: .github/workflows/ci.yml)\n- **docs**: Documentation only changes\n- **feat**: A new feature\n- **fix**: A bugfix\n- **perf**: A code change that improves performance\n- **refactor**: A code change that neither fixes a bug nor adds a feature\n- **test**: Adding missing tests or correcting existing tests\n\n### Documentation\nTo generate the rst files source files for documentation, run\n```bash\nsphinx-apidoc -o doc_template/source/ src \n```\nThen to create the documentation HTML files, run\n```bash\nsphinx-build -b html doc_template/source/ doc_template/build/html\n```\nMore info on sphinx installation can be found [here](https://www.sphinx-doc.org/en/master/usage/installation.html).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "ExaSPIM pipeline utilities.",
"version": "0.1.3",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9d1ccd571df4a3f20fdfdff460e8c4f9a84b1e1de7f3c79768016f4ed5a73d10",
"md5": "6da44f99abcf05e830ac0604bb4b36d2",
"sha256": "dada9dff8cb1f6580aca7e408d94f31805a066bf5e4c669c24bf11aadb22a4dc"
},
"downloads": -1,
"filename": "exaspim_pipeline_utils-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6da44f99abcf05e830ac0604bb4b36d2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7457,
"upload_time": "2023-02-11T04:50:09",
"upload_time_iso_8601": "2023-02-11T04:50:09.755960Z",
"url": "https://files.pythonhosted.org/packages/9d/1c/cd571df4a3f20fdfdff460e8c4f9a84b1e1de7f3c79768016f4ed5a73d10/exaspim_pipeline_utils-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c0d5505880e9cf664f546e097cc08a1fa364cceb209dd3a8fb2055e0d435a971",
"md5": "7833d3b5d79bc8110ace43d45587945f",
"sha256": "fd406ff703e4e897696851c16c73d830672da100ef0f7260393bc0dbff26d796"
},
"downloads": -1,
"filename": "exaspim_pipeline_utils-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "7833d3b5d79bc8110ace43d45587945f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 34478,
"upload_time": "2023-02-11T04:50:10",
"upload_time_iso_8601": "2023-02-11T04:50:10.980085Z",
"url": "https://files.pythonhosted.org/packages/c0/d5/505880e9cf664f546e097cc08a1fa364cceb209dd3a8fb2055e0d435a971/exaspim_pipeline_utils-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-11 04:50:10",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "exaspim-pipeline-utils"
}