Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.
/ data-myr Public archive

A way to locally manage data in a FAIR way

License

Notifications You must be signed in to change notification settings

MrHedmad/data-myr

Repository files navigation

Warning

This is being fused with Mimir.

GitHub Workflow Status (with event)

Data Myr

We can't quite determine what they're doing, but they seem to be doing it quite well. — Myr Galvanizer

A data myr is a simple way to locally manage data following FAIR principles.

This is the Python implementation of myr, a tool to create, check and freeze myr-data bundles. You can read about myr-data bundles in mrhedmad/data-myr-spec.

Installation

You will need Python 3.10 +. Install data-myr with:

# Optional, but highly encouraged to install in a virtual environment
python -m venv env
source env/bin/activate
pip install @ git+https://github.com/mrhedmad/data-myr.git

If everything goes well, you can now use myr. Start with myr --help.

Usage

myr is still under development. This section will be filled out when a sensible version is realeased.

For now, you should not be using myr!

Contributing

Contributions are welcome! Please open an issue or a pull request. If you have comments or suggestions, please open an issue, I'd love to hear from you.

To contribute, fork the repository, then clone it locally with git clone. Once you do, you can setup your work environment by running:

cd data-myr
python -m venv env
source env/bin/activate
pip install -r requirements_dev.txt
pre-commit install
pre-commit install -t commit-msg # Install the commit message hooks too!
pip install -e . # Install the package in editable form

You will now have black and other linters on commit, plus the ability to run pytest to run the whole suite of tests.

You can look at TODO issues for things that need to be implemented yet, or at all issues for things that need fixing.

You can use myr in the virtual environment to test your changes immediately.

Please test that pytest checks pass before opening a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details. Please let me know if you use this project in your work, I'd love to hear about it!

Releases

No releases published

Languages