feat(python): Repaired python bindings
Python bindings have now been brought back up to feature pairity with C++. Further, stubs have been added for all python features so that code completion will work
This commit is contained in:
20
src/python/gridfire/__init__.py
Normal file
20
src/python/gridfire/__init__.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from ._gridfire import *
|
||||
import sys
|
||||
|
||||
from ._gridfire import type, utils, engine, solver, exceptions, partition, reaction, screening, io, policy
|
||||
|
||||
sys.modules['gridfire.type'] = type
|
||||
sys.modules['gridfire.utils'] = utils
|
||||
sys.modules['gridfire.engine'] = engine
|
||||
sys.modules['gridfire.solver'] = solver
|
||||
sys.modules['gridfire.exceptions'] = exceptions
|
||||
sys.modules['gridfire.partition'] = partition
|
||||
sys.modules['gridfire.reaction'] = reaction
|
||||
sys.modules['gridfire.screening'] = screening
|
||||
sys.modules['gridfire.policy'] = policy
|
||||
sys.modules['gridfire.io'] = io
|
||||
|
||||
__all__ = ['type', 'utils', 'engine', 'solver', 'exceptions', 'partition', 'reaction', 'screening', 'io', 'policy']
|
||||
|
||||
__version__ = "v0.7.0_alpha_2025_10_25"
|
||||
|
||||
Reference in New Issue
Block a user