Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
YouTube Security VideosMatrixdotorg: Matrix Live S13E11 - All Things Matrix(02.10.2026 um 16:15 Uhr)
••••
Videos & KonferenzenMatrixdotorg: Matrix Live S13E11 - All Things Matrix(02.10.2026 um 16:15 Uhr)
•
Videos & KonferenzenWBS LEGAL: Die 1-Jahres-Frist bei Bitcoin soll fallen! 🚨(02.10.2026 um 16:00 Uhr)
•
Video AnalysenThe Morpheus: Was macht Intelligenz aus?(02.10.2026 um 15:53 Uhr)
••••
YouTube Security VideosMatrixdotorg: Matrix Live S13E11 - All Things Matrix(02.10.2026 um 16:15 Uhr)
••••
Videos & KonferenzenMatrixdotorg: Matrix Live S13E11 - All Things Matrix(02.10.2026 um 16:15 Uhr)
•
Videos & KonferenzenWBS LEGAL: Die 1-Jahres-Frist bei Bitcoin soll fallen! 🚨(02.10.2026 um 16:00 Uhr)
•
Video AnalysenThe Morpheus: Was macht Intelligenz aus?(02.10.2026 um 15:53 Uhr)
••••
Intelligence View
⚡ tsecurity.de Intelligence

Cookiecutter for fast starting with polylith

Presenting to you a Python cookiecutter for fast starting with polylith in Python. If you do not know what polylith is read the documentation , for the…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!

Presenting to you a Python cookiecutter for fast starting with polylith in Python. If you do not know what polylith is read the documentation , for the impatient reader:




Polylith is a software architecture that aims to build simple, maintainable, testable, and scalable backend systems. It does this by applying functional thinking at the system scale, treating code as building blocks that can be combined into features.




And python-polylith is the tool that allow us to implement this in Python.



I won't go into details about the advantages of this approach. In this article I introduce you to poetry-poly-cc, a highly opinionated cookiecutter for starting a project with python-polylith.



You can start by installing cookiecutter and generating a project with:




cookiecutter https://github.com/ybenitezf/poetry-poly-cc.git






Answer the questions and you are good. You should endup with something like:




.
├── LICENSE
├── README.md
├── bases
├── build-packages.sh
├── components
├── development
│   └── __init__.py
├── poetry.toml
├── projects
├── pyproject.toml
├── update-locks.sh
└── workspace.toml






The firsts steps are included in the README.md:





Run




git init
poetry install
# install pre-commit hook
poetry run pre-commit install
# install pre-commit dependencies
poetry run pre-commit run -a









What is included




  1. Poetry is configured to create the virtualenv in the project folder (see poetry.toml)


  2. pytest is added as a test dependency, also includes some goodies for pytest: pytest-mock, pytest-cov and pytest-asyncio


  3. pre-commit & ruff as dev dependencies.


  4. mypy for static typing check, integrated with pre-commit

  5. The support scripts build-packages.sh and update-locks.sh

  6. Recommended vscode extensions

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Cookiecutter for fast starting with polylith

Thematisch verwandte Begriffe: Cookiecutter, fast, starting, with · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag