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

feature: Support loading collections of duties through entrypoints #32

Open
pawamoy opened this issue Jan 25, 2025 · 0 comments
Open

feature: Support loading collections of duties through entrypoints #32

pawamoy opened this issue Jan 25, 2025 · 0 comments
Assignees
Labels
feature New feature or request fund Issue priority can be boosted

Comments

@pawamoy
Copy link
Owner

pawamoy commented Jan 25, 2025

Is your feature request related to a problem? Please describe.

I'm copy-pasting (through templating) the same duties in every project. To reduce boilerplate (and noise in template updates), I imagine allowing collections of duties to be loaded from entrypoints.

Describe the solution you'd like

Allow discovering and loading duties from entrypoints. A published package exposes a module containing duties, and registers a "duty" entrypoint pointing to it. When running, duty can discover that module (through stdlib's entrypoint mechanisms) and load its duties, making them available to the final user. In the end, users can install packages to be able to run duties they provide.

Describe alternatives you've considered

/

Additional context

See how that would integrate with auto-docs of duties (like in Griffe).

This could also mean a come-back of the "fulfill" project.


This issue was labeled with the fund label. The following section is automatically added by Polar.

Boost priority in our backlog through Polar's "issue funding". Issues linked to monthly sponsorships of $50 or more (author, upvoters) are already prioritized, see how we manage our backlog.

Fund with Polar
@pawamoy pawamoy added the feature New feature or request label Jan 25, 2025
@pawamoy pawamoy self-assigned this Jan 25, 2025
@pawamoy pawamoy added the fund Issue priority can be boosted label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request fund Issue priority can be boosted
Projects
None yet
Development

No branches or pull requests

1 participant