jackh726 / bigtools

A high-performance BigWig and BigBed library in Rust
MIT License
70 stars 7 forks source link

minor pybigtools complaints #28

Closed sergpolly closed 8 months ago

sergpolly commented 8 months ago

pybigtools can feels a bit alien as a python module would be nice to have access to things like __version__, __path__ etc etc - e.g. import pybigtools as pybig; print(pybig.__version__)

ghuls commented 8 months ago

__path__ is already there:

__version__ will be there if: https://github.com/jackh726/bigtools/pull/32 gets merged.

In [1]: import pybigtools as pybig

In [2]: print(pybig.__version__)
0.1.4-dev

In [3]: print(pybig.__path__)
['/anaconda3/envs/pybigtools/lib/python3.10/site-packages/pybigtools']
sergpolly commented 8 months ago

Thank you !