Replies: 1 comment 1 reply
-
We'll also need a TOML library. The most popular seem to be
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just some thoughts on dependencies for flopy4.
We could make matplotlib (and any other future plotting deps) optional, pandas for instance does this. We could also consider finer-grained dependency groups like they do.
So far we've done some prototyping with the following
I think at minimum, per the current design sketch, the core would need
Along with
numpy
andpandas
which are existing requirements.Lark could be used to parse input files but still need to see how performance compares to hand-parsing.
Boltons is a small dependency-free set of utilities I've found generally useful but by no means necessary.
MyPy (or another type-checker) would be a developer dependency. Alternatives could be
I'm intrigued by beartype since it seems friendly to incremental adoption, and runtime checking lets us verify type hints when we apply them to existing flopy modules.
Beta Was this translation helpful? Give feedback.
All reactions