Creating partner stores with python shopify api

The python api offers the functionaility of adding products to our store given the store is already created as well as a custom app of that store is created, then it asks for some app credentials.

Is it possible to create a store as well as a custom app through our code without requiring to do those tasks manually?