Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create plugin system for expanding pyhf API #2233

Open
1 task done
matthewfeickert opened this issue Jun 12, 2023 · 1 comment
Open
1 task done

Create plugin system for expanding pyhf API #2233

matthewfeickert opened this issue Jun 12, 2023 · 1 comment
Labels
feat/enhancement New feature or request needs-triage Needs a maintainer to categorize and assign

Comments

@matthewfeickert
Copy link
Member

Summary

Having a plugin system would allow for projects like @malin-horstmann's https://github.com/malin-horstmann/pyhf_pymc to automatically extend the pyhf API by just being installed in the same Python virtual environment as pyhf. This would also allow for the pyhf core API to exist without having to maintain lots of other extensions inside of https://github.com/scikit-hep/pyhf/ and then allow other developers to move more quickly on their own ideas.

I don't know how to create a plugin system, but https://hatch.pypa.io/latest/plugins/about/ looks like a good place to start. @kratsg if you've already got experience here please let me know.

Additional Information

N/A

Code of Conduct

  • I agree to follow the Code of Conduct
@matthewfeickert matthewfeickert added feat/enhancement New feature or request needs-triage Needs a maintainer to categorize and assign labels Jun 12, 2023
@matthewfeickert
Copy link
Member Author

Henry has noted to me that repo-review has a section on writing plugins for it that might be useful as a starting point for comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/enhancement New feature or request needs-triage Needs a maintainer to categorize and assign
Projects
None yet
Development

No branches or pull requests

1 participant