Skip to content

EcoAct-dev

EcoAct-dev

Python/Docker open source ressources to help small scale structure create web applications


Source Code ecodev-app: https://github.com/SE-Sustainability-OSS/ecodev-app

Documentation: https://ecoact-dev.lcabox.fr/

Source Code ecodev-infra: https://github.com/SE-Sustainability-OSS/ecodev-infra

Source Code ecodev-core: https://github.com/SE-Sustainability-OSS/ecodev-core

Source Code ecodev-cloud: https://github.com/SE-Sustainability-OSS/ecodev-cloud

Source Code ecodev-front: https://github.com/SE-Sustainability-OSS/ecodev-front


Why this?

Ecoact CDA team has been developping more than 30 python apps since its creation at the beginning of 2023. It was able to do so thanks to four fantastic python libraries:

  • Pydantic: a way to morally transform python into a strongly typed language, easing code readibility and maintainability tremendously. Thanks to Samuel Covin for this python jewel!

  • FastAPI: A modern python app built on top of Pydantic that makes the api development a breeze. Sebastien Ramirez (Tiangolo) is a god, and there would be no python at EcoAct if not for him!!! We are forever in his debt.

  • SQLModel: Tiangolo did not stop at FastAPI, he also built an ORM on top of pydantic and SQLAlchemy, leaving us with the best of both words!

  • Dash: Chris Parmer did python afficionados a favor: build a python library on top of react components, to allow for quick front developments fully in python. While you won't build an e-commerce website with Dash (although you never know...), it is a the perfect tool for us to build internal web apps in weeks instead of months, avoiding the unecessary multiplication of microservices.

While 95% of the generic cross-app code at CDA comes from these libraries (and the surrounding library ecosystem, as always very rich in python), we found that we had to repeat some boilerplate code in every one of our apps. We would thus like to give back to the community this factorization, hoping it will speed others to reach the same state as us. That way we will save precious ressources (both human and computing power)! We would of course prefer that apps developed with Ecodev libraries/repos do not directly compete with ours, but we are willing to take this risk by releasing these codes public because we truly think it can have a small reduction impact in terms of IT consumption ressources.

What is this

In a nutshell:

EcoAct-dev

Ecodev is the regroupment of

It serves several usecases, depending on your level of maturity:

  • You start from a Blank slate (well it does not exist 😋): follow the w̶h̶i̶t̶e̶ ̶r̶a̶b̶b̶i̶t̶ documentation from scratch
  • You read the setup from scratch (and actually did the setup 😋) and want to see what you can quickly get out of it: go to ecodev-app documentation
  • You want to understand the tiny details related to:

  • You want to easily read/write from S3/Blob storages, go to the ecodev-cloud documentation

License

This project is licensed under the terms of the MIT license.