-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split out APIs into separately-installable distributions? #1159
Comments
Comments on cons:
Another potential con:
|
The one I'm concerned about is unified docs -- that's something that could actually be a show-stopper we'd have to sort out first... |
Yeah this could be a lot of work. The flipside though is that the library is becoming too big and its a dis-service to developers to make them buy the whole house when they only want the kitchen (or a single lightswitch). |
This is actually tricky. The majority of people in UX studies want the whole house. The more advanced users eventually run into a problem and decide they only want the kitchen -- but only after trying out lots of things and using gcloud for a while... So, we have a bit of an issue: do we optimize for the advanced folks? If we do, we might alienate and frustrate users, effectively reducing the number of people entering the funnel who could eventually become those advanced folks... My thought here is still that we need to make both possible, but make the common case the simplest: |
Yeah that'd have to be supported by also having a |
So we'd need (as of right now) the following PyPI packages: |
I have no objection to this layout. Sounds to me like...
This means that if I install any of the individual services, I get the service I want, and the core library. If I install The trouble (just a wild guess here) will be in the namespace issues... That is...
|
Yes, that pattern will work. We will need to:
__import__('pkg_resources').declare_namespace(__name__)
|
👍 modularization FYI googleapis folks: @Anthm, @vsubramani, @rok987 |
gcloud
on PyPI would include "core" modules.gcloud
would (maybe) become a namespace packageCons (mostly for maintainers):
Pros (mostly for users):
gRPC
, I'm looking at you)The text was updated successfully, but these errors were encountered: