PyLand Team
PyLand Team
Author's articles
All publications PyLand Team
Event Loop in Python: How asyncio Enables Concurrent Execution
Event loop is the heart of asyncio. It doesn't run code in parallel across multiple threads. Instead, it switches between...
pytest-django: Testing Django
Covered topics: Installation, @pytest.mark.djangodb, Fixtures, Testing views.
pip: Python Package Manager
Covered topics: Installing packages, Upgrading and removing, requirements.txt, Virtual environment.
run_in_executor and anyio: Sync Libraries in Async Code
Sometimes you need to call a synchronous library from async code without blocking the event loop.
Async Context Managers: async with and @asynccontextmanager
Async context managers manage resources in async code β connections, files, transactions.
pathlib: Working with Paths in Python
pathlib is the modern way to work with filesystem paths instead of plain strings.
Installing Python
Choose the instructions for your operating system, install a currently supported Python 3 release, and verify that it runs from...
What is an ORM
ORM (Object-Relational Mapping) is a technology that lets you work with a database through Python objects instead of writing raw...
asyncio: Timeouts, Task Cancellation and Graceful Shutdown
Three things you absolutely need in production async code.
asyncio: Queue, Lock, Semaphore β Synchronization Without Threads
In async code multiple coroutines run concurrently in a single thread. Race conditions can still happen β and asyncio provides...
Password Hashing with Argon2 and pwdlib
If a database is leaked, strong password hashing prevents immediate recovery of plaintext passwords and makes offline guessing expensive. It...
Async Generators and Async Iterators in Python
Async generators are a way to lazily produce data in an async context. Perfect for streaming, pagination and processing large...
Statistics by categories
Author's article distribution by topics
Django
63 articles
Python
54 articles
Git ΠΈ GitHub
32 articles
Html Css
23 articles
LLM ΠΈ AI
21 articles