Category articles "Python"
Study all materials on this topic
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...
JWT Tokens with python-jose
python-jose is a library for working with JSON Web Tokens (JWT).
asyncio.gather, create_task and TaskGroup: Concurrency in Practice
Three ways to run multiple coroutines concurrently. Each has its own niche.
The datetime Module: Working with Dates and Times
datetime is Python's standard module for working with dates and times. It's part of the standard library — no installation...
.env Files and Environment Variables: Keeping Secrets Out of Code
Imagine you wrote a program with an API key hardcoded in the source and pushed it to GitHub. An hour...
Python Virtual Environments: Why and How
When you start a second Python project and run pip install requests — that library gets installed globally, for the...
argparse: Command-Line Arguments in Python
When a script grows from a toy into a real tool, input() becomes inconvenient. Professional CLI programs accept arguments at...
Generators in Python: Lazy Evaluation and Streaming
When an API returns a large response — text spanning thousands of tokens — waiting for the full response is...
Other categories
Study related topics
Want more materials?
Subscribe to updates and be the first to know about new articles!