kushal, to python
@kushal@toots.dgplug.org avatar

I found the keynote speakers .

mblayman, to python
@mblayman@mastodon.social avatar

🐍 As a package maintainer, I reach for two packaging tools consistently. This article explains why those tools are important to my packaging workflow. https://www.mattlayman.com/blog/2017/2-critical-python-packaging-tools/

bbelderbos, to python
@bbelderbos@fosstodon.org avatar

Increase flexibility and reusability, reduce coupling, and avoid complex class inheritance issues.

The 'composition over inheritance' design pattern can simplify your codebase. 🛠️💡

arildsen, to python
@arildsen@fosstodon.org avatar

I have used numpy.allclose to test for approximate equality in Python for years, but I recently found pytest.approx better, because it lets Pytest interpret the result. For example, with numpy.allclose:

> assert np.allclose(result, 3.061, atol=1e-3, rtol=1e-3)
E assert False
E + where False = <function allclose at 0x7f8fea7efa60>(1.4872, 3.061, atol=0.001, rtol=0.001)
E + where <function allclose at 0x7f8fea7efa60> = np.allclose

villares, to python Portuguese
@villares@ciberlandia.pt avatar
kellogh, to random
@kellogh@hachyderm.io avatar

the #gpt4o news is cool, but now i want to see an embedding model that i can use with a streaming interruptible conversation

kellogh,
@kellogh@hachyderm.io avatar

also, now with , latency is going to be critical if you’re doing streaming audio/video, so may start looking less appealing. what’s the new language? ? ? ? ?

kellogh,
@kellogh@hachyderm.io avatar

i predict that there’s always going to be strong advantages to using for , but with streaming audio & video of , there’s not enough latency slack for python.

i think a framework will emerge, similar to pyspark, where you can write python code that gets compiled into a steaming plan, and executed as highly optimized low level code with the possibility of python UDFs. i figure it’s still a couple of years from being really usable rn

treyhunner, to python
@treyhunner@mastodon.social avatar

Most importantly, asking whether a set contains an item (item in my_set) is fast, unlike lists. https://trey.io/d8D57O

Tekchip, to VideoGames
@Tekchip@mastodon.social avatar

On the heals of my last boost. Check out what I wrote about video game ownership a little while back.

https://blog.brockh.at/2023/09/18/video-game-ownership-in-2023-gog-game-library-backup/

#videogames #ownership #python #GOG

dof, to python
@dof@mstdn.social avatar

The problem with using a lot of computer languages is trying not to get them mixed up. Today I used a Python ‘F’ formatted string in JavaScript and it took quite a while to figure out why the IDE was complaining.

leanpub, to gpt
@leanpub@mastodon.social avatar

The Generative AI Mastery Bundle https://leanpub.com/b/the-generative-ai-mastery-bundle by Aymen El Amri is the featured bundle on the Leanpub homepage! https://leanpub.com

henryiii, to python
@henryiii@fosstodon.org avatar

Latest manylinux/musllinux images have free-threaded CPython builds! "python3.13t"

Posit, to python
@Posit@fosstodon.org avatar

Check out Dr. Albert Rapp's latest YouTube video on mastering the great_tables Python package! From raw data to polished displays, learn about custom fonts, nanoplots, conditional formatting, and the steps to great a lovely looking data display table with great_tables.
https://www.youtube.com/watch?v=ESyWcOFuMQc&ab_channel=AlbertRapp

Don't miss his companion video on gt with R and the insightful blog post comparing both.
https://albert-rapp.de/posts/22_gt_py_and_r/22_gt_py_and_r

Thanks, Albert!

vwbusguy, to Kubernetes
@vwbusguy@mastodon.online avatar

The library is over here making lists not iterable and harming my sanity this morning.

TypeError: 'V1NamespaceList' object is not iterable

hynek, to python
@hynek@mastodon.social avatar

Before I start churning out my pre-PyCon releases, how about a build-and-inspect-python-package that adds GitHub-style build provenance attestations by just adding one setting (and one permission)!?

