Tag: #python
-
Structuring Starlette Projects
Starlette's modular design doesn't necessarily make it clear how Starlette projects should be structured. Here is a minimal yet flexible project structure that will prevent circular dependencies and help you write more readable Starlette application code.
-
Using Starlette to migrate my blog across domains
How I moved my blog to a different domain and URL structure while retaining SEO and integrating seamlessly with a static website generator — a case study of using Starlette and ASGI to build and glue web application components together.
Retrospectives • -
How to write optionally callable parametrized decorators in Python
A memo on implementing parametrized decorators whose default behavior doesn't require empty parentheses.
-
Introduction to ASGI: Emergence of an Async Python Web Ecosystem
If you were thinking Python had been getting locked into data science, think again! Python web development is back with an async spin, and it's exciting.
-
Introducing tartiflette-starlette
A new library for building GraphQL APIs and serving them over HTTP via ASGI, powered by the Tartiflette Python asynchronous GraphQL engine.
Retrospectives • -
Building A Real-time Chatbot Server In Python With WebSocket, ChatterBot And Bocadillo
From setup to testing, walk through the steps of building a real-time chatbot with Bocadillo and ChatterBot!
-
How I Built A Python Web Framework And Became An Open Source Maintainer
Inspirational thoughts and tips on starting and managing an open source project, based on my experience building Bocadillo, an asynchronous Python web framework.
Retrospectives • -
Reconciling Dataclasses And Properties In Python
I love Python dataclasses, but combining them with properties is not obvious. This is a problem solving report — and a practical introduction to dataclasses!
-
Building A Streaming Fraud Detection System With Kafka And Python
A thorough tutorial to build your first real-world Kafka app in Docker Compose. Welcome to the land of stream processing!