Proteusiq / hadithi

🧪 Data Science | ⚒️ MLOps | ⚙️ DataOps : Talks about 🦄
15 stars 1 forks source link

Create a 📦 for Date to Language #37

Closed Proteusiq closed 1 year ago

Proteusiq commented 1 year ago

Use: inflect or num2words

Proteusiq commented 1 year ago

No! Create a dependency free package

Proteusiq commented 1 year ago

import importlib import pkgutil

discovered_plugins = { name: importlib.import_module(name) for finder, name, ispkg in pkgutil.itermodules() if name.startswith('flask') }

Proteusiq commented 1 year ago

https://pythonhowtoprogram.com/a-plugin-architecture-for-using-importlib-in-python-3/?utm_source=dev.to&utm_medium=cp&utm_campaign=ctalink&utm_term=a-plugin-architecture-for-using-importlib-in-python-3

Proteusiq commented 1 year ago

https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/

Proteusiq commented 1 year ago

Done: https://github.com/Proteusiq/saa