cheukting_ho, to django
@cheukting_ho@fosstodon.org avatar

I missed Mia Bajić ‘s talk in and now get a chance at - both of them are recorded so you can also watch them.

demiurg, to python
@demiurg@fosstodon.org avatar

You should go and try pydantic logfire from @samuelcolvin right now. It is amazing!

https://pydantic.dev/

art_codesmith, to javascript
@art_codesmith@toot.cafe avatar

After a bit of playing with , I feel like it's really, well, API-oriented. You can have templating of course, but it's just a liiiittle clumsier than returning JSON (e. g., you need to manually inject the request into it).

So I'm not entirely sure if I should stick to my original plan of mostly rendering HTML and using , or if I should go with the framework flow and make a app. Probably the latter TBH.

alxd, to typescript
@alxd@writing.exchange avatar

Time for a post!

I'm looking for a / / 100% position, both contract and permanent, GMT+2 timezone.

I previously worked as a Senior / Lead / Principal developer with , and experience.

I specialize in , , , , , , , , and .

https://www.linkedin.com/in/paul-ngei/

scy, to random
@scy@chaos.social avatar

(and thus ) does self.render() in Response.init() to populate self.body, meaning that for example a JSONResponse will always instantly render its JSON to bytes as soon as it's constructed, not lazily when it's actually about to be sent.

This becomes a bit of an issue when you'd like to modify the original data in a middleware, because you basically have to re-parse the bytes into a Python object, then render them again.

There's also no way to access the original object.

18+ scy, to random
@scy@chaos.social avatar

It is literally one (1) day after having set up dual-boot Linux on the laptop that ran Windows for years, and now the other laptop, that has been my Linux machine for months, does no longer react to its Control key being pressed (and yes, it has only one).

Why does always something have to break?

I've also found out that apparently I have to decide between either being able to share my screen under Sway or have audio without stuttering.

The Linux experience, I guess.

scy,
@scy@chaos.social avatar

Also, / middleware should totally have a way to get a reference to the function that handled the request. Make it a property on the Response object.

(Yes, I will open an issue about that and maybe even write a PR, but not tonight. Tonight there's only energy for tootin'.)

Jamessw, to random
@Jamessw@mastodon.cloud avatar

I learned a ton about from @jerivas in this Winging It episode. As a front end dev, I've really appreciated working with an API made with FastAPI and its integrations. https://www.youtube.com/watch?si=yOCTNgWwcZN3jQ9G&v=1fSRG8_C2ms&feature=youtu.be

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) 🤦

talkpython, to python
@talkpython@fosstodon.org avatar

Have you tried our latest and free course?

Build An Audio AI App
https://training.talkpython.fm/courses/build-an-audio-ai-app-with-python-and-assemblyai

So many fun things to learn. Obviously working with audio data, speech to text, but also LLMs from AssemblyAI, , Beanie, , , , and plenty more. cc @mkennedy

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/

kjaymiller, to random
@kjaymiller@mastodon.social avatar

In about 1 hour I'll be hanging with @jlengstorf on his YouTube channel to show him the benefits of .

Folks we can get the Javascript folks to adopt YET ANOTHER FRAMEWORK and this one is in Python!

https://www.youtube.com/watch?v=6O5NVf0doRo

vjousse, to python French
@vjousse@mamot.fr avatar

Si vous deviez chercher des missions en freelance (possiblement ) et si possible pas Django, vous chercheriez où ?

qlp, to python
@qlp@linh.social avatar

For anyone using FastAPI or python-multipart, you may want to upgrade the version of python-multipart to >= 0.0.7 or FastAPI >= 0.109.1 (which includes a bump of required version of python-multipart). This is to fix a regex denial-of-service vulnerability.

https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389

sarahboyce, to django
@sarahboyce@mastodon.social avatar

Planning to work on something comparing FastAPI and Django Ninja ⚡️🥷
Any questions you have you'd want to be covered?

shaps, to python

Am I correct in thinking @pydantic settings only supports dot-env files out of the box and any other setting/source you need to provide yourself?

rudo, to random

I am delighted to share that we are hiring a Platform Software Engineer for the biocultural monitoring program at Conservation Metrics!

Please help me by sharing this job posting widely in your networks 📢

Link: https://www.linkedin.com/jobs/view/3798639896/

rudo,

I was advised that we could benefit from adding some hashtags! #️⃣🍲

kellogh, to mastodon
@kellogh@hachyderm.io avatar

A little update on fossil, my client:

I’ve made it easy to implement your own algorithm. It’s just a class with 2-3 methods, maybe some HTML jinja templates (if you want to change how it’s displayed)

I’ve also rewritten the UI to be and , which seems a lot more resource efficient than streamlit (although streamlit was great for prototyping).

https://github.com/tkellogg/fossil

alexdeathway, to python
@alexdeathway@fosstodon.org avatar

Hey devs, I am working on a project that requires restricting a API from public access, but data generated from API needs to be made available to clients. So, came up with this workflow, what do you all suggest?

foxmask, to django French
@foxmask@framapiaf.org avatar
tonybaloney, to python
@tonybaloney@fosstodon.org avatar

🍋 Don't ship your lemonade stand to production 🍋 Here's my latest blog post "Fine Tuning Python WSGI and ASGI applications for Flask, Django, and FastAPI" https://tonybaloney.github.io/posts/fine-tuning-wsgi-and-asgi-applications.html

spla, to fediverse Catalan
@spla@mastodont.cat avatar

Estic aprenent el protocol (com interaccionen els servidors a baix nivell).
Quina millor manera que aprendre´l programant el meu propi servidor escrit amb amb l'excel·lent framework ?
L'he anomenat "appy, Activitypub Python server".
De moment ja federa, ja es pot seguir el seu únic usuari des de qualsevol servidor del .
Em queda molt per aprendre i afegir al codi, moltíssim, però és molt divertit. 😀
Baixar al nivell del protocol és com sortir de Matrix

appy 0.0 Activitypub Python server (WIP) spla - Website

natera, to random
@natera@fosstodon.org avatar

📢 New week in review is out! Last week had some , started reading "Boost your GIT DX" by @adamchainz, a must read for anyone working with GIT! And more in: https://buttondown.email/natera/archive/week-in-review-2023-11-20/
This week includes some shots from the Scotland holiday, links to weeknotes by @ephes and Dan Catt, and to an issue of @ben on sharing as a team.

Set of trees in green, and brown autumn tones

tonybaloney, to python
@tonybaloney@fosstodon.org avatar

New Blog Post! Running Python Parallel Applications with Sub Interpreters. What is a sub interpreter? What does this have to do with No-GIL? What use is this? Can I use it for web apps? This and more questions answered. https://tonybaloney.github.io/posts/sub-interpreter-web-workers.html

pythonpizza, to random
@pythonpizza@fosstodon.org avatar

Even 😜 Python developers need sometimes to write interactive web interfaces for applications.

So how can we do that without learning lots of JavaScript?

In his talk @mborus will get you started with HTMX and show you a simple project served by a backend!

nogajun, to python Japanese
@nogajun@mastodon.social avatar

API目的だったらFlaskよりFastAPIのほうがいいな。書き方がほぼ同じで乗り換えしやすそうだし

Python 製 Web フレームワークを Flask から FastAPI に変えた話|NAVITIME_Tech: https://note.com/navitime_tech/n/nc0381517d067

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