https://github.com/hynek/build-and-inspect-python-package/releases/tag/v2.5.0

Crell, to python
@Crell@phpc.social avatar

Teaching folks the joys of clear and explicit object type definitions. An interesting experience...

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

(1/2) Google released a new foundation model for time series forecasting 🚀

The TimeFM (Time Series Foundation Model) is a foundation model for time series forecasting applications. This pre-trained model was developed by the Google Research team. It joins the recent trend of leveraging foundation models for time series forecasting, which includes Salesforce's Moirai and Amazon's Chronos.

image/png

Posit, to python
@Posit@fosstodon.org avatar

Use your dataset in Shiny Templates 🌟

We recently announced templates for #Shiny for Python. The opinionated boilerplate code can help you quickly get started with a #Python app.

Watch the Shiny team’s Carson Sievert change #data in a Shiny Template in this YouTube video: https://www.youtube.com/watch?v=ou-09NHcH5w

elmiko, to python
@elmiko@fosstodon.org avatar

you know hacking kubernetes manifests is so much more comfortable in python... is there any drive to get a yaml processor into the python standard lib?

#python #yaml #kubernetes

pradyunsg, to random
@pradyunsg@mastodon.social avatar

New blog post!

Help us ensure that the upcoming release of pip does what you need it to.

https://pradyunsg.me/blog/2024/05/13/pip-24-1-betas/

mistersql,
@mistersql@mastodon.social avatar

@pradyunsg 's will be stricter about versions & refuse to install packages with defective version strings. Cool.

mblayman, to python
@mblayman@mastodon.social avatar

🐍 Can you build mobile apps using ? That's the topic that we explored at Python Frederick by checking out . https://www.youtube.com/watch?v=tyh165h_PhU

bbelderbos, to python
@bbelderbos@fosstodon.org avatar

With error handling in , handle specific exceptions (known issues) first.

Reserve a general Exception catch-all for the end — and only use it if you're unsure of more specific exceptions that may arise. 💡

Remember, explicit is better than implicit! 🐍 😍

miketheman, to Dragonlance
@miketheman@hachyderm.io avatar

Are you coming to US this week in Pittsburgh? I am!

I put together a helpful custom 📍 with the recommended local places from the PyCon US website to help me navigate - hope it helps you too in some way.

https://www.google.com/maps/d/viewer?mid=1Y31kfV0PKgUNNkjlx_JujwL_w5LvV5Y&ll=40.46084522106604%2C-79.9658134&z=13&hl=en

davidbures, to swift
@davidbures@mstdn.social avatar

Thanks to @dimitribouniol and @glacials, we're much closer to the next Cork release! I was finally able to implement the first version of a self-compiled check, which was the only requirement left for the next release.

As promised, both Dimitri and Ben will be getting either a free Cork license or the cash equivalent, as well as a special shoutout in the contributors sections once the feature is fully implemented.

#swift #swiftUI #macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

slashtechno,
@slashtechno@fosstodon.org avatar

@davidbures I think the pricing model for software wherein the compiled version is a one-time purchase but people can compile it themselves is smart. However, I imagine this isn't possible with interpreted languages like and .
If you couldn't charge for compiled versions of Cork, how else would you monetize it whilst keeping the code open source?

piko, to python German
@piko@chaos.social avatar

Ich will für meinen #Pythonkurs ein Video zum Thema "Wo finde ich Hilfe?" machen. Fällt Euch neben

  • welche Suchbegriffe sinnvoll sind
  • stackoverflow und w3schools als übliche Verdächtige
  • Warnung vor Chat-GPT
  • before:2023
  • Python Doku
  • help()
    noch irgendwas ein?

:BoostOK:
#python #Einhoernchen

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • rosin
  • ngwrru68w68
  • tacticalgear
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • kavyap
  • megavids
  • anitta
  • khanakhh
  • GTA5RPClips
  • cisconetworking
  • InstantRegret
  • ethstaker
  • osvaldo12
  • tester
  • provamag3
  • modclub
  • cubers
  • normalnudes
  • JUstTest
  • All magazines