I will be working on a Python CLI app where I will generate Django models (Python classes) dynamically. For this to work, my app will read some kind of metadata catalog, where such models would be described. The app will fetch this metadata and convert it to Django models.

Is there an existing project that does that? What about metadata catalogs, can you get something like that? I am not thinking about anything specific models, more like models that are generally used in CRM apps.

For example (it does not need to be pseudo code):

Company {
  name: String(255)
  location: integer # FK
  pays_tax: boolean
  type: enum(L, UL, GOV)
  owner: integer # FK
  num_of_employees: integer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.