fair-workflow
π A library to describe workflow written in python using semantic technologies.
Science Score: 52.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
βCITATION.cff file
Found CITATION.cff file -
βcodemeta.json file
Found codemeta.json file -
β.zenodo.json file
Found .zenodo.json file -
βDOI references
-
βAcademic publication links
-
βAcademic email domains
-
βInstitutional organization owner
Organization maastrichtu-ids has institutional domain (www.maastrichtuniversity.nl) -
βJOSS paper metadata
-
βScientific vocabulary similarity
Low similarity (19.6%) to scientific vocabulary
Keywords
Repository
π A library to describe workflow written in python using semantic technologies.
Basic Info
- Host: GitHub
- Owner: MaastrichtU-IDS
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://maastrichtu-ids.github.io/fair-workflow
- Size: 992 KB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
A package to describe workflow using semantic technologies.
π¦οΈ Installation
This package requires Python >=3.7, simply install it with:
shell
pip install fair-workflow
πͺ Usage
β¨οΈ Use as a command-line interface
You can easily use your package from your terminal after installing fair-workflow with pip:
bash
fair-workflow
Get a full rundown of the available options with:
bash
fair-workflow --help
π Use with python
Use this package in python scripts:
```python import fair_workflow
TODO: add example to use your package
```
π§βπ» Development setup
The final section of the README is for if you want to run the package in development, and get involved by making a code contribution.
π₯οΈ Clone
Clone the repository:
bash
git clone https://github.com/MaastrichtU-IDS/fair-workflow
cd fair-workflow
π£ Install dependencies
Install Hatch, this will automatically handle virtual environments and make sure all dependencies are installed when you run a script in the project:
bash
pip install --upgrade hatch
Install the dependencies in a local virtual environment:
bash
hatch -v env create
βοΈ Run tests
Make sure the existing tests still work by running pytest. Note that any pull requests to the fairworkflows repository on github will automatically trigger running of the test suite;
bash
hatch run test
To display all print():
bash
hatch run test -s
π§Ή Code formatting
The code will be automatically formatted when you commit your changes using pre-commit. But you can also run the script to format the code yourself:
hatch run fmt
Check the code for errors, and if it is in accordance with the PEP8 style guide, by running flake8 and mypy:
hatch run check
π Generate documentation
The documentation is automatically generated from the markdown files in the docs folder and python docstring comments, and published by a GitHub Actions workflow.
Start the docs on http://localhost:8001{:target="_blank"}
bash
hatch run docs
β»οΈ Reset the environment
In case you are facing issues with dependencies not updating properly you can easily reset the virtual environment with:
bash
hatch env prune
π·οΈ New release process
The deployment of new releases is done automatically by a GitHub Action workflow when a new release is created on GitHub. To release a new version:
- Make sure the
PYPI_TOKENsecret has been defined in the GitHub repository (in Settings > Secrets > Actions). You can get an API token from PyPI at pypi.org/manage/account. - Increment the
versionnumber in thepyproject.tomlfile in the root folder of the repository. - Create a new release on GitHub, which will automatically trigger the publish workflow, and publish the new release to PyPI.
You can also manually trigger the workflow from the Actions tab in your GitHub repository webpage.
Owner
- Name: Maastricht University IDS
- Login: MaastrichtU-IDS
- Kind: organization
- Email: info-ids@maastrichtuniversity.nl
- Location: Maastricht, Netherlands
- Website: https://www.maastrichtuniversity.nl/research/institute-data-science
- Twitter: um_ids
- Repositories: 191
- Profile: https://github.com/MaastrichtU-IDS
Institute of Data Science at Maastricht University
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- orcid: https://orcid.org/0000-0002-1501-1082
email: vincent.emonet@gmail.com
given-names: Vincent Emonet
affiliation: Institute of Data Science, Maastricht University
- orcid: https://orcid.org/0000-0001-7769-4272
email: remzi.celebi@maastrichtuniversity.nl
given-names: Remzi Γelebi
affiliation: Institute of Data Science, Maastricht University
title: "FAIR workflow"
repository-code: https://github.com/MaastrichtU-IDS/fair-workflow
date-released: 2023-02-10
url: https://pypi.org/project/fair-workflow
# doi: 10.48550/arXiv.2206.13787
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite
- GitPython *
- matplotlib *
- networkx *
- rdflib >=6.0.0
- typer >=0.6.0