omni-fig
omni-fig: Unleashing Project Configuration and Organization in Python - Published in JOSS (2024)
Science Score: 95.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 7 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org, zenodo.org -
✓Committers with academic emails
3 of 8 committers (37.5%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
configuration
package
python
Last synced: 4 months ago
·
JSON representation
Repository
Unleashing Project Configuration and Organization in Python
Basic Info
Statistics
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 1
Topics
configuration
package
python
Created over 5 years ago
· Last pushed 5 months ago
Metadata Files
Readme
License
README.rst
.. role:: py(code)
:language: python
.. raw:: html
========
omni-fig
========
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Unleashing Project Configuration and Organization in Python
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. image:: https://readthedocs.org/projects/omnifig/badge/?version=latest
:target: https://omnifig.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://github.com/felixludos/omni-fig/actions/workflows/tests.yaml/badge.svg
:target: https://github.com/felixludos/omni-fig/actions/workflows/tests.yaml
:alt: Unit-Tests
.. image:: https://joss.theoj.org/papers/10.21105/joss.05350/status.svg
:target: https://doi.org/10.21105/joss.05350
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.11424102.svg
:target: https://doi.org/10.5281/zenodo.11424102
:alt: Zenodo Archive
.. setup-marker-do-not-remove
.. role:: py(code)
:language: python
.. Visit the project page_.
.. _page: https://www.notion.so/felixleeb/omni-fig-c5223f0ca9e54eb4b8d9749aade4a9d3
.. TODO: lightweight, general purpose configuration system
|
``omni-fig`` is a lightweight package to help you organize your python projects to make everything clear and easy to understand to collaborators and prospective users, while also offering unparalleled features to accelerate development.
The proposed general-purpose project structure is well suited for both small and large projects, and is designed to be easily extensible to fit your needs. Most importantly, with the powerful configuration system, you never have to worry about any boilerplate code to parse command line arguments, read config files, or even import the top-level project components ever again!
.. The primary way to use this package is to create *projects* containing python source files and yaml (info and config) files (an example of which is discussed below). Each project uses ``component``, ``modifier``, and ``script`` to register artifacts which can then be referenced in the config.
For lots of examples in how the config system works check out the documentation_ or ``examples/``.
.. _documentation: https://omnifig.readthedocs.io/
.. _highlights: https://omnifig.readthedocs.io/en/latest/highlights.html
Install
-------
.. install-marker-do-not-remove
Everything is tested with Python 3.8 on Ubuntu 20.04 and Windows 11, but in principle it should work on any system that can handle the dependencies.
The easiest way to install the stable release is with pip:
.. code-block:: bash
pip install omnifig
If you want to explore the examples or contribute to the project, you can install the latest version by cloning the repository and installing it with pip:
If you want to explore the examples or want to contribute to the project, you can clone the repository and install the package in development mode:
.. code-block:: bash
git clone https://github.com/felixludos/omni-fig
pip install -e ./omni-fig
.. end-install-marker-do-not-remove
Key Features
------------
.. highlights-marker-do-not-remove
.. Check out an overview of some of the core features of ``omni-fig``: `highlights`_.
Here is an overview of some of the core features of ``omni-fig`` with links to more detailed guides.
.. image:: docs/_static/img/vignettes/Slide1.PNG
:width: 100%
:target: https://omnifig.readthedocs.io/en/latest/project-structure/projects.html#highlight-file-structure
.. image:: docs/_static/img/vignettes/Slide2.PNG
:width: 100%
:target: https://omnifig.readthedocs.io/en/latest/project-structure/cli.html#highlight-cli
.. image:: docs/_static/img/vignettes/Slide3.PNG
:width: 100%
:target: https://omnifig.readthedocs.io/en/latest/project-structure/interactive.html#highlight-interactive
.. image:: docs/_static/img/vignettes/Slide4.PNG
:width: 100%
:target: https://omnifig.readthedocs.io/en/latest/config-system/composition.html#highlight-config-composition
.. image:: docs/_static/img/vignettes/Slide5.PNG
:width: 100%
:target: https://omnifig.readthedocs.io/en/latest/config-system/access.html#highlight-config-access
.. image:: docs/_static/img/vignettes/Slide6.PNG
:width: 100%
:target: https://omnifig.readthedocs.io/en/latest/project-structure/registration.html#highlight-registration
.. image:: docs/_static/img/vignettes/Slide7.PNG
:width: 100%
:target: https://omnifig.readthedocs.io/en/latest/config-system/instantiation.html#highlight-instantiation
.. image:: docs/_static/img/vignettes/Slide8.PNG
:width: 100%
:target: https://omnifig.readthedocs.io/en/latest/project-structure/registration.html#highlight-modifiers
.. end-highlights-marker-do-not-remove
Citation
--------
.. citation-marker-do-not-remove
If you used ``omni-fig`` in your work, please cite it using:
.. code-block:: tex
@misc{leeb2022omnifig,
title = {Omni-fig: Unleashing Project Configuration and Organization in Python},
author = {Leeb, Felix},
publisher = {GitHub},
year = {2022}
}
.. end-citation-marker-do-not-remove
Contributions
-------------
Feedback and contributions are very welcome! Please feel free to open an issue or pull request if you have any suggestions or would like to contribute a feature. For additional information or specific questions, please open an issue or reach out to me directly.
Thank you to Amanda Leeb for designing the logo!
.. Here's a list of features and extensions in the works:
.. Road to 1.0
===========
Major features to be added in the future:
- configuration macros for modifying every part of the config behavior
- customized the print messages or logging when using a config
- enable multi-processing with registered artifacts
- server run mode to submit, monitor, and schedule commands
- full coverage with unit tests
- clean up global settings and env variables
Feedback and contributions are always welcome.
.. end-setup-marker-do-not-remove
Owner
- Name: Felix Leeb
- Login: felixludos
- Kind: user
- Repositories: 31
- Profile: https://github.com/felixludos
JOSS Publication
omni-fig: Unleashing Project Configuration and Organization in Python
Published
June 04, 2024
Volume 9, Issue 98, Page 5350
Tags
Configuration Organization Abstraction Management Transparency ReproducibilityGitHub Events
Total
- Watch event: 1
- Push event: 7
Last Year
- Watch event: 1
- Push event: 7
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| felixludos | f****o@g****m | 139 |
| felixludos | f****b@h****m | 112 |
| felixludos | f****s@h****m | 24 |
| flxleeb | f****b@a****m | 19 |
| fleeb | f****b@t****e | 11 |
| Daniel S. Katz | d****z@i****g | 2 |
| Felix Leeb | f****b@t****e | 2 |
| Greg Watson | g****n@c****g | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 2
- Total pull requests: 4
- Average time to close issues: 6 days
- Average time to close pull requests: about 2 hours
- Total issue authors: 2
- Total pull request authors: 3
- Average comments per issue: 5.5
- Average comments per pull request: 0.0
- Merged pull requests: 4
- 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
- matsuobasho (1)
- julianpistorius (1)
Pull Request Authors
- jarrah42 (2)
- danielskatz (2)
- felixludos (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 133 last-month
- Total dependent packages: 0
- Total dependent repositories: 4
- Total versions: 30
- Total maintainers: 1
pypi.org: omnifig
Unleashing Project Configuration and Organization
- Homepage: https://github.com/felixludos/omni-fig
- Documentation: https://omnifig.readthedocs.io/
- License: MIT
-
Latest release: 1.0.10
published 8 months ago
Rankings
Dependent repos count: 7.5%
Dependent packages count: 10.0%
Average: 16.0%
Stargazers count: 19.3%
Downloads: 20.6%
Forks count: 22.6%
Maintainers (1)
Last synced:
4 months ago
Dependencies
docs/requirements.txt
pypi
- Sphinx ==2.2.0
- sphinx-autodoc-typehints ==1.10.3
- sphinx-rtd-theme ==0.4.3
requirements.txt
pypi
- C3Linearize *
- omnibelt *
- pyyaml *
- tabulate *
- wrapt *
.github/workflows/draft-pdf.yml
actions
- actions/checkout v2 composite
- actions/upload-artifact v1 composite
- openjournals/openjournals-draft-action master composite
.github/workflows/tests.yaml
actions
- actions/checkout v2 composite
- actions/setup-python v2 composite
setup.py
pypi
