Introducing #PyBeach Speaker: Trey Hunner @treyhunner
pathlib: why and how to use it
https://pretalx.com/pybeach2025/talk/H9VQ7R/
If you're not using pathlib to work with file paths in your Python code, you're missing out! Find out how to make your code more readable and maintainable.
🗓️ Saturday, September 27, 2025
🌎 Santa Monica, CA
🎟️ Get your ticket now! https://ti.to/pybeach/pybeach2025
#Python

@treyhunner This was really enlightening! The point you made about making the code shout at you what it wants to do resonated with my approach to code. Also, we need to use white space better, it was a great tip. Thank you. #Python
Sometimes #python mock library is so straightforward that I find it hard to use figure out how to do extremely simple stuff 😅
#dev #development #developers #python #programming #tests
I'm co-hosting a python meetup in Tucson
https://www.meetup.com/tucson-python-meetup/events/311059637/
"In our piece exploring whether the AI revolution is leaving APIs behind, we wrote about some of the factors limiting the extent to which AI tools like chatbots can interface with APIs.
Some of these include:
- Limited or no access to APIs for developers
- APIs are sometimes overcomplicated, bloated, or difficult to call
- Legacy APIs (WS/RPC) lack thorough or up-to-date documentation
- APIs sometimes only cover a fraction of the functions available via the UI
It’s worth noting that many of these points impact human API consumers just as much as they do agentic ones. If you’ve ever been in the position of trying to use an API and it falling short of your expectations, you’ll know just how frustrating it can be.
While it’s possible that some of those users will get in touch to ask you to add certain endpoints or clarify things, plenty more won’t. Some developers are more likely to take the view that it’s easier to ask for forgiveness later than permission now, and find some other way to extract the data they’re looking for. In many cases, web scraping offers just such a solution.
Web scraping APIs are a natural evolution of manual scraping techniques, such as using Python to scrape websites. Used for everything from scraping search engine results, like SERP APIs, to product prices and sentiment analysis, there are various services out there that make web scraping very straightforward. And they’re big business."
https://nordicapis.com/are-web-scraping-tools-overtaking-official-apis/
#APIs #WebScraping #SoftwareDevelopment #Programming #APIDocumentation #APIDesign #Python
S1 EP2 T3 - Machine Learning in Python Class vs Module Import Statement #jupyternotebook #learntocode #dataengineering #visualstudio #machinelearning #jupyterlabs #vscode #statistics #python #codingbasics #datascience #softwaredeveloper #computerscience #artificialintelligence #mathematics #coding #algorithims #softwareengineer #sql #linq
Inhaltswarnung:Programmierperson gesucht, bezahlt, projektbezogen, gerne retoot
Hello, das queer lexikon, you may have heard of it, baut sich gerade Tooling um Fördermitgliedschaften und Dauerspenden selbst und automatischer zu verwalten.
Und eigentlich hätte ich das programmieren sollen, aber ich hab nun einen anderen Job und das tut zeitlich nicht.
Wir brauchen da eine Webanwendung, am liebsten in Python mit Django, die für Login und Rechte mit oidc/keycloak spricht, die sepaxml-Mandate erzeugen kann, die maschinenlesbare Kontoauszüge parsen kann, um zu prüfen, dass das über die Mandate auch klappt, die mir eine Liste Mailadressen exportiert, dass ich die Leute gut zu Mitgliederversammlungen einladen kann, die ausreichend dokumentiert ist, dass andere Vereine die potenziell auch nutzen können, die barrierefrei gebaut ist und die neue Fördermitgliedschaften/Spenden per rest annehmen kann, die Open Source veröffentlicht wird. Wenn noch Zeit ist, können weitere Zahlungsmöglichkeiten dazu, wir denken da an PayPal und/oder Stripe.
Für Barrierefreiheit und Design haben wir Leute im Team, es geht hier ums Backend. Ehrenamtlich kann bei Dokumentation und Testen unterstützt werden.
Wir haben Budget für zwei Monate Vollzeit analog TV-L EG 11. Muss keine Anstellung sein, Freie Mitarbeit, Selbstständigkeit, Honorarvertrag, ... Machen wir gern möglich. Der queer lexikon e.V. hat keine eigenen Räumlichkeiten, schon allein daher vollständig remote.
Was ich nicht brauche, sind Leute, die mir mein Projekt mansplainen.
Gerne teilen, gerne Rückfragen hier oder an vorstand@queer-lexikon.net.
Plots of onset and offset of some files from the NSynth dataset #audio #matplotlib #numpy #pytorch #python

🌘 Microsoft SQL Server 的 Python 驅動程式:mssql-python
➤ 透過 Python 驅動程式,簡化 Microsoft SQL Server 及 Azure SQL 的資料庫互動
✤ https://github.com/microsoft/mssql-python
Microsoft 推出 mssql-python,這是一個專為 Microsoft SQL Server 及 Azure SQL 系列資料庫設計的 Python 驅動程式。它採用 Direct Database Connectivity (DDBC) 技術,可直接連線至 SQL Server,無需額外的驅動程式管理器。此驅動程式不僅符合 DB API 2.0 規範,還提供了 Pythonic 的增強功能,簡化了資料庫操作,包括連線管理、查詢執行與交易處理。它支援 Windows、macOS 及 Linux 等多種平臺,並提供多種 Microsoft Entra ID 驗證方式,包括密碼、受控識別、整合驗證及互動式登入
#Python #SQL Server #資料庫 #驅動程式
I want to write a program to extract a list of clickable links from a PDF page.
#pypdf can list the link positions/sizes and target URLs. But in a PDF document, links are annotations, which are separate data from the document text.
To get the display text of a clickable link in a PDF, is the easiest way to convert the full page to PNG, crop it to the link's bounding box, and run that throuch OCR? Or am I missing something more reasonable?
#programming #python #IfItWorksItWorks
Oh joy, #Microsoft has blessed us with a #Python driver for SQL Server, because clearly what Python needed was more Microsoft in its life. 🙃 Meanwhile, #GitHub is busy transforming developers into AI-dependent zombies with its latest features like "Copilot" and "Spark"—because, who needs to actually code anymore when you can just let #AI do it? 🤖✨
https://github.com/microsoft/mssql-python #SQLServer #Copilot #HackerNews #ngated
Microsoft Python Driver for SQL Server
https://github.com/microsoft/mssql-python
#HackerNews #Microsoft #Python #Driver #SQL #Server #GitHub #mssql-python #Programming