A fresh take on monorepos in Python

  Рет қаралды 1,902

Six Feet Up

Six Feet Up

Жыл бұрын

A fresh take on monorepos in Python by David Vujic @ Biolit AB
Again, I find myself copying Python code into a new repo. It’s the third time I do this. The code snippet is too tiny to even bother packaging as a library, but still very useful in many of our micro services.
"What if we had Polylith in Python. I would add an existing component. Just like LEGO.”
It seems to be a trend towards developing micro services that are separated into different repos. On the other hand, it also seems to be a trend in going the opposite way. Organizing code in a single repo.
Separate repos to separate services is a good idea, but might introduce headache: versioning, backwards compatibility, keeping dependencies up to date, duplicating deployment infrastructure and duplication of source code. These things can be solved by using a monorepo.
A monorepo will introduce a different set of problems. Is it possible to share code between services in a monorepo, without hacks or awkward git features? Well, there’s a thing called Polylith. Coming from the Clojure community, Polylith is an architecture that focuses very much on the developer experience. The Polylith architecture has a simplistic and developer friendly approach to sharing code between projects.
And now we have that in Python! The Poetry Polylith Plugin brings the needed tooling support to Python, and is an Open Source project that I am the maintainer of. In this presentation I will live code & demo the features of Polylith, making the Developer Experience joyful.
The 5th annual Python Web Conf (#PWC2023) inspired attendees to use technology for good. The conference attracted 315 attendees from over 30 countries across 15 time zones. The highly engaging format featured 70 speakers, 5 tracks (including 64 talks and 5 tutorials) and took place virtually on March 13-17, 2023 on LoudSwarm by Six Feet Up.
More information about the conference can be found at: 2023.pythonwebconf.com

Пікірлер: 2
@Misophistful
@Misophistful Жыл бұрын
I'm part of the team that created Polylith, and I thought this was an excellent explanation of the core ideas and a fantastic demo of the Python tooling that you've built! Nice work David! 🙂
@davidvujic
@davidvujic Жыл бұрын
Thank you! 🤩
TUTORIAL: Async Python, Good it is
1:20:41
Six Feet Up
Рет қаралды 1,7 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 32 М.
AbdealiLoKo: Monorepos with Python
43:46
PyData
Рет қаралды 508
Why Does Scrum Make Programmers HATE Coding?
16:14
Thriving Technologist
Рет қаралды 503 М.
98% Cloud Cost Saved By Writing Our Own Database
21:45
ThePrimeTime
Рет қаралды 316 М.
What is a monorepo? | Getting started with nx
18:30
Coding Garden
Рет қаралды 7 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 335 М.
I used a Monorepo for 12 months - here’s my opinion
9:50
Software Developer Diaries
Рет қаралды 22 М.
Benjy Weinberger: Python monorepos: what, why and how
26:01
PyCon Israel
Рет қаралды 3 М.
The Power Of The Plugin Architecture In Python
24:06
ArjanCodes
Рет қаралды 111 М.
Clicks чехол-клавиатура для iPhone ⌨️
0:59
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 2,8 МЛН
Mastering Picture Editing: Zoom Tools Tutorial
0:52
Photoo Edit
Рет қаралды 504 М.