bryanforbes / gino-stubs

BSD 3-Clause "New" or "Revised" License
12 stars 4 forks source link

PyPI package? #19

Open doron-cohen opened 4 years ago

doron-cohen commented 4 years ago

Hi, is there a reason I can't find this on PyPI? Is that intended? Thanks

bryanforbes commented 4 years ago

The biggest reason I haven't published this to PyPI is because I'm still not comfortable with requiring users to do the following:

db = Gino()

if TYPE_CHECKING:
    from gino.crud import CRUDModel
    class Base(CRUDModel):
        pass
else:
    Base = db.Model

class MyModel(Base):
    ...

I need to talk with the mypy team to see if some of the hooks have been or will be updated to support using db.Model as a base class.

CHuKeR commented 3 years ago

Hi there, is there any progress? :) Pypi package should be very useful!

vvanglro commented 1 year ago

Thanks you awesome project! Is there a planned pypi package?