c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

3K
active users

#python

838 posts697 participants79 posts today
Caycedo🎙️<p>Ustedes no lo notan, pero <a href="https://oye.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> es severo cáncer. Y programe con <a href="https://oye.social/tags/pycharm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pycharm</span></a> y verá lo que es la lentitud.</p><p>No solo estaríamos en marte sino que estaría reforestado si python no existiera.</p>
weirdjokes<p>Not sharing your code <br><a href="https://mastodon.world/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodon.world/tags/ProgrammingLanguage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ProgrammingLanguage</span></a> <a href="https://mastodon.world/tags/Coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Coding</span></a> <a href="https://mastodon.world/tags/DataAnalysis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataAnalysis</span></a> <a href="https://mastodon.world/tags/MachineLearning" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MachineLearning</span></a> <a href="https://mastodon.world/tags/jokes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jokes</span></a> </p><p>💻<br>Python Knowledge Base<br><a href="https://python-code.pro/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">python-code.pro/</span><span class="invisible"></span></a></p>
Python Weekly 🐍<p>Nice little utility for using uv as a package manager and runner for python in Neovim</p><p><a href="https://github.com/benomahony/uv.nvim" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/benomahony/uv.nvim</span><span class="invisible"></span></a></p><p>Discussions: <a href="https://discu.eu/q/https://github.com/benomahony/uv.nvim" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discu.eu/q/https://github.com/</span><span class="invisible">benomahony/uv.nvim</span></a></p><p><a href="https://mastodon.social/tags/neovim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>neovim</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a></p>
sudoedit@fosstodon :~ $<p>I'm trying to understand how to use setup tools in python.</p><p>Is someone willing to test this and see if it installs locally with pip? And works?</p><p>It works on my machine lol but I don't know if it'll work on anyone else's.</p><p><a href="https://github.com/lt-rawlins/get_patch_tuesday" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/lt-rawlins/get_patc</span><span class="invisible">h_tuesday</span></a></p><p><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a></p>
Hugo van Kemenade<p>🐍🇬🇷 The first ever PyCon Greece is happening this summer!</p><p>Friday-Saturday, 29-30 August 2025<br>Athens</p><p><a href="https://2025.pycon.gr/en/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">2025.pycon.gr/en/</span><span class="invisible"></span></a></p><p><a href="https://www.linkedin.com/company/pycon-greece/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">linkedin.com/company/pycon-gre</span><span class="invisible">ece/</span></a></p><p><a href="https://mastodon.social/tags/PyConGreece" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PyConGreece</span></a> <a href="https://mastodon.social/tags/PyCon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PyCon</span></a> <a href="https://mastodon.social/tags/Greece" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Greece</span></a> <a href="https://mastodon.social/tags/Athens" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Athens</span></a> <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a></p>
Python PEPs<a href="https://peps.python.org/pep-0779/" rel="nofollow noopener noreferrer" target="_blank">PEP 779: Criteria for supported status for free-threaded Python</a><br> <p>The acceptance of PEP 703 (Making the Global Interpreter Lock Optional in CPython), as announced by the Steering Council, describes three phases of development for the work to remove the Global Interpreter Lock. Phase I started early in the development of Python 3.13, and includes making the free-threaded (GIL-less) Python build available but explicitly experimental. Phase II would make the free-threaded build officially supported but still optional, and phase III would make the free-threaded build the default. Because of the number of unknowns at the time, the criteria for moving to the next phase were left deliberately vague at the time. This PEP establishes clear expectations and requirements for moving to Phase II, making the free-threaded Python build officially supported.</p><p><a href="https://feedsin.space/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#python</a></p>
Habr<p>Акторная модель на Python: Ray, Thespian, Pykka</p><p>Привет, Хабр! В этой статье мы коротко пройдемся по основным вариантам реализации акторной модели на Python.</p><p><a href="https://habr.com/ru/companies/otus/articles/889400/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/otus/art</span><span class="invisible">icles/889400/</span></a></p><p><a href="https://zhub.link/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://zhub.link/tags/%D0%B0%D0%BA%D1%82%D0%BE%D1%80%D0%BD%D0%B0%D1%8F_%D0%BC%D0%BE%D0%B4%D0%B5%D0%BB%D1%8C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>акторная_модель</span></a> <a href="https://zhub.link/tags/it_%D0%B0%D1%80%D1%85%D0%B8%D1%82%D0%B5%D0%BA%D1%82%D1%83%D1%80%D0%B0" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>it_архитектура</span></a></p>
spla :senyera: :fed: :vim:<p>He modificat <a href="https://mastodont.cat/tags/appy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>appy</span></a> evitant repetir les mateixes línies de codi que verifiquen el token d'accés de l'aplicació client en els punts finals de l'API on es requereix un token d'accés.<br>El resultat final estalvia 537 línies.</p><p><a href="https://mastodont.cat/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodont.cat/tags/fastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastAPI</span></a></p>
peter<p>Just created a simple <a href="https://mastodon.social/tags/FastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FastAPI</span></a> project to showcase how <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> server-side rendered apps with an <a href="https://mastodon.social/tags/htmx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>htmx</span></a> frontend could look like, using a React-like, async, type-checked rendering engine.</p><p>The app *does not* use Jinja/Chameleon, or any similar templating engine, ugly custom syntax in <a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> -like files, etc.</p><p>Interestingly, even <a href="https://mastodon.social/tags/ai" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ai</span></a> coding assistants can pick up the patterns and offer decent completions.</p><p>You can check out the project here: <a href="https://github.com/volfpeter/lipsum-chat" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/volfpeter/lipsum-ch</span><span class="invisible">at</span></a></p><p><a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://mastodon.social/tags/ssr" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ssr</span></a></p>
Thibaud Colas<p>&gt; 3.14.0 alpha 6: Friday, 2025-03-14</p><p>The stars are aligning! Surely this isn’t just a happy <a href="https://fosstodon.org/tags/PiDay" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PiDay</span></a> accident right!? (from the <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> 3.14 release schedule <a href="https://peps.python.org/pep-0745/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">peps.python.org/pep-0745/</span><span class="invisible"></span></a>)</p>
Howard Chu @ Symas<p>PersistDict</p><p>A persistent dictionary implementation backed by an <a href="https://mastodon.social/tags/LMDB" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LMDB</span></a> database. PersistDict looks and acts like a <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> dictionary but persists data to disk, making it ideal for caching and persistent storage needs.</p><p>PersistDict makes it simple to add persistent caching to any Python application. While earlier versions (before 2.0.0) used <a href="https://mastodon.social/tags/SQLite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SQLite</span></a>, the current version leverages LMDB for better performance and reliability in concurrent environments.</p><p><a href="https://pypi.org/project/PersistDict/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">pypi.org/project/PersistDict/</span><span class="invisible"></span></a></p>
Gea-Suan Lin<p>Python 3.14 的 tail-call interpreter 的效能提升來自於繞過 LLVM 的 regression bug</p><p>前幾天 Python 圈子蠻熱鬧的一個主題:「Performance of the Python 3.14 tail-call interpreter」。 Python 3.14 實作了 tail-call interpreter (是個 opt-in 參數),結果官方測試發現效能在 benchmark 時有巨大的提升 (9%~15%),但文章作者覺得不合理,交叉測試了許多 case 後發現這是因為 LLVM 的 regression bug 導致 computed gotos 比較慢,…</p><p><a href="https://blog.gslin.org/archives/2025/03/14/12304/python-3-14-%e7%9a%84-tail-call-interpreter-%e7%9a%84%e6%95%88%e8%83%bd%e6%8f%90%e5%8d%87%e4%be%86%e8%87%aa%e6%96%bc%e7%b9%9e%e9%81%8e-llvm-%e7%9a%84-regression-bug/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.gslin.org/archives/2025/0</span><span class="invisible">3/14/12304/python-3-14-%e7%9a%84-tail-call-interpreter-%e7%9a%84%e6%95%88%e8%83%bd%e6%8f%90%e5%8d%87%e4%be%86%e8%87%aa%e6%96%bc%e7%b9%9e%e9%81%8e-llvm-%e7%9a%84-regression-bug/</span></a></p><p><a href="https://abpe.org/tags/bug" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bug</span></a> <a href="https://abpe.org/tags/call" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>call</span></a> <a href="https://abpe.org/tags/compiler" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>compiler</span></a> <a href="https://abpe.org/tags/computed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>computed</span></a> <a href="https://abpe.org/tags/gotos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gotos</span></a> <a href="https://abpe.org/tags/interpreter" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>interpreter</span></a> <a href="https://abpe.org/tags/llvm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>llvm</span></a> <a href="https://abpe.org/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> <a href="https://abpe.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://abpe.org/tags/python3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python3</span></a> <a href="https://abpe.org/tags/regression" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>regression</span></a> <a href="https://abpe.org/tags/speed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>speed</span></a> <a href="https://abpe.org/tags/tail" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tail</span></a> <a href="https://abpe.org/tags/TailCall" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TailCall</span></a></p>
seeg<p><a href="https://www.jmspae.se/write-ups/kebabs-train-stations/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">jmspae.se/write-ups/kebabs-tra</span><span class="invisible">in-stations/</span></a></p><p><a href="https://toot.whatever.cz/tags/Kebab" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kebab</span></a> quality <a href="https://toot.whatever.cz/tags/analysis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>analysis</span></a> using <a href="https://toot.whatever.cz/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://toot.whatever.cz/tags/geopandas" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>geopandas</span></a> <a href="https://toot.whatever.cz/tags/Paris" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Paris</span></a> <a href="https://toot.whatever.cz/tags/food" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>food</span></a> <a href="https://toot.whatever.cz/tags/science" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>science</span></a></p>
Wagtail<p>👀 uv users, what was going on in July-August 2024 that made you all download Wagtail 30x more than usual?! monthly downloads from uv jumped from 15k to 500k <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/PyPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PyPI</span></a></p>
Darren Burns<p>Updated Posting's README image to show more recent UI changes! 🎨</p><p><a href="https://github.com/darrenburns/posting" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/darrenburns/posting</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://fosstodon.org/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a> <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://fosstodon.org/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a> <a href="https://fosstodon.org/tags/terminal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>terminal</span></a> <a href="https://fosstodon.org/tags/cli" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cli</span></a> <a href="https://fosstodon.org/tags/api" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>api</span></a> <a href="https://fosstodon.org/tags/app" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>app</span></a> <a href="https://fosstodon.org/tags/github" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>github</span></a></p>
Habr<p>Вайб-кодинг? Да я так уже два года работаю</p><p>Недавно я наткнулся на термин "vibe coding" и слегка офигел. Оказывается, то, как я последние два года клепаю свои приложения – с минимумом ручного кода и максимумом автоматизации с нейронками, – теперь имеет модное название. Под катом я хочу поделиться своими инструментами для парного программирования с нейронкой и мыслями о том, куда нас это все ведет. Под кат →</p><p><a href="https://habr.com/ru/articles/890356/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/890356/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/%D0%BA%D0%B0%D1%80%D1%8C%D0%B5%D1%80%D0%B0_%D0%B2_it%D0%B8%D0%BD%D0%B4%D1%83%D1%81%D1%82%D1%80%D0%B8%D0%B8" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>карьера_в_itиндустрии</span></a> <a href="https://zhub.link/tags/%D0%BF%D1%80%D0%BE%D0%B8%D0%B7%D0%B2%D0%BE%D0%B4%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D1%81%D1%82%D1%8C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>производительность</span></a> <a href="https://zhub.link/tags/%D0%BD%D0%BE%D0%B2%D0%B8%D1%87%D0%BA%D0%B0%D0%BC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>новичкам</span></a> <a href="https://zhub.link/tags/prototyping" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>prototyping</span></a> <a href="https://zhub.link/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://zhub.link/tags/django" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>django</span></a> <a href="https://zhub.link/tags/vibe_coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vibe_coding</span></a></p>
seadrift<p>Python Performance: Why 'if not list' is 2x Faster Than Using len()<br><a href="https://blog.codingconfessions.com/p/python-performance-why-if-not-list" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.codingconfessions.com/p/p</span><span class="invisible">ython-performance-why-if-not-list</span></a></p><p>"That's an almost 2x performance difference for something as fundamental as checking if a collection is empty. This operation occurs millions of times in any non-trivial Python application.</p><p>The disparity becomes even more intriguing when you consider that both approaches must ultimately determine the same thing: does the collection contain any elements?"</p><p><a href="https://mas.to/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mas.to/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a></p>
Edgar Walthert<p>On my way to The Hage to follow the <a href="https://typo.social/tags/KernOn" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>KernOn</span></a> workshop by <span class="h-card" translate="no"><a href="https://typo.social/@rmx" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>rmx</span></a></span> Tim Arens.<br>Part of the <span class="h-card" translate="no"><a href="https://typo.social/@fontstand" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>fontstand</span></a></span> Conference.</p><p>Also just figured, that <a href="https://typo.social/tags/ChatGPT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ChatGPT</span></a> is capable of writing flawless <a href="https://typo.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> scripts for font editors.<br>My life just got so much easier! 😳</p>
Johnny Graber<p><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> Friday #270: Persisting Data in DuckDB</p><p><a href="https://pythonfriday.dev/2025/03/270-persisting-data-in-duckdb/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">pythonfriday.dev/2025/03/270-p</span><span class="invisible">ersisting-data-in-duckdb/</span></a></p>
Steve Leach<p><span class="h-card" translate="no"><a href="https://chaos.social/@MadMike77" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>MadMike77</span></a></span> I'll have the <a href="https://sigmoid.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> library there - the C code isn't worth saving. </p><p>I've not done C since I was a kid in the 90's so it was crude and required a Python script to actually run it and log each step. Ugly.</p>