PyLand Team
PyLand Team
Author's articles
All publications PyLand Team
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.
httpx: A Modern HTTP Client for Python
httpx is a next-generation HTTP client. Its interface is similar to requests, but it supports async/await out of the box.
AI Agents: ReAct Loop and Autonomous Actions
A chatbot answers questions. An agent takes action: it calls tools, retrieves real data, and uses that data in its...
Typer: CLI Applications Without the Boilerplate
Typer builds CLIs from Python type annotations. No argparse, no manual parsing β just decorators and types.
Document Chunking Strategies for RAG
Embedding a long document averages out its meanings β a specific question won't find the right paragraph. The solution is...
Pydantic v2: Data Validation in Python
Pydantic validates and converts data through type annotations. It is commonly used in APIs and LLM applications when an external...
asyncio in Python: Asynchronous Programming
asyncio is Python's standard library for asynchronous code. It lets you execute multiple tasks "simultaneously" within a single thread.
AsyncAnthropic: Async Client for the Claude API
AsyncAnthropic is the asynchronous version of the Anthropic client. It uses async/await and integrates with the asyncio event loop.
RAG: Chatting with Documents via Vector Search
RAG (Retrieval-Augmented Generation) is a pattern for working with your own documents. Instead of fine-tuning the model, you find the...
Prompt Caching in the Claude API: Saving on Tokens
Every request to Claude costs money. inputtokens includes everything: the system prompt, conversation history, and the current question. If you...
Embeddings: Coordinates of Text in Semantic Space
An embedding is a numerical vector that represents a piece of text. Texts that are similar in meaning get vectors...
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