villares, to python Portuguese
@villares@pynews.com.br avatar
pyOpenSci, to opensource
@pyOpenSci@fosstodon.org avatar

😎 ZodiPy is a new Python tool for modeling the zodiacal emission seen by an arbitrary Solar System observer, which can be used for removal of both thermal emission and scattered sunlight from interplanetary dust in astrophysical data. One of the main goals with ZodiPy is to make zodiacal emission simulations more accessible by providing the community with a simple Python interface to existing models.

📄 Learn more: https://cosmoglobe.github.io/zodipy

#OpenSource #OpenScience #Python #astrophysics

leanpub, to gpt
@leanpub@mastodon.social avatar

LLM Prompt Engineering For Developers by Aymen El Amri is on sale on Leanpub! Its suggested price is $29.00; get it for $12.50 with this coupon: https://leanpub.com/sh/uRtzaCQs #Gpt #WritingAndPublishing #Marketing #ComputerProgramming #Python #SoftwareEngineering

andre, to blender
@andre@fedi.jaenis.ch avatar

Today I watched

How I made a 3D Level in a 2D Game -
https://yewtu.be/watch?v=Qvlb-Yo6Rqo

over lunch.

Interesting! So much math going on here.
Not diving deep but explaining the high level concepts.

I had wondered similar questions for SVG in the past. Seeing this makes me believe it's doable.

Don't have the time to knee into it at the moment.

#SVG #3D #2D #Perception #Animation #Graphics #GeometryDash #Python #Rust

Posit, to python
@Posit@fosstodon.org avatar

The Shiny for Python extension for VS Code is now officially the Shiny extension 🎉

The extension supports running Shiny for R apps in addition to Shiny for Python apps and has new features for interacting with ShinyLive from VS Code.

Learn more: https://shiny.posit.co/blog/posts/shiny-vscode-1.0.0/

#Shiny #RStats #Python

bbelderbos, to python
@bbelderbos@fosstodon.org avatar

Need to check if a resource exists? 💡

Use requests.head() instead of requests.get() for a faster response! 🏃

It only fetches the headers, saving time and bandwidth. 🕒

I used it the other day to quickly check if a transcript was added to a podcast episode. 😎

nedbat, to python
@nedbat@hachyderm.io avatar

Nested loops can sometimes be replaced by one itertools.product() from the stdlib:

kellogh, to python
@kellogh@hachyderm.io avatar

goodness! no GIL, incremental garbage collection, and a JIT? all in one release? #python 3.13 is starting to feel like a real language! https://docs.python.org/3.13/whatsnew/3.13.html

treyhunner, to python
@treyhunner@mastodon.social avatar

If you find the "next" function confusing, you can always use a for loop and a break statement instead

Read more 👉 https://trey.io/UFI8MG

#Python

villares, to python Portuguese
@villares@pynews.com.br avatar
Posit, to python
@Posit@fosstodon.org avatar

posit::conf(2024) virtual tickets are now available!
Join us on August 12-14—from all over the world—to live stream the incredible talks and keynotes that will be taking place in Seattle.

We understand that not everyone will be able to make the trip to Seattle this year, so we’re excited to offer a fully virtual offering for everyone as an alternate option.
REGISTER: https://posit.co/conference/

Posit,
@Posit@fosstodon.org avatar

And if you’re available on June 6, join the Data Science Hangout where you can ask any questions you may have about posit::conf(2024) directly to the conf committee including Hadley Wickham, Posit’s Chief Scientist. https://posit.co/data-science-hangout/

pytexas, to python
@pytexas@fosstodon.org avatar

Reminder that the PyTexas Meetup is tonight! Come by and chat, hangout, and hear about a journey building an AI app. We'll get started chatting around 7:30pm CST and move on to the main presentation at 8:00pm.

See y'all there!

https://pytexas.org/meetup/join




hugovk, to python
@hugovk@mastodon.social avatar

📣🐍📚 Calling all Python library maintainers!

Python 3.13 is now in beta, with the second of four beta releases out later today!

It's now time to start testing your libraries with 3.13 and report any problems back to CPython so they can be fixed before the big October release. And make any updates you need to upgrade your library; keep an eye out for removals and deprecations.

Here's how to test 3.13 on GitHub Actions:

https://dev.to/hugovk/help-test-python-313-14j1

hynek,
@hynek@mastodon.social avatar

@hugovk My understanding is they already fixed it months ago. Guessing their release process is painful.

cfbolz,
@cfbolz@mastodon.social avatar

@hynek @hugovk I think it's mainly undermaintained (just like everything else) :-(

nedbat, to python
@nedbat@hachyderm.io avatar

Are you sure you know how decorators work? This should be no problem! 😈 🤯 🤓

e_nomem,
@e_nomem@hachyderm.io avatar

@nedbat It took me a moment to remember that the execution happens at load but yeah, you can do some pretty bonkers stuff with decorators.

brohrer,
@brohrer@recsys.social avatar
bbelderbos, to python
@bbelderbos@fosstodon.org avatar

I was in the debugger the other day and I was wondering how to write a sorted dictionary to a file while there. 💪

And then I learned that pprint's PrettyPrinter can stream to a file, nice! 😎

Here is how:

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