veronica, to python
@veronica@mastodon.online avatar

Any Qt + Python devs out there with any experience on calling deleteLater() from the Python side?

I have some costly dialogs I want cleared on close, and so far I've been running deleteLater() in the closeEvent, which is clearly a little risky. I do get the very rare segfault especially if I close one particular dialog which has a QTimer singleShot call. If the deleteLater() is called when it is running, I get a RunTImeError.

villares, to python Portuguese
@villares@pynews.com.br avatar
nedbat, to python
@nedbat@hachyderm.io avatar

New blog post: One way to fix #Python circular imports.

There are better ways, but sometimes simply changing the form of the import statements can untangle the problem:

https://nedbatchelder.com/blog/202405/one_way_to_fix_python_circular_imports.html

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

django-simple-depoy 0.6.3 is out. This fixes a bug with Platform.sh deployments, and improves consistency internally across platforms.

Also, 60+ vague exploratory issues have been trimmed to ~20 task-oriented issues.

https://github.com/ehmatthes/django-simple-deploy/blob/main/CHANGELOG.md

#Python #Django

davidism, to python
@davidism@mas.to avatar

Here's my talk "State of Pallets 2024" from FlaskCon at PyCon US 2024, as well a playlist of the other talks! https://www.youtube.com/watch?v=TYeMf0bCbr8&list=PL-MSuSC-Kjb6n0HsxU_knxCOLuToQm44z #Python #Flask #PyConUS #FlaskCon

pyconafrica, to python
@pyconafrica@mastodon.social avatar

🌍✨ Great news!! PyCon Africa’s Financial Grant is now open.

Interested in attending PyCon Africa but worried about the costs? We’ve got you covered! 🎉 Our generous financial assistance programme is here to support attendees who would otherwise find it difficult to join us.

🔗 For more information kindly visit -: https://africa.pycon.org/2024/fin-aid/

ThePSF, to python
@ThePSF@fosstodon.org avatar

🗳️📣 Are you interested in running for or nominating someone in the upcoming PSF Board election? Join the Office Hours on Discord to learn more and ask current Board Directors your questions on June 11th, 4 PM UTC, and June 18th, 12 PM UTC
https://pyfound.blogspot.com/2024/05/blog-post.html

ivelasq3, to python
@ivelasq3@fosstodon.org avatar

I can’t wait to present “Automate Your Quarto Dashboards with Posit Connect” at the monthly End-to-End Workflow with Posit Team!

• Create an ETL script on Posit Workbench that reruns on a schedule on Posit Connect
• Pin a dataset on Posit Connect and reading it in a document
• Use to create a dashboard (new in 1.4)!
• Schedule the dashboard to update on Posit Connect

And it’s my first project completely done in 🐍

Add it to your calendar: https://pos.it/team-demo

pythonbytes, to python
@pythonbytes@fosstodon.org avatar
pythonbytes, to python
@pythonbytes@fosstodon.org avatar

Heads up: We'll be doing our live stream of the recording in 2 hours. For a few reasons, we're recording a day early and in the evening. #python cc @brianokken @mkennedy

https://www.youtube.com/watch?v=f-tuQBIn1fQ

jackwilliambell, to python
@jackwilliambell@rustedneuron.com avatar

> Dataclasses JSON provides a simple API for encoding and decoding dataclasses to and from JSON and lists/dicts. https://lidatong.github.io/dataclasses-json/

Includes some schema validation as well.

ETA: Schemas require Marshmallow.

> https://marshmallow.readthedocs.io/en/stable/api_reference.html#schema

And Marshmallow looks like what I was searching for in the first place…

> https://marshmallow.readthedocs.io/en/stable/index.html

villares, to python Portuguese
@villares@pynews.com.br avatar
fgirault, to python French
@fgirault@mastodon.tetaneutral.net avatar

Le projet de monitoring de la production de la constellation de satellites Sentinel, programme européen, que j'ai architecturé et dont j'ai codé le framework est .... open-source !!!!!

