python

Back Open Paginator
17.09.2025 19:10
pybeach (@pybeach@fosstodon.org)

Introducing #PyBeach Speaker: Trey Hunner @treyhunner

pathlib: why and how to use it

pretalx.com/pybeach2025/talk/H

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! ti.to/pybeach/pybeach2025
#Python





Show Original Post


17.09.2025 19:00
morgaelyn (@morgaelyn@bolha.us)

@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




Show Original Post


17.09.2025 18:55
onelsonsenna (@onelsonsenna@mastodon.social)

Sometimes mock library is so straightforward that I find it hard to use figure out how to do extremely simple stuff 😅




Show Original Post


17.09.2025 18:47
rye (@rye@ioc.exchange)

I'm co-hosting a python meetup in Tucson

meetup.com/tucson-python-meetu

#tucson #python #programming




Show Original Post


17.09.2025 18:45
remixtures (@remixtures@tldr.nettime.org)

"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."

nordicapis.com/are-web-scrapin

#APIs #WebScraping #SoftwareDevelopment #Programming #APIDocumentation #APIDesign #Python




Show Original Post


17.09.2025 18:39
TechKeysX (@TechKeysX@mastodon.social)

S1 EP2 T3 - Machine Learning in Python Class vs Module Import Statement





Show Original Post


17.09.2025 18:38
xenia (@xenia@queer.group)

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.

#getFediHired #python #jobs




Show Original Post


17.09.2025 18:22
supercruzcoder (@supercruzcoder@mastodon.social)

Plots of onset and offset of some files from the NSynth dataset





Show Original Post


17.09.2025 18:19
GripNews (@GripNews@mastodon.social)

🌘 Microsoft SQL Server 的 Python 驅動程式:mssql-python
➤ 透過 Python 驅動程式,簡化 Microsoft SQL Server 及 Azure SQL 的資料庫互動
github.com/microsoft/mssql-pyt
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 驗證方式,包括密碼、受控識別、整合驗證及互動式登入
Server




Show Original Post


17.09.2025 18:10
julian (@julian@fietkau.social)

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




Show Original Post


17.09.2025 17:59
ngate (@ngate@mastodon.social)

Oh joy, has blessed us with a driver for SQL Server, because clearly what Python needed was more Microsoft in its life. 🙃 Meanwhile, 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 do it? 🤖✨
github.com/microsoft/mssql-pyt




Show Original Post


17.09.2025 17:59
h4ckernews (@h4ckernews@mastodon.social)

Microsoft Python Driver for SQL Server

github.com/microsoft/mssql-pyt

-python




Show Original Post


1 ...1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 ...1552
UP