Pyland
Автор статей на Pyland
Author's articles
All publications Pyland
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: The Modern Python Package Manager
uv is a next-generation tool for managing Python dependencies. Written in Rust by Astral, it is 10–100× faster than pip...
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
Python
40 articles
Git и GitHub
31 articles
API
9 articles
Docker
8 articles
LLM и AI
7 articles