davidism, to random
@davidism@mas.to avatar

Sprint on Flask, Quart, Jinja, Click, and the Pallets ecosystem in room 316. Grab some stickers as well! #PyConUS #Python #Flask

davidism, to python
@davidism@mas.to avatar

@tonybaloney showing off a Flask app running in Hypercorn by @pgjones with workers in subinterpreters that themselves each have the GIL disabled. Running parallel requests that themselves can have parallel processing. This talk has so much insight into web app and parallel performance.

davidism, to random
@davidism@mas.to avatar

The packaging security open space is reinforcing my goal this year of documenting our processes so it’s not all in my head only.

dlesieur, to python
@dlesieur@fosstodon.org avatar

Hello! I'm David, an experienced builder of web applications and information systems primarily for the scientific research sector.

I enjoy the challenge of complex problems, which I strive to solve with simple and elegant solutions, placing the end user at the core of my analyses.

I have many interests in life, but on Mastodon I will primarily focus on topics related to my work, such as , , , , , , , .

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, (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, 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

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 😻

mariatta, to opensource
@mariatta@fosstodon.org avatar

Last call for signing up to give lightning talks at FlaskCon @ PyCon US 2024.
If you use Flask, Click, Jinja or other parts of Pallets project, this is your opportunity to share your experience with the community.

https://flaskcon.com/2024/

davidism, to python
@davidism@mas.to avatar

FlaskCon call for talk proposals closes on May 1 at 23:59 UTC. You have just over a day to submit your proposal! https://flaskcon.com/2024/

davidism, to python
@davidism@mas.to avatar

slsa-github-generator v2 now uses upload/download-artifact v4, so I can update those in all the Pallets projects. Turns out the publish workflow for most projects didn't need any changes at all. Only MarkupSafe, with multiple build jobs, needed a little change to use different upload names and combine their downloads. https://github.com/pallets/markupsafe/commit/f4905079ef7573d5c1e8fe1f291f1e353050bc87

davidism, to random
@davidism@mas.to avatar

I'm looking forward to FlaskCon inside PyCon this year, but it needs talk proposals from the community to be successful. If you work with Flask or our other libraries, or alongside other web technologies, you have something to share and we want to hear it! Please submit a 5-15 minute talk proposal: https://flaskcon.com/2024/

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

MarkupSafe speedup saga continues: my coworker contributed a PR to implement them in Rust now. It uses some pretty clever speedups based on other serialization libraries they surveyed. If anyone is comfortable with Rust, we would appreciate reviews and feedback: https://github.com/pallets/markupsafe/pull/438

mariatta, to python
@mariatta@fosstodon.org avatar

New to PyCon US is FlaskCon, one of the Hatchery programs we accepted this year. This is your opportunity to meet the maintainers of Flask and learn how you can become a contributor.
If you use Flask, this is also a great time to share your experiences with the rest of the community.
SIgn up to give a lightning talk now:

https://flaskcon.com/2024/

davidism, to python
@davidism@mas.to avatar

Update on my "remove MarkupSafe's C speedups" post: @tonybaloney swooped in and found a simple change that make the speedups ~40% faster in the cases where they had become slower. Turns out, if plain strings are the most probable thing you'll be escaping, you should check for that first, not last. So the speedups remain in place. https://github.com/pallets/markupsafe/pull/434

JonTheNiceGuy, to python
@JonTheNiceGuy@toot.io avatar

Maybe my google-fu has defeated me, but I want to find a sample or template for 's based web application which has:

  • Basic Auth + TOTP or SAML authentication
  • A REST API using API tokens
  • An ORM for database objects
  • An admin interface for manipulating the objects in the ORM

I don't want 12 different howtos documenting how to write an insecure ToDo app using the framework of the week. Also, the same for 's .

Help me you're my only hope.

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

Submit your talk proposal for FlaskCon, inside PyCon US May 17! Are you a developer, contributor, maintainer, designer, admin, or anyone else else who uses Flask, Click, Jinja, their extensions, WSGI, ASGI, HTMX, Tailwind, asyncio, etc? We want to hear you! A talk can be 5-15 minutes, in person. CFP closes April 30, notified May 3. Submit your proposal today: https://flaskcon.com/2024/ Please boost and tell your friends! #PyCon #PyConUS #Python #Flask

davidism, to python
@davidism@mas.to avatar

Python has seen significant performance improvements in the last few releases. MarkupSafe has a C extension to speed up operations, but it's now slower in many cases than the plain Python implementation. Having a C extension increases the difficulty of maintenance, builds, releases, and installs. I'm wondering if it's time to drop the speedups. https://github.com/pallets/markupsafe/issues/433

davidism, to python
@davidism@mas.to avatar

I'm starting to think of sdists as an intermediate build between repo and wheel, rather than a partial representation of the repo. Sdists should only contain the code and metadata needed to create the wheel, not docs, dev requirements, examples, tests, and other tool config. All that extra stuff can be run by checking out the tag and using our standard contributor instructions. Removing that from sdists would probably save PyPI a good amount of bandwidth. #Python #Flask

flaskcon, to random
@flaskcon@hachyderm.io avatar

Flaskcon 2024 call for proposals is now live.

Come share your experience with everyone and join the fun!

Flaskcon is inside PyCon US this year so there’s more fun for everyone.

https://flaskcon.com/2024/

#flaskcon #Flaskcon2024 #flask #pycon2024

davidism, to python
@davidism@mas.to avatar

Just released Flask 3.0.3 with a fix for overly-eager FIPS systems that have already disabled SHA-1. The default remains SHA-1 (within HMAC), but it won't fail on import in FIPS anymore. https://github.com/pallets/flask/releases/tag/3.0.3 #Python #Flask

vmaurin, to python
@vmaurin@fosstodon.org avatar

Apparently, in python web ecosystem, /foo/bar and /foo%2Fbar are interpreted the same (but not /foo?bar and /foo%3Fbar at least) 🤦 #Python #FastAPI #flask #django

archipylago, to python
@archipylago@mementomori.social avatar

Our next event is a sprint at SparkUp Sat 13.4. 12-16 and the theme is web development with Python using Django, Flask or FastAPI.

Our sprints are hands-on programming events where we gather together to learn about a given theme. Collaborating with others, asking questions and helping each other find the answers is at the heart of these events.

More information and registration at https://archipylago.dev/blog/april-sprint-web-development/

#archipylago #TurkuDev #Python #Django #Flask #FastAPI

hl, to RaspberryPi
@hl@social.lol avatar

It lives! Now my home sensor network has a way to see the data, thanks to a locally hosted website: https://www.henryleach.com/2024/02/home-sensor-network-part-7-visualisation-website

#projects #raspberrypi #iot #flask #python #plotly

TEG, to python
@TEG@mastodon.online avatar

My hosting provider is discontinuing Passenger on my current plan. Does anyone know of what options are good currently, especially for people like me who don't really know what they're doing and just want Python/Flask apps to go brrrr?

#python #passenger #flask

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