Merci l'ESA d'avoir imposé la licence Apache 2 dans le contrat ! J'ai enfin réussi à être payé pour faire du logiciel libre !

https://github.com/coordinationdesk/end2end_monitoring_dashboard

#OSS #Python

hynek, to python
@hynek@mastodon.social avatar

My final act before vacation is done: structlog 24.2.0! #Python

Enjoy a bunch of bug fixes, better Logfmt support, and some optimizations!

https://github.com/hynek/structlog/releases/tag/24.2.0

chrisjrn, to python
@chrisjrn@social.coop avatar

Thanks to @AlSweigart discourse, I have now determined that I'll be doing things in no fewer than three cities with funicular railways in the next 12 months. I could totally imagine doing more.

Jamme jamme jà!

panpantepan, to GNOME
@panpantepan@ohai.social avatar

As there are a lot of new apps developers and new users on gnome, i would like to share this place to share your gnome apps ideas, and if you are a developer, maybe it could be worth taking a look at them! (great apps like impression came from here!)
https://gitlab.gnome.org/bertob/app-ideas/-/issues

#gnome #swift #python #libadwaita #appdevelopment

pyconzim, to python

Exciting Opportunity! PyCon Zim 2024 is Calling All Speakers!

We are thrilled to announce that PyCon Zim 2024 is now open for talk proposals!

Key Dates to Remember:

  • May 27th, 2024: Call for Proposals Opens

  • July 27th, 2024: Call for Proposals Closes (23:59 GMT+2)

. Submit your proposal today and be part of an unforgettable event!

For more details and submission guidelines, visit: https://www.papercall.io/pyconzim2024

#Pyconzim2024 #PyconZim #CFP #Python

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

I just released django-simple-deploy 0.6.2, the first release in quite a while.

You can use it to make multiple deployments to Fly.io. Heroku deployments are updated as well.

I'm making steady progress toward a plugin-based model, and should be able to make regular releases over the next few weeks.

Changelog: https://github.com/ehmatthes/django-simple-deploy/blob/main/CHANGELOG.md

#Python #Django

hansakwast, to python
@hansakwast@fosstodon.org avatar

New #WaPOR #MOOC available now! #Python for #geospatial analyses using WaPOR data. #IHEDelft #FAO #WaterProductivity
More information: https://edu.nl/q877u

cmaureir, to cpp
@cmaureir@mastodon.social avatar

Wanna join the development team in charge of the official Python bindings for the Qt Framework? 🐍

We have an opening for the Qt for Python team, which is currently developing PySide and Shiboken! 💻

If you know C++, Python, and perhaps a bit of CPython internals,

Join us! https://www.qt.io/open-positions/python-and-c-software-engineer-all-levels

#pyside #qt #shiboken #qtforpython #cpython #cpp #python

jbzfn, to c64
@jbzfn@mastodon.social avatar

🐍Converting 80s Computer Games into Python | Usborne BASIC Coding Book | Kari

https://youtube.com/watch?v=toyx1W0nCwI

bbelderbos, to python
@bbelderbos@fosstodon.org avatar

🔍 Terminal Tip: Instant Source Viewer! 🐍

Below I defined a function called pys (you can add it to your .zshrc).

Now you can peek at Python source code from the command line like this:

$ pys module [object]

E.g.
$ pys collections
$ pys collections Counter

bbatsov, to python
@bbatsov@hachyderm.io avatar
nekohayo, to python
@nekohayo@mastodon.social avatar

Did you know there's a cool little + forecasting native desktop application for , called ?

Seems like it was started a year ago. I just discovered it now, and am somewhat impressed by how much detail it provides (including Air Pollution / Air Quality Index).

So of course I filed my ponies-on-rainbows enhancement request to suggest an interactive stacked graphs representation (like a certain website I use, shown below)… 🤞👀

https://github.com/amit9838/mousam/issues/130

gerowen, to python
@gerowen@mastodon.social avatar

Just posted an update for my little #Python #programming project that downloads videos from sites like YouTube. You can check it out here:

https://sourceforge.net/projects/youtube-dl-gtk/

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