home.social

#flask — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #flask, aggregated by home.social.

fetched live
  1. 156 lines of Flask that push live updates to browsers over SSE. Runs with python3 sse_server.py --port 8080. Intermediate. valtersit.com/python/server-se #python #flask #webdev

  2. 156 lines of Flask that push live updates to browsers over SSE. Runs with python3 sse_server.py --port 8080. Intermediate. valtersit.com/python/server-se #python #flask #webdev

  3. 156 lines of Flask that push live updates to browsers over SSE. Runs with python3 sse_server.py --port 8080. Intermediate. valtersit.com/python/server-se #python #flask #webdev

  4. 156 lines of Flask that push live updates to browsers over SSE. Runs with python3 sse_server.py --port 8080. Intermediate. valtersit.com/python/server-se #python #flask #webdev

  5. I've got a simple Flask interface taking zip uploads from a user and then unpacking those into a directory under their username.

    It's all static resources (HTML, css, some js) so I'm serving those locations with send_from_directory('username', filename='index.html'). It works fine for index pages, but relative resource urls are giving me trouble.

    Has anyone done something like this who can give some tips for serving the actual projects?

    #askfedi #flask

  6. I've got a simple Flask interface taking zip uploads from a user and then unpacking those into a directory under their username.

    It's all static resources (HTML, css, some js) so I'm serving those locations with send_from_directory('username', filename='index.html'). It works fine for index pages, but relative resource urls are giving me trouble.

    Has anyone done something like this who can give some tips for serving the actual projects?

  7. I've got a simple Flask interface taking zip uploads from a user and then unpacking those into a directory under their username.

    It's all static resources (HTML, css, some js) so I'm serving those locations with send_from_directory('username', filename='index.html'). It works fine for index pages, but relative resource urls are giving me trouble.

    Has anyone done something like this who can give some tips for serving the actual projects?

    #askfedi #flask

  8. I've got a simple Flask interface taking zip uploads from a user and then unpacking those into a directory under their username.

    It's all static resources (HTML, css, some js) so I'm serving those locations with send_from_directory('username', filename='index.html'). It works fine for index pages, but relative resource urls are giving me trouble.

    Has anyone done something like this who can give some tips for serving the actual projects?

    #askfedi #flask

  9. I've got a simple Flask interface taking zip uploads from a user and then unpacking those into a directory under their username.

    It's all static resources (HTML, css, some js) so I'm serving those locations with send_from_directory('username', filename='index.html'). It works fine for index pages, but relative resource urls are giving me trouble.

    Has anyone done something like this who can give some tips for serving the actual projects?

    #askfedi #flask

  10. Руководство по микрофреймворкам

    Микрофреймворки — это легковесные веб-фреймворки, предоставляющие базовую функциональность, такую как маршрутизация, обработка запросов и ответов, шаблонизация и проверка входных данных. Как правило, они не включают в себя библиотеки...

    #DST #DSTGlobal #ДСТ #ДСТГлобал #DSTplatform #ДСТПлатформ #микрофреймворк #микрофреймворки #Flask #Python #Express #Nodejs #Sinatra #Ruby #Laravel #Lumen #PHP #CSRF #XSS #фреймворки #frameworks

    Источник: dstglobal.ru/club/1259-rukovod

  11. Руководство по микрофреймворкам

    Микрофреймворки — это легковесные веб-фреймворки, предоставляющие базовую функциональность, такую как маршрутизация, обработка запросов и ответов, шаблонизация и проверка входных данных. Как правило, они не включают в себя библиотеки...

    #DST #DSTGlobal #ДСТ #ДСТГлобал #DSTplatform #ДСТПлатформ #микрофреймворк #микрофреймворки #Flask #Python #Express #Nodejs #Sinatra #Ruby #Laravel #Lumen #PHP #CSRF #XSS #фреймворки #frameworks

    Источник: dstglobal.ru/club/1259-rukovod

  12. Руководство по микрофреймворкам

    Микрофреймворки — это легковесные веб-фреймворки, предоставляющие базовую функциональность, такую как маршрутизация, обработка запросов и ответов, шаблонизация и проверка входных данных. Как правило, они не включают в себя библиотеки...

    #DST #DSTGlobal #ДСТ #ДСТГлобал #DSTplatform #ДСТПлатформ #микрофреймворк #микрофреймворки #Flask #Python #Express #Nodejs #Sinatra #Ruby #Laravel #Lumen #PHP #CSRF #XSS #фреймворки #frameworks

    Источник: dstglobal.ru/club/1259-rukovod

  13. Руководство по микрофреймворкам

    Микрофреймворки — это легковесные веб-фреймворки, предоставляющие базовую функциональность, такую как маршрутизация, обработка запросов и ответов, шаблонизация и проверка входных данных. Как правило, они не включают в себя библиотеки...

    #DST #DSTGlobal #ДСТ #ДСТГлобал #DSTplatform #ДСТПлатформ #микрофреймворк #микрофреймворки #Flask #Python #Express #Nodejs #Sinatra #Ruby #Laravel #Lumen #PHP #CSRF #XSS #фреймворки #frameworks

    Источник: dstglobal.ru/club/1259-rukovod

  14. Руководство по микрофреймворкам

    Микрофреймворки — это легковесные веб-фреймворки, предоставляющие базовую функциональность, такую как маршрутизация, обработка запросов и ответов, шаблонизация и проверка входных данных. Как правило, они не включают в себя библиотеки...

    #DST #DSTGlobal #ДСТ #ДСТГлобал #DSTplatform #ДСТПлатформ #микрофреймворк #микрофреймворки #Flask #Python #Express #Nodejs #Sinatra #Ruby #Laravel #Lumen #PHP #CSRF #XSS #фреймворки #frameworks

    Источник: dstglobal.ru/club/1259-rukovod

  15. Graceful Shutdown в Python-приложениях на Kubernetes: внедрение и практический опыт

    Часто ли вы сталкиваетесь с проблемой потери данных, неконсистентными состояниями или ошибками в Sentry о внезапно закрытых соединениях при рестарте сервисов? Если вы когда-нибудь пытались это исправить, то наверняка слышали про Graceful Shutdown. Привет! Меня зовут Антон, я бэкенд-разработчик Python

    habr.com/ru/companies/selectel

    #selectel #python #kubernetes #graceful_shutdown #fastapi #flask #celery #uvicorn #gunicorn #devops

  16. Graceful Shutdown в Python-приложениях на Kubernetes: внедрение и практический опыт

    Часто ли вы сталкиваетесь с проблемой потери данных, неконсистентными состояниями или ошибками в Sentry о внезапно закрытых соединениях при рестарте сервисов? Если вы когда-нибудь пытались это исправить, то наверняка слышали про Graceful Shutdown. Привет! Меня зовут Антон, я бэкенд-разработчик Python

    habr.com/ru/companies/selectel

    #selectel #python #kubernetes #graceful_shutdown #fastapi #flask #celery #uvicorn #gunicorn #devops

  17. Graceful Shutdown в Python-приложениях на Kubernetes: внедрение и практический опыт

    Часто ли вы сталкиваетесь с проблемой потери данных, неконсистентными состояниями или ошибками в Sentry о внезапно закрытых соединениях при рестарте сервисов? Если вы когда-нибудь пытались это исправить, то наверняка слышали про Graceful Shutdown. Привет! Меня зовут Антон, я бэкенд-разработчик Python

    habr.com/ru/companies/selectel

    #selectel #python #kubernetes #graceful_shutdown #fastapi #flask #celery #uvicorn #gunicorn #devops

  18. I've turned off pull requests from non-members for Flask, Werkzeug, Jinja, and Click this week, and have enjoyed not waking up to a fresh wave of AI junk every morning. I think I'm going to update our contributing guide to say "introduce yourself and how you use the library in chat first if you want to contribute pull requests". Sad that we had to go here, but aside from conference sprints we weren't really getting outside contribution anyway (which is also sad, but that's been the case a lot longer than AI has been around). #python #flask #opensource

  19. I've turned off pull requests from non-members for Flask, Werkzeug, Jinja, and Click this week, and have enjoyed not waking up to a fresh wave of AI junk every morning. I think I'm going to update our contributing guide to say "introduce yourself and how you use the library in chat first if you want to contribute pull requests". Sad that we had to go here, but aside from conference sprints we weren't really getting outside contribution anyway (which is also sad, but that's been the case a lot longer than AI has been around). #python #flask #opensource

  20. I've turned off pull requests from non-members for Flask, Werkzeug, Jinja, and Click this week, and have enjoyed not waking up to a fresh wave of AI junk every morning. I think I'm going to update our contributing guide to say "introduce yourself and how you use the library in chat first if you want to contribute pull requests". Sad that we had to go here, but aside from conference sprints we weren't really getting outside contribution anyway (which is also sad, but that's been the case a lot longer than AI has been around). #python #flask #opensource

  21. I've turned off pull requests from non-members for Flask, Werkzeug, Jinja, and Click this week, and have enjoyed not waking up to a fresh wave of AI junk every morning. I think I'm going to update our contributing guide to say "introduce yourself and how you use the library in chat first if you want to contribute pull requests". Sad that we had to go here, but aside from conference sprints we weren't really getting outside contribution anyway (which is also sad, but that's been the case a lot longer than AI has been around).

  22. I've turned off pull requests from non-members for Flask, Werkzeug, Jinja, and Click this week, and have enjoyed not waking up to a fresh wave of AI junk every morning. I think I'm going to update our contributing guide to say "introduce yourself and how you use the library in chat first if you want to contribute pull requests". Sad that we had to go here, but aside from conference sprints we weren't really getting outside contribution anyway (which is also sad, but that's been the case a lot longer than AI has been around). #python #flask #opensource

  23. The GeoJSON Previewer and Web Archive Previewer I worked on for NYU is now in version 14 of Invenio RDM: inveniordm.docs.cern.ch/releas

    #python #flask #geojson #inveniordm #gis

  24. The GeoJSON Previewer and Web Archive Previewer I worked on for NYU is now in version 14 of Invenio RDM: inveniordm.docs.cern.ch/releas

    #python #flask #geojson #inveniordm #gis

  25. The GeoJSON Previewer and Web Archive Previewer I worked on for NYU is now in version 14 of Invenio RDM: inveniordm.docs.cern.ch/releas

    #python #flask #geojson #inveniordm #gis

  26. "Up to 45% off Yeti, Hydro Flask, and Stanley — arm yourself with a top quality insulated bottle or mug this fall"

    "Cooler weather is on its way — but there are price drops across dozens of insulated on-the-go mugs, to see you through a cold commute."

    techradar.com/health-fitness/u

    #Flask

  27. "Up to 45% off Yeti, Hydro Flask, and Stanley — arm yourself with a top quality insulated bottle or mug this fall"

    "Cooler weather is on its way — but there are price drops across dozens of insulated on-the-go mugs, to see you through a cold commute."

    techradar.com/health-fitness/u

    #Flask

  28. "Up to 45% off Yeti, Hydro Flask, and Stanley — arm yourself with a top quality insulated bottle or mug this fall"

    "Cooler weather is on its way — but there are price drops across dozens of insulated on-the-go mugs, to see you through a cold commute."

    techradar.com/health-fitness/u

    #Flask

  29. "Up to 45% off Yeti, Hydro Flask, and Stanley — arm yourself with a top quality insulated bottle or mug this fall"

    "Cooler weather is on its way — but there are price drops across dozens of insulated on-the-go mugs, to see you through a cold commute."

    techradar.com/health-fitness/u

    #Flask

  30. "Up to 45% off Yeti, Hydro Flask, and Stanley — arm yourself with a top quality insulated bottle or mug this fall"

    "Cooler weather is on its way — but there are price drops across dozens of insulated on-the-go mugs, to see you through a cold commute."

    techradar.com/health-fitness/u

    #Flask

  31. Динозавры, ракоскорпионы, PostgreSQL и меланин: база данных по окраске ископаемых животных

    Начиная с 2010 года в научпопе мелькают заголовки вроде «Какого цвета были динозавры?». При этом в тени часто остаются птерозавры, трилобиты, гигантские палеозойские ракоскорпионы или морские рептилии вроде ихтиозавров. Сейчас науке известно множество мезозойских и более древних животных, чей облик мы можем представить себе вплоть до деталей окраски. Я решил собрать их всех в одной базе, которая объединяла бы художественные реконструкции, фотографии окаменелостей и статьи с исследованиями каждого вида. Всех, кому интересно, как выглядели существа из прошедших эпох, и откуда мы это знаем, приглашаю к прочтению.

    habr.com/ru/articles/1076912/

    #динозавры #палеонтология #postgresql #flask #open_source

  32. Динозавры, ракоскорпионы, PostgreSQL и меланин: база данных по окраске ископаемых животных

    Начиная с 2010 года в научпопе мелькают заголовки вроде «Какого цвета были динозавры?». При этом в тени часто остаются птерозавры, трилобиты, гигантские палеозойские ракоскорпионы или морские рептилии вроде ихтиозавров. Сейчас науке известно множество мезозойских и более древних животных, чей облик мы можем представить себе вплоть до деталей окраски. Я решил собрать их всех в одной базе, которая объединяла бы художественные реконструкции, фотографии окаменелостей и статьи с исследованиями каждого вида. Всех, кому интересно, как выглядели существа из прошедших эпох, и откуда мы это знаем, приглашаю к прочтению.

    habr.com/ru/articles/1076912/

    #динозавры #палеонтология #postgresql #flask #open_source

  33. Динозавры, ракоскорпионы, PostgreSQL и меланин: база данных по окраске ископаемых животных

    Начиная с 2010 года в научпопе мелькают заголовки вроде «Какого цвета были динозавры?». При этом в тени часто остаются птерозавры, трилобиты, гигантские палеозойские ракоскорпионы или морские рептилии вроде ихтиозавров. Сейчас науке известно множество мезозойских и более древних животных, чей облик мы можем представить себе вплоть до деталей окраски. Я решил собрать их всех в одной базе, которая объединяла бы художественные реконструкции, фотографии окаменелостей и статьи с исследованиями каждого вида. Всех, кому интересно, как выглядели существа из прошедших эпох, и откуда мы это знаем, приглашаю к прочтению.

    habr.com/ru/articles/1076912/

    #динозавры #палеонтология #postgresql #flask #open_source

  34. Folks who work with Python #Flask, is there a clean way you like of sending a file from a file pointer (eg, `open()` or `BytesIO()`) as a response, including setting the Content-Type header automatically in the response? Or am I best off with f.read() to an object and make_response with that object and manual content header?

    I haven't searched yet, and I will, but I wanted to see what the general consensus is.

  35. Folks who work with Python #Flask, is there a clean way you like of sending a file from a file pointer (eg, `open()` or `BytesIO()`) as a response, including setting the Content-Type header automatically in the response? Or am I best off with f.read() to an object and make_response with that object and manual content header?

    I haven't searched yet, and I will, but I wanted to see what the general consensus is.

  36. Folks who work with Python #Flask, is there a clean way you like of sending a file from a file pointer (eg, `open()` or `BytesIO()`) as a response, including setting the Content-Type header automatically in the response? Or am I best off with f.read() to an object and make_response with that object and manual content header?

    I haven't searched yet, and I will, but I wanted to see what the general consensus is.

  37. Folks who work with Python #Flask, is there a clean way you like of sending a file from a file pointer (eg, `open()` or `BytesIO()`) as a response, including setting the Content-Type header automatically in the response? Or am I best off with f.read() to an object and make_response with that object and manual content header?

    I haven't searched yet, and I will, but I wanted to see what the general consensus is.

  38. My another "bubble" #drawing. #Fish in the alchemist's #flask. With obligatory "magic related" colours inside :blobCat_giggle:

    #art #MastoArt #CreativeToots #krita #ArtWithOpenSource

  39. My another "bubble" #drawing. #Fish in the alchemist's #flask. With obligatory "magic related" colours inside :blobCat_giggle:

    #art #MastoArt #CreativeToots #krita #ArtWithOpenSource

  40. My another "bubble" #drawing. #Fish in the alchemist's #flask. With obligatory "magic related" colours inside :blobCat_giggle:

    #art #MastoArt #CreativeToots #krita #ArtWithOpenSource

  41. My another "bubble" #drawing. #Fish in the alchemist's #flask. With obligatory "magic related" colours inside :blobCat_giggle:

    #art #MastoArt #CreativeToots #krita #ArtWithOpenSource

  42. My another "bubble" #drawing. #Fish in the alchemist's #flask. With obligatory "magic related" colours inside :blobCat_giggle:

    #art #MastoArt #CreativeToots #krita #ArtWithOpenSource

  43. Estou em busca de um novo trabalho como engenheiro de software. Mais de 12 anos de experiência com desenvolvimento backend (principalmente com #Python), design de sistemas, raspagem de dados (#Scrapy), código aberto, desenvolvimento web (#Django, #FastAPI, #Flask ou o que mais aparecer) e aberto para aprender e trabalhar com outras tecnologias. Procurando apenas posições remotas em qualquer lugar do mundo!
    https://www.linkedin.com/in/rennerocha/
    #fedihire #getfedihired #fedijobs

  44. Estou em busca de um novo trabalho como engenheiro de software. Mais de 12 anos de experiência com desenvolvimento backend (principalmente com #Python), design de sistemas, raspagem de dados (#Scrapy), código aberto, desenvolvimento web (#Django, #FastAPI, #Flask ou o que mais aparecer) e aberto para aprender e trabalhar com outras tecnologias. Procurando apenas posições remotas em qualquer lugar do mundo!
    https://www.linkedin.com/in/rennerocha/
    #fedihire #getfedihired #fedijobs

  45. Estou em busca de um novo trabalho como engenheiro de software. Mais de 12 anos de experiência com desenvolvimento backend (principalmente com #Python), design de sistemas, raspagem de dados (#Scrapy), código aberto, desenvolvimento web (#Django, #FastAPI, #Flask ou o que mais aparecer) e aberto para aprender e trabalhar com outras tecnologias. Procurando apenas posições remotas em qualquer lugar do mundo!
    https://www.linkedin.com/in/rennerocha/
    #fedihire #getfedihired #fedijobs

  46. Estou em busca de um novo trabalho como engenheiro de software. Mais de 12 anos de experiência com desenvolvimento backend (principalmente com #Python), design de sistemas, raspagem de dados (#Scrapy), código aberto, desenvolvimento web (#Django, #FastAPI, #Flask ou o que mais aparecer) e aberto para aprender e trabalhar com outras tecnologias. Procurando apenas posições remotas em qualquer lugar do mundo!
    https://www.linkedin.com/in/rennerocha/
    #fedihire #getfedihired #fedijobs