The surprising way to save memory with BytesIO
Learn how to use Python's BytesIO efficiently to avoid memory duplication with getbuffer() and getvalue() methods.
Learn how to use Python's BytesIO efficiently to avoid memory duplication with getbuffer() and getvalue() methods.
A tutorial on using the uv tool to install Python, create virtual environments, and manage packages, replacing traditional tools like pyenv and pip.
A developer's first impressions and practical guide to using uv, a fast Rust-based Python package manager, alongside existing pyenv and nox workflows.
A tutorial on building multi-agent AI systems using Python and Azure OpenAI, covering concepts, frameworks, and practical implementation.
Strategies to speed up Python dependency installation with pip, including caching, bytecode compilation, and using the uv tool.
A guide to embedding Python within a Rust application to create a custom test runner, allowing Python scripts to call Rust functions.
A reflection on Python's evolution over 12 years, focusing on its decline in server-side development due to performance and concurrency challenges.
A developer continues building a SaaS app with Python & Django, focusing on a magic link email system for user signup.
A developer continues simplifying a SaaS signup process by adding a background task to send magic link emails for user authentication.
Learn how to use your test suite to identify and catch memory leaks in your software, with examples using pytest.
Explains the Kelly criterion for bet sizing and extends it to multiple simultaneous independent bets using mathematical derivation and Python code.
A tutorial on using Python to insert data into a Supabase PostgreSQL table via its REST API.
A developer shares the story of building Pangolin, an open-source lakehouse catalog, using an AI coding agent during a holiday break.
A developer shares their process of optimizing SQLite database configuration for their SaaS application after migrating from Postgres.
A developer documents migrating a SaaS app to DigitalOcean using Kamal, detailing network issues and Docker setup.
Fixing the Docker image to get a Kamal deployment functional on a DigitalOcean droplet.
Introduces the 'leopards' Python library for filtering and aggregating lists, offering a lightweight alternative to pandas for basic data operations.
A developer continues migrating a SaaS app from Heroku to DigitalOcean, focusing on secrets with 1Password and creating a hosting droplet.
A new Django Software Foundation board member shares their experience and reflections from attending their first official board meeting.
A guide to extending Neovim's 'K' key to look up word definitions using a custom Python script and dictionary API.