Learn programming with our articles
Practical tutorials, in-depth technology reviews and current trends in the development world from industry experts.
Choose a direction
Each category contains carefully selected materials from experts
Fresh content
The most relevant materials from our experts
Event Loop in Python: How asyncio Achieves "Parallelism"
Event loop is the heart of asyncio. It doesn't run code in parallel across multiple...
pytest-django: Testing Django
Охватываемые темы: Installation, @pytest.mark.djangodb, Fixtures, Testing views.
pip: Python Package Manager
Охватываемые темы: 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...
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
Or download the installer from python.org.
What is an ORM
ORM (Object-Relational Mapping) is a technology that lets you work with a database through Python...
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...
Password Hashing: bcrypt and passlib
If the database is leaked, an attacker gains access to every password. Hashing makes this...
Async Generators and Async Iterators in Python
Async generators are a way to lazily produce data in an async context. Perfect for...
Want to share your knowledge?
Become an author on our blog and help other developers learn new technologies