PyLand Team
PyLand Team
Author's articles
All publications PyLand Team
Testing Django with pytest
Covered topics: Installation, conftest.py β Fixtures, Model Test, View Test with Client.
REST API Design Principles
Covered topics: Resources and URLs, HTTP methods, Nested resources, Response codes.
Setting Up Your Environment: Python, pip, and VS Code
Before writing code locally, you need to set up three tools: Python, pip, and VS Code. This takes 10β15 minutes...
Anthropic SDK: Getting Started with the Claude API
Anthropic Python SDK is the official library for working with Claude. It hides the complexity of raw HTTP requests, adds...
Streaming LLM Responses: Getting the Answer Piece by Piece
By default, messages.create() waits until the model has fully generated its response before returning anything. For long responses this means...
uv: installation, environments, and reproducible Python project runs
uv manages Python versions, virtual environments, dependencies, and lockfiles. It is especially useful for learning projects: one command restores the...
System Prompts: Defining the Model's Role
A system prompt is a hidden instruction for the model set by the developer. The user never sees it, but...
environs: Typed Environment Variables
environs is a library for reading environment variables from a .env file with type support. It is an evolution of...
rich: Beautiful Terminal Output
rich is a Python library for formatted terminal output. Colors, tables, panels, markdown, progress bars, spinners β all through one...
Tokens in LLMs: How the Model Sees Text
When you send a request to a language model, it doesn't see words or letters. It sees tokens β chunks...
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...
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