python

Back Open Paginator
12.02.2026 22:32
habr (@habr@zhub.link)

МСР: Трое в лодке, не считая контекста

В прошлой статье мы познакомились с основными понятиями протокола Model Context Protocol и написали простейшее приложение, которое позволило LLM читать файлы. Для этого мы использовали tools с оговоркой, что сделали это для упрощения, чтобы не лететь с места в карьер. Мы уже говорили, что если tool можно сравнить с методом POST, то resource сравнивали с GET. Ресурсы (Resources) — это пассивные источники данных, которые MCP-сервер отдает клиенту для чтения. Такими источниками могут быть содержимое файла, лог консоли, строка в базе данных.

habr.com/ru/articles/995574/

#python #mcp #llm #llmагент




Show Original Post


12.02.2026 22:29
davep (@davep@fosstodon.org)

I've just released v1.1.0 of OldNews, a #terminal client for #TheOldReader. The main change in this release is to add the ability to download and display the text of a page for an article you're viewing; useful for those sites that are stingy with the summary in the feed.

github.com/davep/oldnews

#rss #atom #feedreader #python




Show Original Post


12.02.2026 22:27
Posit (@Posit@fosstodon.org)

Registration is LIVE for posit::conf(2026)!
Join us in Houston (or virtually!) from Sept 14–16 for workshops, 100+ talks, and a whole lot of data science.
✨ Super Early Bird: Save big on in-person tickets until April 10.
✨ Virtual Pass: $99 for a dedicated virtual day + optional workshop + livestreams.
✨ Workshops: Deep-dive training for R & Python.
Secure your spot now: pos.it/conf
#positconf2026 #rstats #pydata #python





Show Original Post


12.02.2026 21:43
smagnusson (@smagnusson@graphics.social)

2.0 update for "Default Cube: The Game" Blender add-on. More Superhive exclusive character dialogues, a couple new haunt variations, and it now preserves of customized assets across updates, without the need to import/export.

You can check it out here: superhivemarket.com/products/d

#b3d #blender3d #python #gamedev




Show Original Post


12.02.2026 20:38
driscollis (@driscollis@mastodon.social)

AI writes a blog post against a maintainer after getting a matplotlib PR rejected

@matplotlib

theshamblog.com/an-ai-agent-pu




Show Original Post


12.02.2026 20:21
treyhunner (@treyhunner@mastodon.social)

Python Tip #43 (of 365): Be skeptical of loops over dictionaries.

If you find yourself looping over a dictionary, ask yourself "why am I looping here" and "do I really need a dictionary?".

When using dictionaries for grouping items by a key or for counting occurrences of items, it's common to build up the dictionary in a loop and then later loop over it:

for word, n in counts.items():
print(f"{word} appeared {n} times")

Dictionaries are GREAT for this.

🧵 (1/3)

#Python #DailyPythonTip




Show Original Post


12.02.2026 20:04
dplattsf (@dplattsf@sfba.social)

because.. "KeyError: 'object'" of course. #python F%^ktyping




Show Original Post


12.02.2026 19:41
pycon (@pycon@fosstodon.org)

Calling all #Python maintainers: The #PyConUS 2026 Maintainers Summit CFP is open!

Topics include: GenAI in OSS, security, community building, developer workflows & more.

First-time speakers & underrepresented voices especially encouraged!

Learn more:
us.pycon.org/2026/events/maint




Show Original Post


12.02.2026 19:30
lobsters (@lobsters@mastodon.social)

Don't Do This (2013) lobste.rs/s/rw7hqt
youtube.com/watch?v=H2yfXnUb1S4




Show Original Post


12.02.2026 18:43
247CodeGirl (@247CodeGirl@mastodon.social)

Season 1 Lesson 1 Part 5 - Your First Steps - Python Statements and How - Python Executes Your





Show Original Post


12.02.2026 18:32
pyberlin (@pyberlin@mastodon.social)

Our meeting will begin in half an hour. Rodrigo (@mathsppblog) will give a talk on itertools.tee. Feel free to drop by: meetup.com/python-users-berlin




Show Original Post


12.02.2026 18:31
poleguy (@poleguy@mastodon.social)

I cleaned up a bunch of the vis code.
Added trigger settings buttons, status messages, and forward/reverse triggering.
Save settings in a json file automatically now.

Started capturing with all telemetry turned on.
It seems like the test_counter is getting corrupted on these captures.
It's not clear where in the pipeline this is happening.
Time to debug.

#protonpack #telemetry #python





Show Original Post


1 ...492 493 494 495 496 497 498 499 500 501 502 ...1589
UP