rocklabs-io / ic-py

Python Agent Library for the DFINITY Internet Computer
MIT License
128 stars 27 forks source link

Allow loading submodules individually #103

Closed lastmjs closed 9 months ago

lastmjs commented 1 year ago

Hi, we've been using the principal code from ic-py in Kybra for a while now. We've just copy-pasted the code with the license into Kybra because of some limitations in Kybra. Recently I tried to incorporate ic-py into Kybra, but because __init__.py loads all modules in ic-py, many unnecessary modules are included that simply aren't compatible with the IC and are causing issues.

It would be great if __init__.py could be empty and instead ic-py allowed submodules to load independently, like boltons.

What do you think?