Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
david-j-vujic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
david-j-vujic
2y ago
Thank you! I will try these ones out.
2.
▲
by
david-j-vujic
2y ago
I’m using Elpy because it comes with great code evaluating features (sending expressions to the REPL and such). In this config there’s also auto discovery of virtual environments. Adding to that: black, flake8 (not yet added ruff). In the d
3.
▲
Polylith Architecture
(mychen76.medium.com)
1 points
by
david-j-vujic
2y ago
|
0 comments
4.
▲
Write Less Code, You Must
(davidvujic.blogspot.com)
1 points
by
david-j-vujic
2y ago
|
0 comments
5.
▲
Python Monorepo Visualization with Polylith
(davidvujic.blogspot.com)
2 points
by
david-j-vujic
3y ago
|
0 comments
6.
▲
Simple and Developer-Friendly Python Monorepos with Poetry, Hatch or PDM
(davidvujic.blogspot.com)
1 points
by
david-j-vujic
3y ago
|
0 comments
7.
▲
by
david-j-vujic
3y ago
Here's docs about Polylith for Python: https://davidvujic.github.io/python-polylith-docs/
8.
▲
Runestone Monorepo and Server Structure (Python)
(medium.com)
1 points
by
david-j-vujic
3y ago
|
1 comments
9.
▲
A simple and scalable Python project structure
(davidvujic.blogspot.com)
1 points
by
david-j-vujic
3y ago
|
0 comments
10.
▲
The Lost Balkan Tapes: A Christmas Story
(davidvujic.blogspot.com)
2 points
by
david-j-vujic
3y ago
|
0 comments
11.
▲
by
david-j-vujic
3y ago
I agree! In Polylith, the built artifact(s) is an implementation detail and you can decide what to build (a set of Microservices or a monolith) when you are ready for it.
12.
▲
by
david-j-vujic
3y ago
Even though you have clear boundaries between microservices, the source code is likely possible to be reused by other services. You probably have common setup (like config loaders, logging and auth) and, depending on the use case, probably
13.
▲
by
david-j-vujic
3y ago
Yes, to me it sounds like a misunderstanding. Let's imagine that you have code put in libraries, that you can use in more than one place. For any mainstream project, you would probably have these in separate git repos and published to
14.
▲
by
david-j-vujic
3y ago
Thank you for the feedback, I’ll give it a try to do something like you suggest.
15.
▲
by
david-j-vujic
3y ago
This is useful feedback, thank you! I will try to clear up the Python specific docs (that part of Polylith is on me).
16.
▲
by
david-j-vujic
3y ago
Good point! From my experience, having different versions of third-party dependencies is a trade-off when having code in several repos. I've been in organizations where teams have needed to coordinate upgrades of things like logging &a
17.
▲
by
david-j-vujic
3y ago
The main usage is to be able share and reuse code in a very simple way. The code lives in a monorepo, and that means you won't need to extract shared code into external installable libraries. You just pick-and-choose the code needed fo
18.
▲
by
david-j-vujic
3y ago
I have tried hard to write docs that explain the architecture and the usage of the tool primarily in the Python space. You will find it here, and if you prefer videos there are links in there too: https://davidvujic.github.io
19.
▲
The last Python Architecture you will ever need?
(davidvujic.blogspot.com)
32 points
by
david-j-vujic
3y ago
|
25 comments
20.
▲
A Coding Copilot
(davidvujic.blogspot.com)
1 points
by
david-j-vujic
3y ago
|
0 comments
21.
▲
by
david-j-vujic
3y ago
A well thought-through and enlightening article about Software Architecture - the Hexagonal (aka Ports & Adapters) and Polylith in specific. Love it!
22.
▲
Software and Projects – A Misconception
(davidvujic.blogspot.com)
2 points
by
david-j-vujic
3y ago
|
0 comments
23.
▲
by
david-j-vujic
3y ago
Sounds like REPL Driven Development to me :) There's a couple of things you can do to configure the REPL (like auto-reloading modules that has changed during the session). I submitted a link to my blog post about this subject here: ht
24.
▲
by
david-j-vujic
3y ago
There's a plugin for Poetry that will add tooling support for the Polylith Architecture (I'm the maintainer of that plugin). Here's the documentation about the Python-specific tool and you will also find information about the
25.
▲
by
david-j-vujic
3y ago
Another good thing with Poetry is that it enables tooling support for the Polylith Architecture (as plugins). :)
26.
▲
Joyful Python with the REPL (REPL Driven Development)
(davidvujic.blogspot.com)
2 points
by
david-j-vujic
3y ago
|
0 comments
27.
▲
by
david-j-vujic
3y ago
I haven’t used those tools, but I guess you would use the data types already defined in them and what is returned from the functions in there? If you were about to pass on the result from a calculation to somewhere else, a dictionary or lis
28.
▲
by
david-j-vujic
3y ago
Would you agree that it is well-known and simple?
29.
▲
by
david-j-vujic
3y ago
Sounds like a good balance between the approaches! I usually would prefer having everything behind the endpoint (such as Pydantic schemas & FastAPI) as simple dicts and lists.
30.
▲
by
david-j-vujic
3y ago
I agree on that it is a good idea to use patterns that the teams have agreed on. Would you do the same if you were about to make changes in a code base with only dictionaries and lists in it? :)
More ›