Creating static map images with OpenStreetMap, Web Mercator, and Pillow
This post details how to create static maps with points overlaid using OpenStreetMap tiles and Pillow, bypassing complex data visualization libraries for a simpler, more understandable approach. It provides Python code for downloading map tiles and converting lat/lon coordinates to pixel positions for drawing points on the map.
https://alexwlchan.net/2025/static-maps/
This post details how to create static maps with points overlaid using OpenStreetMap tiles and Pillow, bypassing complex data visualization libraries for a simpler, more understandable approach. It provides Python code for downloading map tiles and converting lat/lon coordinates to pixel positions for drawing points on the map.
https://alexwlchan.net/2025/static-maps/
alexwlchan.net
Creating static map images with OpenStreetMap, Web Mercator, and Pillow
I made some simple map visualisations by downloading tiles from OpenStreetMap, then annotating the tiles with Pillow.
12 Must-Know Python Built-in Functions
Explore 12 of the most interesting and useful built-in functions, with examples, gotchas, and a few nerdy details you may not be aware of.
https://www.youtube.com/watch?v=ho24rK_AYrQ
Explore 12 of the most interesting and useful built-in functions, with examples, gotchas, and a few nerdy details you may not be aware of.
https://www.youtube.com/watch?v=ho24rK_AYrQ
YouTube
12 Python Built-in Functions I Use Every Day
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.
In this video, I’ll explore 12 of the most interesting and useful built-in functions, with examples, gotchas, and a few nerdy details you may not be aware of.
🔥 GitHub Repository:…
In this video, I’ll explore 12 of the most interesting and useful built-in functions, with examples, gotchas, and a few nerdy details you may not be aware of.
🔥 GitHub Repository:…
agno-agi / agno
Build Multimodal AI Agents with memory, knowledge and tools. Simple, fast and model-agnostic.
https://github.com/agno-agi/agno
Build Multimodal AI Agents with memory, knowledge and tools. Simple, fast and model-agnostic.
https://github.com/agno-agi/agno
GitHub
GitHub - agno-agi/agno: Full-stack framework for building Multi-Agent Systems with memory, knowledge and reasoning.
Full-stack framework for building Multi-Agent Systems with memory, knowledge and reasoning. - agno-agi/agno
Alternatives to Python's "break" statement
Python's break statement is handy for breaking out of a loop. But break statements can often be ...
https://www.pythonmorsels.com/break-statement-alternatives/
Python's break statement is handy for breaking out of a loop. But break statements can often be ...
https://www.pythonmorsels.com/break-statement-alternatives/
Pythonmorsels
Alternatives to Python's "break" statement
Python's break statement is handy for breaking out of a loop. But break statements can often be replaced by a more readable looping helper function.
👍2
ShortsMaker
ShortsMaker is a Python package designed to facilitate the creation of engaging short videos or social media clips. It leverages a variety of external services and libraries to streamline the process of generating, processing, and uploading short content.
https://github.com/rajathjn/shorts_maker
ShortsMaker is a Python package designed to facilitate the creation of engaging short videos or social media clips. It leverages a variety of external services and libraries to streamline the process of generating, processing, and uploading short content.
https://github.com/rajathjn/shorts_maker
GitHub
GitHub - rajathjn/shorts_maker: Automated Video Generator
Automated Video Generator. Contribute to rajathjn/shorts_maker development by creating an account on GitHub.
Here’s how I use LLMs to help me write code
This post shares practical tips for using LLMs to write code effectively, emphasizing that it's not always easy and requires managing context, setting expectations, and thorough testing. The author suggests thinking of LLMs as over-confident, lightning-fast pair programming assistants and provides a detailed example of building a tool with Claude Code.
https://simonwillison.net/2025/Mar/11/using-llms-for-code/
This post shares practical tips for using LLMs to write code effectively, emphasizing that it's not always easy and requires managing context, setting expectations, and thorough testing. The author suggests thinking of LLMs as over-confident, lightning-fast pair programming assistants and provides a detailed example of building a tool with Claude Code.
https://simonwillison.net/2025/Mar/11/using-llms-for-code/
Simon Willison’s Weblog
Here’s how I use LLMs to help me write code
Online discussions about using Large Language Models to help write code inevitably produce comments from developers who’s experiences have been disappointing. They often ask what they’re doing wrong—how come some …
Isolating Python and Jupyter using firejail
This article outlines a method for running isolated Python processes using Firejail, ensuring they can only access a specified project directory and limiting network access. The setup involves creating a virtual environment, installing packages with temporary internet access, and running Jupyter Notebooks via a Unix socket to maintain isolation.
https://bnikolic.co.uk/blog/python/firejail/2025/03/05/python-isolated
This article outlines a method for running isolated Python processes using Firejail, ensuring they can only access a specified project directory and limiting network access. The setup involves creating a virtual environment, installing packages with temporary internet access, and running Jupyter Notebooks via a Unix socket to maintain isolation.
https://bnikolic.co.uk/blog/python/firejail/2025/03/05/python-isolated
B. Nikolic Software and Computing Blog
Isolating Python and Jupyter using firejail
Motivation for this is already documented in e.g. python security post. Here the aim is to be able run isolated Python processes on a fully ad-hoc basis without need to be thinking about long-lived containers. This approach is based more on filesystem hierarchy…
ASK HN: How to engineer a JavaScript to Python migration?
https://news.ycombinator.com/item?id=43360552
https://news.ycombinator.com/item?id=43360552
Pydoll
Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic interactions. It supports Python's asynchronous features, enhancing performance and enabling event capturing and simultaneous web scraping.
https://github.com/thalissonvs/pydoll/
Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic interactions. It supports Python's asynchronous features, enhancing performance and enabling event capturing and simultaneous web scraping.
https://github.com/thalissonvs/pydoll/
GitHub
GitHub - autoscrape-labs/pydoll: Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic…
Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic interactions. - GitHub - autoscrape-labs/pydoll: Pydoll is a library for automating chromium-base...
👍1
ollama-deep-researcher
Fully local web research and report writing assistant.
https://github.com/langchain-ai/ollama-deep-researcher
Fully local web research and report writing assistant.
https://github.com/langchain-ai/ollama-deep-researcher
GitHub
GitHub - langchain-ai/local-deep-researcher: Fully local web research and report writing assistant
Fully local web research and report writing assistant - langchain-ai/local-deep-researcher
Pruna
Pruna is a model optimization framework built for developers, enabling you to deliver faster, more efficient models with minimal overhead.
https://github.com/PrunaAI/pruna
Pruna is a model optimization framework built for developers, enabling you to deliver faster, more efficient models with minimal overhead.
https://github.com/PrunaAI/pruna
GitHub
GitHub - PrunaAI/pruna: Pruna is a model optimization framework built for developers, enabling you to deliver faster, more efficient…
Pruna is a model optimization framework built for developers, enabling you to deliver faster, more efficient models with minimal overhead. - PrunaAI/pruna
Flet - Desktop & Mobile apps in Python!
This video tutorial demonstrates how to use the Flet framework in Python to build cross-platform mobile and desktop apps, even without prior front-end development experience. It walks through creating a simple quiz application, explaining how to structure the UI with Flet controls and handle user interactions.
https://www.youtube.com/watch?v=4aiNStwq8oU
This video tutorial demonstrates how to use the Flet framework in Python to build cross-platform mobile and desktop apps, even without prior front-end development experience. It walks through creating a simple quiz application, explaining how to structure the UI with Flet controls and handle user interactions.
https://www.youtube.com/watch?v=4aiNStwq8oU
YouTube
Flet - Desktop & Mobile apps in Python!
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes
⭐Top resource to learn Python - https://datacamp.pxf.io/kOjKkV ⭐
In this video, we'll learn how to use Flet to build…
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes
⭐Top resource to learn Python - https://datacamp.pxf.io/kOjKkV ⭐
In this video, we'll learn how to use Flet to build…
👍2👏1
A Very (!) Early Play With Astral's Red Knot Static Type Checker
Astral is developing a new Python type checker, aiming to be significantly faster than mypy. The author explores building and running it, finding it promisingly fast but still a work in progress with some type checking discrepancies.
https://jurasofish.github.io/a-very-early-play-with-astrals-red-knot-static-type-checker.html
Astral is developing a new Python type checker, aiming to be significantly faster than mypy. The author explores building and running it, finding it promisingly fast but still a work in progress with some type checking discrepancies.
https://jurasofish.github.io/a-very-early-play-with-astrals-red-knot-static-type-checker.html
Michael Jurasovic's Weblog
A Very (!) Early Play With Astral's Red Knot Static Type Checker
This is a casual look at a WIP piece of software that I know nothing about - don't draw too many conclusions from this. Astral is doing The Lord's work with python tooling. Ruff is a joy to use for both formatting and linting. And the newer uv has breathed…
Python’s ‘shelve’ is really useful for LLM debugging
Use python’s shelve as a quick and easy, persistent key-value store for LLM workflows.
https://www.jerpint.io/blog/python-shelve-as-cache/
Use python’s shelve as a quick and easy, persistent key-value store for LLM workflows.
https://www.jerpint.io/blog/python-shelve-as-cache/
jerpint
Python’s ‘shelve’ is really useful for LLM debugging
Python’s shelve module is a persistent key-value store perfect for LLM debugging.
RA.Aid
RA.Aid (pronounced "raid") helps you develop software autonomously. It is a standalone coding agent built on LangGraph's agent-based task execution framework. The tool provides an intelligent assistant that can help with research, planning, and implementation of multi-step development tasks.
https://github.com/ai-christianson/RA.Aid
RA.Aid (pronounced "raid") helps you develop software autonomously. It is a standalone coding agent built on LangGraph's agent-based task execution framework. The tool provides an intelligent assistant that can help with research, planning, and implementation of multi-step development tasks.
https://github.com/ai-christianson/RA.Aid
GitHub
GitHub - ai-christianson/RA.Aid: Develop software autonomously.
Develop software autonomously. Contribute to ai-christianson/RA.Aid development by creating an account on GitHub.
Pythonx
Pythonx runs a Python interpreter in the same OS process as your Elixir application, allowing you to evaluate Python code and conveniently convert between Python and Elixir data structures.
https://github.com/livebook-dev/pythonx
Pythonx runs a Python interpreter in the same OS process as your Elixir application, allowing you to evaluate Python code and conveniently convert between Python and Elixir data structures.
https://github.com/livebook-dev/pythonx
GitHub
GitHub - livebook-dev/pythonx: Python interpreter embedded in Elixir
Python interpreter embedded in Elixir. Contribute to livebook-dev/pythonx development by creating an account on GitHub.
Specializing Python with E-graphs
This blog post introduces egglog, a new library that combines equality saturation and datalog, offering advantages over traditional e-graph libraries like egg. It highlights egglog's cleaner syntax, efficient execution through database techniques, and improved performance in areas like multi-pattern matching and incremental e-matching.
https://vectorfold.studio/blog/egglog
This blog post introduces egglog, a new library that combines equality saturation and datalog, offering advantages over traditional e-graph libraries like egg. It highlights egglog's cleaner syntax, efficient execution through database techniques, and improved performance in areas like multi-pattern matching and incremental e-matching.
https://vectorfold.studio/blog/egglog
vectorfold.studio
Specializing Python with E-graphs
Specializing numerical Python using e-graphs and MLIR