@davidism@mas.to
@davidism@mas.to avatar

davidism

@davidism@mas.to

Lead maintainer of Flask, Jinja, Click, and others on Pallets. Meetup organizer with San Diego Python. https://fosstodon.org/@ThePSF Fellow. he/they

This profile is from a federated server and may be incomplete. Browse more on the original instance.

davidism, to random
@davidism@mas.to avatar

What a whirlwind day. I’m very happy with how FlaskCon turned out, and it’s been gratifying hearing so many compliments from people. Looking forward to a more relaxed (not really 😛) rest of PyCon!

davidism, to python
@davidism@mas.to avatar

Pallets and Flask office hours in PyCon room 317 from 3:15 to 5:30. Please come by to say hi and talk with us about your projects and our projects! I might be showing of a new Flask-SQLAlchemy idea for a more lightweight and type checkable implementation.

davidism, to python
@davidism@mas.to avatar

The next FlaskCon talk starts at 2:45, Extending Flask using the Flask Plugins API, by Abdur-Rahmaan Janhangeer @osdotsystem

davidism, to python
@davidism@mas.to avatar

Apparently the convention center is using a product, Voltus, built on Flask and APIFlask to manage its energy use and respond to demand. So cool! ☀️😎

davidism, to random
@davidism@mas.to avatar

FlaskCon will resume after the PyCon lunch, with Adding OpenAPI to a Flask Application with APIFlask by Will Lachance. Starts at 2:00 in room 317

davidism, to random
@davidism@mas.to avatar

Being at PyCon is so hard because I want to be in five different places at once 😅

pamelafox, to random
@pamelafox@fosstodon.org avatar

Trying to figure out what package to use for showing an async HTTP request in a Python example. Ideally we'd use something in stdlib, but urllib says to use requests, and requests doesn't support async, so... httpx?

davidism,
@davidism@mas.to avatar

@pamelafox I really like httpx. You might also use rich or textual to visualize. You can also use httpx as a wsgi or asgi test client to make direct calls rather than going through http.

davidism, to python
@davidism@mas.to avatar

Next FlaskCon talk starting at 12:30, Introduction to OpenTelemetry with Flask, by Jessica Garson @jessicagarson

davidism, to python
@davidism@mas.to avatar

Finally got all three years of FlaskCon Online (2020, 2021, 2023) up on https://pyvideo.org FlaskCon 2024 videos should be up soon after we have some time to edit and upload.

davidism, to random
@davidism@mas.to avatar

Next FlaskCon talk starting now @ 11:45, Single Page Apps with Flask or Quart, by Adam Englander @adamenglander

davidism, (edited ) to random
@davidism@mas.to avatar

FlaskCon is Friday inside PyCon! Room 317, my opening "State of Pallets" talk starts at 11am, after the opening PyCon keynote. Then we have four talks, then office hours, as well as sprints starting Monday. Please come by to watch the talks and to talk with us about your projects and our projects! https://flaskcon.com

davidism,
@davidism@mas.to avatar

@brainwane Just edited it!

rennerocha, to Pittsburgh
@rennerocha@chaos.social avatar

Going to have a beer and eat something at Voodoo Brewing in 10min https://maps.app.goo.gl/nMD8Q2YxkCFmat2D7 If someone wants to join

davidism,
@davidism@mas.to avatar

@rennerocha Wish I had seen this a little earlier. It would be great to talk beer and Python. Another night!

davidism, to random
@davidism@mas.to avatar

I’m at the Kimpton Monaco Hotel, currently getting dinner downstairs then heading to their rooftop bar for a drink. I’m wearing last year’s green PyCon shirt, say hi if you spot me!

davidism,
@davidism@mas.to avatar

@webology Lol people keep post right after I order something. I'm on the rooftop now if you want to walk to a different lobby :-P Although I think they said last call

davidism, to random
@davidism@mas.to avatar

Finally got to “jinja” 神社 in my Japanese kanji+vocab.

davidism, to random
@davidism@mas.to avatar

Just got into Pittsburgh, I’ll be at my hotel by 7:30. Anyone I know getting food and drinks around then?

davidism, to random
@davidism@mas.to avatar

People with Macs, what do you use for running a Windows VM for games? I was using VMWare Fusion free, which worked fine, but that no longer exists since they got bought by Broadcom. Now both Fusion and Parallels are subscriptions. I can get an open source discount on Parallels.

tonybaloney, to random
@tonybaloney@fosstodon.org avatar

Folks attending I’m organizing a casual (5k?) morning run group, ending with coffee along the river in Pittsburgh. On a couple of the conference days. Anyone keen?

davidism,
@davidism@mas.to avatar

@tonybaloney I’d be interested in a 5k. How many hills will there be 😬

davidism, to python
@davidism@mas.to avatar

Just released Werkzeug 3.0.3 with a security fix for a high vulnerability. If an attacker can get you to interact with their domain, and can guess a route in your app that raises an exception, and you're running the debbuger, they can use the fact that public DNS can point to 127.0.0.1 to execute code through the debugger running on localhost. https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985 #Python #Flask #Werkzeug

davidism,
@davidism@mas.to avatar

This made me seriously consider just removing the interactive portion of the debugger. If there was an equivalent to Python's overridable breakpoint() for post-mortem debugging instead of stopping in the current frame, I would switch to that.

davidism, (edited )
@davidism@mas.to avatar

@cpontvieux Everyone who uses Flask, and some that don’t. You’re confusing its built in dev server and debugger for the rest of the WSGI library. And this vulnerability is about the debugger running locally.

davidism, to python
@davidism@mas.to avatar

Anyone know of a library for getting docstrings for attributes like Sphinx does, where it can find the triple-quote string after an attribute by inspecting the AST? I would like to use those docs, but I don't want to write the AST inspector myself 😅

davidism, to python
@davidism@mas.to avatar

I'll be presenting a new talk, "Magical (or not) GraphQL", at North Bay Python 2024! Introducing a new open source library I wrote for work, how I wrote it, cool things to do with GraphQL, and what I've discovered I want instead of GraphQL. Hopefully the barn cats will be interested too 😻 #Python #nbpy #GraphQL #Flask

davidism, to python
@davidism@mas.to avatar

What Python debugger are you using? I know about IDE debuggers, like PyCharm and VSCode, and of course pdb. Then there's pudb, which is a super nice terminal ui. What others are out there?

davidism,
@davidism@mas.to avatar

@rmorey Simple, effective, totally valid!

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