-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add minimal
environment option
#822
Comments
Not sure how complicated this would be, but I'd say that it would be useful. I mentioned elsewhere that I want to bring in I'd definitely start with the minimal distribution, if it was available. |
Thanks for the feedback @elchorro! I think this should be fairly easy to do, we'd simply have to add the "small" env to the pyproject - the summarization and report functions live in separate standalone scripts, and so does most of the core implementation of outside methods. Though I'd have to verify this. Beyond a bit of dependency management in the script, I think no code adjustments would be needed as whenever a dependency is missing, pyfixest should fail quite loudly? |
Ok just tested this a bit and it will be more work than I had hoped for (in the sense that it's not a 60 minutes effort) ... it will require to reorganize import statements by quite a lot. I have to tinker about this a bit & have to come up with a plan - but I definitely would love to help you to get pyfixest into prod @elchorro =) |
Actually, not that much work after all, apparently =) Very MVP PR here: #830 |
Should we add a "minimal" environment that allows to use core functionality but drops many dependencies only required for select operations?
Currently, the "main" env has the following dependencies:
Instead, the "minimal" environment would contain only
As a result, plotting methods would not work (no seaborn), etable and summary would not work (no tabulate, great-tables), some inference methods that depend on tqdm and joblib might not work (ritest, ccv, gelbach).
Is there a use case for such an environment?
The text was updated successfully, but these errors were encountered: