hyfi


Namehyfi JSON
Version 1.36.4 PyPI version JSON
download
home_pagehttps://hyfi.entelecheia.ai
SummaryHydra Fast Interface (Hydra and Pydantic based interface framework)
upload_time2024-05-03 20:00:41
maintainerNone
docs_urlNone
authorYoung Joon Lee
requires_python<3.13,>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HyFI: Hydra Fast Interface

[![pypi-image]][pypi-url]
[![version-image]][release-url]
[![release-date-image]][release-url]
[![license-image]][license-url]
[![DOI][zenodo-image]][zenodo-url]
[![codecov][codecov-image]][codecov-url]
[![codefactor][codefactor-image]][codefactor-url]
[![codacy][codacy-image]][codacy-url]

HyFI, short for Hydra Fast Interface, is a powerful Python framework built atop the foundations of [Hydra](https://hydra.cc) and [Pydantic](https://docs.pydantic.dev/latest/). Its main objective is to provide a streamlined interface for configuring, structuring, executing, and scaling Python applications and workflows.

- [Documentation][docs-url]
- [GitHub Repository][repo-url]
- [PyPI Package][pypi-url]

## Overview

In the modern world of software and data science, creating scalable, reproducible, and modular Python workflows is vital. HyFI is here to make that process not just feasible but also efficient and straightforward. It has been meticulously crafted to help developers and researchers build pipeline-oriented projects and promote shareable and reproducible workflows.

## Core Features

### **1. Dynamic Configuration Management**

- **Modular Configuration**: Harness the power of [Hydra](https://hydra.cc) and [Pydantic](https://docs.pydantic.dev/latest/) to manage your application configurations dynamically and modularity.
- **Seamless Command Line Overrides**: Experiment swiftly without the clutter of multiple similar configuration files.
- **Jupyter Notebook Integration**: The **HyFI** class allows for easy composition of configurations even in a jupyter notebook setting.

### **2. Zero Boilerplate**

Stay focused on your core problems. HyFI takes care of the usual overheads such as command line flags, loading configuration files, and logging.

### **3. Structured Workflows**

- **Configurable Automated Processes**: Divide your research into unit jobs or tasks, and then bundle them into workflows.

- **Versatility**: Have the liberty to create multiple workflows, with each performing varied sets of tasks.

### **4. Reproducibility and Sharing**

- **Sharing Capability**: Share your datasets, models, and configurations effortlessly.

- **Reproducibility**: Sharing configurations alongside datasets and models ensures that every piece of research can be replicated.

- **Granular or Holistic**: Choose to share individual unit jobs or an entire workflow, as per your need.

### **5. Support for Plugins**

- **Integration of HyFI-based Applications**: Enhance your project by plugging in several HyFI-based applications. This allows you to leverage the functionalities of plugins along with their specific configuration files.
- **Modular Design Enablement**: The plugin support fosters a truly modular design approach, enabling seamless integration of various components and features, thereby promoting greater flexibility and extensibility in your projects.

## Other Noteworthy Features:

- **Workspace Management**: Automatic workspace creation and environment variable management.
- **Task Pipelining**: Chain and parallelize jobs and steps seamlessly.
- **Optimized Parallelism**: Efficient job batching with the help of Joblib.
- **Dotenv Integration**: Manage configurations via .env files with ease.
- **Built-in Commands**: Simplify processes like initializing projects, running pipelines, and copying files.
- **Extensibility**: Easily extend HyFI's capabilities by crafting new Config classes and utilizing the building blocks it offers.
- **Command Line Interface (CLI)**: Access a suite of commands and workflows directly from the command line.
- **Advanced Logging**: Make use of the integrated logging configurations, complemented by Hydra logging.
- **Robust Caching**: Cache both files and data efficiently.

## Citation

```tex
@software{lee_2023_8247719,
  author       = {Young Joon Lee},
  title        = {HyFI: Hydra Fast Interface},
  month        = aug,
  year         = 2023,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.8247719},
  url          = {https://doi.org/10.5281/zenodo.8247719}
}
```

```tex
@software{lee_2023_hyfi,
  author       = {Young Joon Lee},
  title        = {HyFI: Hydra Fast Interface},
  year         = 2023,
  publisher    = {GitHub},
  url          = {https://github.com/entelecheia/hyfi}
}
```

## Changelog

See the [CHANGELOG] for more information.

## Contributing

Contributions are welcome! Please see the [contributing guidelines] for more information.

## License

This project is released under the [MIT License][license-url].

<!-- Links: -->

[zenodo-image]: https://zenodo.org/badge/DOI/10.5281/zenodo.8247719.svg
[zenodo-url]: https://doi.org/10.5281/zenodo.8247719
[codecov-image]: https://codecov.io/gh/entelecheia/hyfi/branch/main/graph/badge.svg?token=HCYTYW1WVF
[codecov-url]: https://codecov.io/gh/entelecheia/hyfi
[pypi-image]: https://img.shields.io/pypi/v/hyfi
[license-image]: https://img.shields.io/github/license/entelecheia/hyfi
[license-url]: https://github.com/entelecheia/hyfi/blob/main/LICENSE
[version-image]: https://img.shields.io/github/v/release/entelecheia/hyfi?sort=semver
[release-date-image]: https://img.shields.io/github/release-date/entelecheia/hyfi
[release-url]: https://github.com/entelecheia/hyfi/releases
[codefactor-image]: https://www.codefactor.io/repository/github/entelecheia/hyfi/badge
[codefactor-url]: https://www.codefactor.io/repository/github/entelecheia/hyfi
[codacy-image]: https://app.codacy.com/project/badge/Grade/6be6d2ecfbfe40b9ab8490ca25327a96
[codacy-url]: https://app.codacy.com/gh/entelecheia/hyfi/dashboard?utm_source=github.com&utm_medium=referral&utm_content=entelecheia/hyfi&utm_campaign=Badge_grade
[repo-url]: https://github.com/entelecheia/hyfi
[pypi-url]: https://pypi.org/project/hyfi
[docs-url]: https://hyfi.entelecheia.ai
[changelog]: https://github.com/entelecheia/hyfi/blob/main/CHANGELOG.md
[contributing guidelines]: https://github.com/entelecheia/hyfi/blob/main/CONTRIBUTING.md

<!-- Links: -->


            

Raw data

            {
    "_id": null,
    "home_page": "https://hyfi.entelecheia.ai",
    "name": "hyfi",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Young Joon Lee",
    "author_email": "entelecheia@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/88/27/20e96d774ef37c2a6cd5491ce3b6ea1535c97b4b6b7cbd75c45eedd4f302/hyfi-1.36.4.tar.gz",
    "platform": null,
    "description": "# HyFI: Hydra Fast Interface\n\n[![pypi-image]][pypi-url]\n[![version-image]][release-url]\n[![release-date-image]][release-url]\n[![license-image]][license-url]\n[![DOI][zenodo-image]][zenodo-url]\n[![codecov][codecov-image]][codecov-url]\n[![codefactor][codefactor-image]][codefactor-url]\n[![codacy][codacy-image]][codacy-url]\n\nHyFI, short for Hydra Fast Interface, is a powerful Python framework built atop the foundations of [Hydra](https://hydra.cc) and [Pydantic](https://docs.pydantic.dev/latest/). Its main objective is to provide a streamlined interface for configuring, structuring, executing, and scaling Python applications and workflows.\n\n- [Documentation][docs-url]\n- [GitHub Repository][repo-url]\n- [PyPI Package][pypi-url]\n\n## Overview\n\nIn the modern world of software and data science, creating scalable, reproducible, and modular Python workflows is vital. HyFI is here to make that process not just feasible but also efficient and straightforward. It has been meticulously crafted to help developers and researchers build pipeline-oriented projects and promote shareable and reproducible workflows.\n\n## Core Features\n\n### **1. Dynamic Configuration Management**\n\n- **Modular Configuration**: Harness the power of [Hydra](https://hydra.cc) and [Pydantic](https://docs.pydantic.dev/latest/) to manage your application configurations dynamically and modularity.\n- **Seamless Command Line Overrides**: Experiment swiftly without the clutter of multiple similar configuration files.\n- **Jupyter Notebook Integration**: The **HyFI** class allows for easy composition of configurations even in a jupyter notebook setting.\n\n### **2. Zero Boilerplate**\n\nStay focused on your core problems. HyFI takes care of the usual overheads such as command line flags, loading configuration files, and logging.\n\n### **3. Structured Workflows**\n\n- **Configurable Automated Processes**: Divide your research into unit jobs or tasks, and then bundle them into workflows.\n\n- **Versatility**: Have the liberty to create multiple workflows, with each performing varied sets of tasks.\n\n### **4. Reproducibility and Sharing**\n\n- **Sharing Capability**: Share your datasets, models, and configurations effortlessly.\n\n- **Reproducibility**: Sharing configurations alongside datasets and models ensures that every piece of research can be replicated.\n\n- **Granular or Holistic**: Choose to share individual unit jobs or an entire workflow, as per your need.\n\n### **5. Support for Plugins**\n\n- **Integration of HyFI-based Applications**: Enhance your project by plugging in several HyFI-based applications. This allows you to leverage the functionalities of plugins along with their specific configuration files.\n- **Modular Design Enablement**: The plugin support fosters a truly modular design approach, enabling seamless integration of various components and features, thereby promoting greater flexibility and extensibility in your projects.\n\n## Other Noteworthy Features:\n\n- **Workspace Management**: Automatic workspace creation and environment variable management.\n- **Task Pipelining**: Chain and parallelize jobs and steps seamlessly.\n- **Optimized Parallelism**: Efficient job batching with the help of Joblib.\n- **Dotenv Integration**: Manage configurations via .env files with ease.\n- **Built-in Commands**: Simplify processes like initializing projects, running pipelines, and copying files.\n- **Extensibility**: Easily extend HyFI's capabilities by crafting new Config classes and utilizing the building blocks it offers.\n- **Command Line Interface (CLI)**: Access a suite of commands and workflows directly from the command line.\n- **Advanced Logging**: Make use of the integrated logging configurations, complemented by Hydra logging.\n- **Robust Caching**: Cache both files and data efficiently.\n\n## Citation\n\n```tex\n@software{lee_2023_8247719,\n  author       = {Young Joon Lee},\n  title        = {HyFI: Hydra Fast Interface},\n  month        = aug,\n  year         = 2023,\n  publisher    = {Zenodo},\n  doi          = {10.5281/zenodo.8247719},\n  url          = {https://doi.org/10.5281/zenodo.8247719}\n}\n```\n\n```tex\n@software{lee_2023_hyfi,\n  author       = {Young Joon Lee},\n  title        = {HyFI: Hydra Fast Interface},\n  year         = 2023,\n  publisher    = {GitHub},\n  url          = {https://github.com/entelecheia/hyfi}\n}\n```\n\n## Changelog\n\nSee the [CHANGELOG] for more information.\n\n## Contributing\n\nContributions are welcome! Please see the [contributing guidelines] for more information.\n\n## License\n\nThis project is released under the [MIT License][license-url].\n\n<!-- Links: -->\n\n[zenodo-image]: https://zenodo.org/badge/DOI/10.5281/zenodo.8247719.svg\n[zenodo-url]: https://doi.org/10.5281/zenodo.8247719\n[codecov-image]: https://codecov.io/gh/entelecheia/hyfi/branch/main/graph/badge.svg?token=HCYTYW1WVF\n[codecov-url]: https://codecov.io/gh/entelecheia/hyfi\n[pypi-image]: https://img.shields.io/pypi/v/hyfi\n[license-image]: https://img.shields.io/github/license/entelecheia/hyfi\n[license-url]: https://github.com/entelecheia/hyfi/blob/main/LICENSE\n[version-image]: https://img.shields.io/github/v/release/entelecheia/hyfi?sort=semver\n[release-date-image]: https://img.shields.io/github/release-date/entelecheia/hyfi\n[release-url]: https://github.com/entelecheia/hyfi/releases\n[codefactor-image]: https://www.codefactor.io/repository/github/entelecheia/hyfi/badge\n[codefactor-url]: https://www.codefactor.io/repository/github/entelecheia/hyfi\n[codacy-image]: https://app.codacy.com/project/badge/Grade/6be6d2ecfbfe40b9ab8490ca25327a96\n[codacy-url]: https://app.codacy.com/gh/entelecheia/hyfi/dashboard?utm_source=github.com&utm_medium=referral&utm_content=entelecheia/hyfi&utm_campaign=Badge_grade\n[repo-url]: https://github.com/entelecheia/hyfi\n[pypi-url]: https://pypi.org/project/hyfi\n[docs-url]: https://hyfi.entelecheia.ai\n[changelog]: https://github.com/entelecheia/hyfi/blob/main/CHANGELOG.md\n[contributing guidelines]: https://github.com/entelecheia/hyfi/blob/main/CONTRIBUTING.md\n\n<!-- Links: -->\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Hydra Fast Interface (Hydra and Pydantic based interface framework)",
    "version": "1.36.4",
    "project_urls": {
        "Homepage": "https://hyfi.entelecheia.ai",
        "Repository": "https://github.com/entelecheia/hyfi"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a45fc1ef4ded8ce688563e913affcec2d72ba6c66c71a8c0c1a05cd860427355",
                "md5": "4b079cc07b8e1e2aa021699965f2bef9",
                "sha256": "54029c3cc21a1b57229f793b43c231523f1972544f2c755ea243822776439365"
            },
            "downloads": -1,
            "filename": "hyfi-1.36.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4b079cc07b8e1e2aa021699965f2bef9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 160166,
            "upload_time": "2024-05-03T20:00:39",
            "upload_time_iso_8601": "2024-05-03T20:00:39.369659Z",
            "url": "https://files.pythonhosted.org/packages/a4/5f/c1ef4ded8ce688563e913affcec2d72ba6c66c71a8c0c1a05cd860427355/hyfi-1.36.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "882720e96d774ef37c2a6cd5491ce3b6ea1535c97b4b6b7cbd75c45eedd4f302",
                "md5": "7a24754b684a4cd9b731eeaa665bc6f2",
                "sha256": "137290603e1cfb0791ee43a4734ab20db7888e9e8babbd2db0ff69b9442c9dfe"
            },
            "downloads": -1,
            "filename": "hyfi-1.36.4.tar.gz",
            "has_sig": false,
            "md5_digest": "7a24754b684a4cd9b731eeaa665bc6f2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 111804,
            "upload_time": "2024-05-03T20:00:41",
            "upload_time_iso_8601": "2024-05-03T20:00:41.995592Z",
            "url": "https://files.pythonhosted.org/packages/88/27/20e96d774ef37c2a6cd5491ce3b6ea1535c97b4b6b7cbd75c45eedd4f302/hyfi-1.36.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-03 20:00:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "entelecheia",
    "github_project": "hyfi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hyfi"
}
        
Elapsed time: 0.74676s