python

Back Open Paginator
26.09.2025 14:02
alex (@alex@himself.alexanderdunkel.com)

If I had to explain my job... @ioer FDZ.. I'd just show this workflow from the last two days. It's a great example of building reproducible, automated documentation. 🚀

1. Start: A project schema, drafted by colleagues in Excel.
2. Problem: Excel isn't reproducible and is hard to use as a single source of truth for a database.
Solution: I migrated the schema to the universal Protobuf format, making it version-controlled and language-neutral. [1]
3. Problem: Protobuf definitions aren't easy for everyone to read.
Solution: Using an existing #CI/#CD workflow from [3] (cheers @mcnesium), I put the schema on a documentation website. Now it's accessible and legible. [4]
4. Problem: Colleagues still needed a familiar template for data collection.
Solution: Two Python scripts using #pandas now auto-generates both `.xlsx` and open-source `.ods` schema [5] and templates [6] directly from the Protobuf single-point-of-truth, and make all of these available for download, too.
5. Problem: The text-based schema wasn't visual enough.
Solution: Added a script [7] to the CI that transforms the Protobuf files into a #MermaidJS class diagram, rendered directly on the docs site. [8]
6. Problem: The diagram was too narrow in the site's layout.
Solution: The script now generates a second, wide-format version of the diagram for a dedicated fullscreen view. [9]
7. Problem: The static diagram was hard to edit or restyle.
Solution: The CI now generates a shareable link to the Mermaid Live Editor [10]. It reads our latest diagram file, compresses it (using pako/zlib), and bakes it into the URL. Thanks to a code snippet from a friendly stranger on GitHub [11], anyone can now open the *latest* version of the schema in the editor with a single click.

From a static Excel file to version-controlled, multi-format, visual, and interactive documentation, all fully automated. That's the job.

#Automation #GitLab #Python #Protobuf #OpenData #Documentation

[1]: gitlab.vgiscience.de/caserepor
[2]: docs.casereports.fdz.ioer.info/
[3]: lbsn.vgiscience.org
[4]: docs.casereports.fdz.ioer.info
[5]: gitlab.vgiscience.de/caserepor
[6]: gitlab.vgiscience.de/caserepor
[7]: gitlab.vgiscience.de/caserepor
[8]: docs.casereports.fdz.ioer.info
[9]: docs.casereports.fdz.ioer.info
[10]: mermaidlive.com/play
[11]: github.com/mermaid-js/mermaid-





Show Original Post


26.09.2025 14:00
thenewoil (@thenewoil@mastodon.thenewoil.org)

#PyPI urges users to reset credentials after new #phishing attacks

bleepingcomputer.com/news/secu

#cybersecurity #python




Show Original Post


26.09.2025 13:32
habr (@habr@zhub.link)

Модуль datetime в Python для начинающих с домашним заданием

Работа с датами и временем в Python — базовая задача, которая часто вызывает трудности у начинающих. В этой статье мы с нуля разберем встроенный модуль datetime, который элегантно решает большинство проблем. Вы научитесь получать текущее время, выполнять операции с датами, а главное — парсить строки и форматировать вывод с помощью strptime и strftime. Это пошаговое руководство для новичков, с практическим заданием на GitHub в конце.

habr.com/ru/articles/950914/

#python #datetime #python_для_начинающих #программирование #strptime #strftime




Show Original Post


26.09.2025 13:30
hn50 (@hn50@social.lansky.name)

Show HN: The Little Notebook for Learning Linear Algebra with Python

Link: little-book-of.github.io/linea
Discussion: news.ycombinator.com/item?id=4

#python




Show Original Post


26.09.2025 13:16
Python_Ireland (@Python_Ireland@mastodon.ie)

Have you seen our new venue for PyCon 2025 😍

Join us at the gorgeous O'Reilly Hall, University College Dublin on November 15-16th for 2 days of Python action!

Get your tickets now: python.ie/

#PyConIE #PythonIE #PyCon #Python





Show Original Post


26.09.2025 12:56
pypodcats (@pypodcats@fosstodon.org)

Meet Una Galyeva, one of the Hidden Figures of Python.

With over 19 years of experience in Data and AI, Una Galyeva held various positions, from hands-on Data and AI development to leading Data and AI teams and departments.

As a driving force behind PyLadies Amsterdam, a Microsoft MVP, AI4ALL Advisory board member, and Head of Artificial Intelligence, Una is passionate about challenging perspectives and inspiring others to see things differently.

#Python #HiddenFiguresOfPython #podcast

🧶





Show Original Post


26.09.2025 12:17
GripNews (@GripNews@mastodon.social)

🌘 線性代數入門手冊: the LAB
➤ 用 Python 和 NumPy 動手玩轉線性代數
little-book-of.github.io/linea
這是一本名為「the LAB:線性代數入門手冊」的書籍介紹。該書以互動式實驗室(LAB)的形式,引導讀者透過 Python 和 NumPy 學習線性代數的核心概念。內容涵蓋從向量、矩陣的基本運算,到線性系統、向量空間、線性轉換,再到行列式、特徵值、特徵向量,直至奇異值分解、主成分分析等進階應用。全書共十章,輔以實際案例,旨在提供一個循序漸進、動手實踐的學習路徑,讓讀者掌握線性代數的理論與計算技巧。
+ 這本書看起來很有趣,特別是能透過程式碼實際操作,這對我這種需要實際動手才能學好的人來說太棒了!
+ 內容很紮實,從基礎到進階都有涵蓋,而且結構清晰,應該是學習線性代數的絕佳資源。




Show Original Post


26.09.2025 12:14
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

Show HN: The Little Notebook for Learning Linear Algebra with Python

little-book-of.github.io/linea




Show Original Post


26.09.2025 12:10
h4ckernews (@h4ckernews@mastodon.social)

The Little Notebook for Learning Linear Algebra with Python

little-book-of.github.io/linea




Show Original Post


26.09.2025 12:03
slubdresden (@slubdresden@openbiblio.social)

💻🥘 Die Welt braucht ein Kulinarik-Portal – und du kannst es mitgestalten!

Tausende internationale Kochbücher, Menükarten und weitere Kulinaria warten darauf, der Liebhaber- und der Forschungscommunity zugänglich gemacht zu werden.

Du beherrschst #Python, kennst dich mit Datenbanken aus und hast Lust, mit uns ein einzigartiges Kulinarik-Portal zu entwickeln? Dann bewirb dich jetzt!

Bewerbungsfrist: 26. Oktober 2025
Zur Stelle 👉 slubdd.de/pz

#bibliojobs #dh #digitalhumanities #xml





Show Original Post


26.09.2025 12:02
habr (@habr@zhub.link)

[Перевод] Почему Python такой медленный? И вот что об этом думают эксперты

Команда Python for Devs подготовила перевод статьи о том, почему Python так медленный и что сообщество делает, чтобы это исправить. PyCon 2024 показал: Python ждут субинтерпретаторы, immortal objects, JIT-компиляция и другие технологии, которые могут ускорить его в разы.

habr.com/ru/articles/948858/

#python #производительность #gil #субинтерпретаторы #cython #jit #типизация #оптимизация #многопоточность #pycon




Show Original Post


26.09.2025 12:01
djangonews (@djangonews@mastodon.social)

📰 Django News - django.tasks exists - Sep 26th 2025

django-news.com/issues/304




Show Original Post


1 ...1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 ...1557
UP