atlas news
    
PyBites
17  avril     12h58
OpenStreetMaps, Overpass API and Python
Judith Vockenroth    OpenStreetMaps OSM is known for being an open source project that allows people to browse the world map and to plan routes. However it is more than that. Among others it provides a read only API that allows users to query for very diverse map data: Overpass API Data structure of OSM To understand...
08  avril     18h15
Adventures in Import-land, Part II
Ashlynn Antrobus    KeyError: ’GOOGLE APPLICATION CREDENTIALS It was way too early in the morning for this error. See if you can spot the problem. I hadn’t had my coffee before trying to debug the code I’d written the night before, so it will probably take you less time than it did me. app.py: file handling.py: See...
05  avril     16h15
Python F-String Codes I Use Every Day
Pawel Jastrzebski    A few examples that will save the day probably of time. I don’t have the actual data but seriously, I bet you’ll find those tips useful more often than not Introduction This article was originally posted on Medium. I use f strings every day. The irony is I also every day end up searching the...
07  mars     19h50
A Better Place to Put Your Python Virtual Environments
Ahmed Lemine    Virtual environments are vital if you’re developing Python apps or just writing some Python scripts. They allow you to isolate different app requirements to prevent conflicts and keep your global OS environment clean. This is super important for many reasons. The most obvious one is requirements...
    13h39
Build a route planner for maps using Python
Judith Vockenroth    In this article I use the metric system, where meter . feet. I also talk about highways. Here I use the definition in British English, where highway refers to any path with a public right of access. We are all familiar with the existence of route planners like google maps or OpenStreetMaps ...
    13h37
Case Study: GitHub Copilot and the deceiving ladder
Michael Aydinbas    Can GitHub Copilot be used to solve mathematical puzzles What to be aware of when AI assistants are too confident.
22  février     16h26
Stuck in import hell? Walk your way out.
Russell Helmstedter    Welcome to Hell Cue the theme song from The Fresh Prince of Bel Air. This is a story that turns out well. But my code got stuck in import hell. I tried to teach my students all about pytest. Instead, for two days, I was sent on a debugging quest. I teach middle school students Continue reading...
09  février     15h52
Leveraging typing.Protocol: Faster Error Detection And Beyond Inheritance
Bob Belderbos    Introduction Two weeks ago I wrote an article about ABCs and interface enforcement. Shortly after I learned that you can do this as well with protocols. Python . introduced quite a groundbreaking feature that further advanced the language’s capabilities in type checking: the typing.Protocol which...
07  février     13h05
How to Send Email Notifications Using Sendgrid and GitHub Actions
Bob Belderbos    Introduction As a Python developer I want to stay up date with trends and useful tips tricks. Of course there are great newsletters like Pycoders, but those are already hitting my inbox. Let’s look at Planet Python in this article, an aggregation site service that indexes a lot of good Python...
26  janvier     12h07
Elevate Your Python: Harnessing the Power of Abstract Base Classes (ABCs)
Bob Belderbos    Introduction One cool object oriented programming OOP technique pattern is enforcing consistent interfaces. In Python you can use Abstract Base Classes ABCs for that. Using ABCs ensures that all subclasses implement the required methods. This can make it easier to maintain and extend the...