davidism, to python
@davidism@mas.to avatar

Just released ItsDangerous 2.2.0. This modernizes the project config a bit more (the last release was in 2022). It adds some better type annotations for the return value of Serializer.dumps. And it fixes the same potential FIPS issue as that Flask release last week. https://github.com/pallets/itsdangerous/releases/tag/2.2.0

osjobhub, to python
@osjobhub@fosstodon.org avatar

Are you looking for a remote role in open source? Browse more than 500 positions now on #OSJH https://opensourcejobhub.com/jobs/?q=remote #RemoteWork #jobs #career #Python #kernel #Linux #sales #developer #engineer #marketing #security

pyOpenSci, to python
@pyOpenSci@fosstodon.org avatar

🌊🐠🪸 We all know ocean health is important, and that’s why we’re thrilled to share the afscgap package with you! Accepted into the ecosystem in 2023, and created by Sam Pottinger and Giulia Zarpellon, AFSC GAP makes it easier to work with data from the NOAA Alaska Fisheries Science Center Groundfish Assessment Program.

📄 Docs: https://pyafscgap.org/

qlp, to python
@qlp@linh.social avatar

Anyone using Gunicorn for their Python web application should keep an eye out for a new version that fixes CVE-2024-1135.

CVE: https://nvd.nist.gov/vuln/detail/CVE-2024-1135

Gunicorn PR: https://github.com/benoitc/gunicorn/pull/3113

#Python #Gunicorn

yantor3d, to python
@yantor3d@mograph.social avatar

Currently having an argument in an MR about a function because the code in it is, quote, "not complicated or reused."

pythonbytes, to python
@pythonbytes@fosstodon.org avatar

: Constable on the debugging case

Latest episode is out ^^^ with @brianokken and @mkennedy, .

https://pythonbytes.fm/episodes/show/379/constable-on-the-debugging-case

villares, (edited ) to random
@villares@ciberlandia.pt avatar

Convite para o World Plone Day, 17 de abril de 2024! Quer aprender mais sobre Plone? Inscreva-se em https://www.plone.org.br

mistersql, to python
@mistersql@mastodon.social avatar

Wish list:

  • linter for pure to native library opportunities, e.g. json to orjson, toml to rtoml
  • linter for sync to async library opportunities
talkpython, to python
@talkpython@fosstodon.org avatar

Latest episode: Building GPT Actions with FastAPI and Pydantic with Ian Maurer & @mkennedy. Enjoy!

https://talkpython.fm/episodes/show/456/building-gpt-actions-with-fastapi-and-pydantic

villares, to python Portuguese
@villares@pynews.com.br avatar

Success! All the possible simple quadrilaterals from a 3 x 3 grid of points. Yesterday I had broken my hashing function that made it possible to eliminate rotations (it is possible to eliminate reflections too, but I like to have them) Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_04_16
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724

Posit, to python
@Posit@fosstodon.org avatar

We are thrilled to announce the 2024 Table Contest! Data display tables are an indispensable element of analytics but often get too little love. We hope you consider this your call to action to create, share, and celebrate excellent or data tables.

Learn more: https://posit.co/blog/announcing-the-2024-table-contest/

mblayman, to python
@mblayman@mastodon.social avatar

You already know about 🐍 Snakes on a Plane, but how about Planes on a Serverless? At @pythonfrederick, @pierson_pat showed off the openly available plane data from 1090MHz and how he maps those flights on the web with a lambda. https://www.youtube.com/watch?v=dMFWMTIyEgU

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

Gemini API Cookbook 🚀

Google released a new repo with a collection of guides and examples for the Gemini API. This includes a set of guides for prompt engineering and examples of the API features 👇🏼

🔗 https://github.com/google-gemini/cookbook

ThePSF, to python
@ThePSF@fosstodon.org avatar

The April edition of the PSF Grants Program Office Hour is kicking off shortly 🐍📋 9AM EST, 1PM UTC. Join us if you have any PSF Grant related questions!
https://pyfound.blogspot.com/2024/02/introducing-psf-grants-office-hours.html

djangoconeurope, to python
@djangoconeurope@fosstodon.org avatar
driscollis, to python
@driscollis@mastodon.social avatar

Pop Quiz 🐍❓

What does the following code print out, if anything?

A) An exception
B) 1
C) 2
D) 3
E) None of the above

ThePSF, to python
@ThePSF@fosstodon.org avatar

It's not too late to sponsor ! If your company uses Python, sponsoring is a great way to show the community your support. Check out the options & apply directly at https://www.python.org/sponsors/application/ or email us at sponsors@python.org.
https://www.python.org/sponsors/application/

treyhunner, to python
@treyhunner@mastodon.social avatar

When should you return from a function and when should print?

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

treyhunner, to python
@treyhunner@mastodon.social avatar

CPython pipe dream: I wish I could ask Python to count the number of steps it performs in C when performing various operations.

Why?

I want to measure the performance of code in Big O terms instead of CPU time.

sys.setrace and cProfile.Profile().runcall can count high-level operations only. But they won't take into account that "x in y" performs O(n) steps in looping over y.

(I want this for making Python Morsels exercises both fast on slow code AND accurate at checking performance.)

kiwipycon, to python
@kiwipycon@mastodon.social avatar

Kiwi PyCon XIII is shaping up to be the best one yet!

Now, the goal is for us to put together the best programme of talks we’ve ever had at a Kiwi PyCon, and that’s where all of you come in!

This is a post about our CFP, and why we want you submit a talk proposal :-)

https://python.nz/2024/04/14/present-at-kiwi-pycon-xiii/

#kiwipycon #python #pycon

villares, to random Portuguese
@villares@ciberlandia.pt avatar
leanpub, to datascience
@leanpub@mastodon.social avatar

Interpreting Machine Learning Models With SHAP: A Guide With Python Examples And Theory On Shapley Values https://leanpub.com/shap by Christoph Molnar is the featured book on the Leanpub homepage! https://leanpub.com #DataScience #Python #MachineLearning

brainwane, to python
@brainwane@social.coop avatar

Developers who use or contribute to Flask, Click, Jinja, or other parts of Pallets, designers who work atop them, and sysadmins who administer them:

Consider proposing a 5-15 min talk for the inaugural FlaskCon!

Some topics you might consider:

HTMX
WSGI and ASGI
accessibility
performance
case studies
your experience as a newbie

https://flaskcon.com/2024/

FlaskCon will be in Pittsburgh on May 17th within

nemecek_f, to python
@nemecek_f@iosdev.space avatar

I really enjoy that with (or rather with PyCharm IDE) I can just run single file in a couple of seconds to see the results.

Makes it super easy to test initial approach and stuff in general.

And if I need the DB or something else, I can just use management command 🎉

vwbusguy, to python
@vwbusguy@mastodon.online avatar

How often I've seen this:

Major Python thing: We moved some imports from X to Y. All you need to do is update that import ref.

Various interdependent #python libraries: Broken for years

  • All
  • Subscribed
  • Moderated
  • Favorites
  • bokunoheroacademia
  • cubers
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • mdbf
  • Youngstown
  • slotface
  • thenastyranch
  • GTA5RPClips
  • normalnudes
  • osvaldo12
  • kavyap
  • rosin
  • relationshipadvice
  • ethstaker
  • khanakhh
  • tacticalgear
  • everett
  • Durango
  • lostlight
  • modclub
  • Leos
  • cisconetworking
  • tester
  • HellsKitchen
  • anitta
  • sketchdaily
  • All magazines