RD What are the most important papers that provide entry to your domain of research?
Please mention what domain (niche) of machine learning you work in for your research?
Why did you chose that particular domain?
If someone with basic understanding of machine learning and deep learning wants to get involved in your field, which papers/blogs/tools should they consider reading/implementing?
/r/MachineLearning
https://redd.it/1hwkmwm
Please mention what domain (niche) of machine learning you work in for your research?
Why did you chose that particular domain?
If someone with basic understanding of machine learning and deep learning wants to get involved in your field, which papers/blogs/tools should they consider reading/implementing?
/r/MachineLearning
https://redd.it/1hwkmwm
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Python users, how did you move on from basics to more complex coding?
I am currently in college studying A level Computer science. We are currently taught C#, however I am still more interested in Python coding.
Because they won't teach us Python anymore, I don't really have a reliable website to build on my coding skills. The problem I am having is that I can do all the 'basics' that they teach you to do, but I cannot find a way to take the next step into preparation for something more practical.
Has anyone got any youtuber recommendations or websites to use because I have been searching and cannot fit something that is matching with my current level as it is all either too easy or too complex.
(I would also like more experience in Python as I aspire to do technology related degrees in the future)
Thank you ! :)
/r/Python
https://redd.it/1hwsv6i
I am currently in college studying A level Computer science. We are currently taught C#, however I am still more interested in Python coding.
Because they won't teach us Python anymore, I don't really have a reliable website to build on my coding skills. The problem I am having is that I can do all the 'basics' that they teach you to do, but I cannot find a way to take the next step into preparation for something more practical.
Has anyone got any youtuber recommendations or websites to use because I have been searching and cannot fit something that is matching with my current level as it is all either too easy or too complex.
(I would also like more experience in Python as I aspire to do technology related degrees in the future)
Thank you ! :)
/r/Python
https://redd.it/1hwsv6i
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1hwz5go
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1hwz5go
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Linkversity: My latest Flask pet project in prod (My hosting / deployment setup)
I coded linkversity.xyz. I think deploying Flask apps is easy. Since ive been seeing queries as to hosting and deployment, here is my setup:
My nginx conf
And repo source
I am using a VPS from GalaxyGate.
I think a VPS is worth it, costs more than some sites but you do things your way.
Hopw it helps!
/r/flask
https://redd.it/1hw3i85
I coded linkversity.xyz. I think deploying Flask apps is easy. Since ive been seeing queries as to hosting and deployment, here is my setup:
My nginx conf
server {listen 80;server_name linkversity.xyz www.linkversity.xyz;return 301 https://$host$request_uri;}server {listen 443 ssl;server_name linkversity.xyz www.linkversity.xyz;# SSL Configurationssl_certificate /etc/letsencrypt/live/linkversity.xyz-0001/fullchain.pem;ssl_certificate_key /etc/letsencrypt/live/linkversity.xyz-0001/privkey.pem;# SSL Protocols and Ciphersssl_protocols TLSv1.2 TLSv1.3;ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384';ssl_protocols TLSv1.2 TLSv1.3;ssl_prefer_server_ciphers on;ssl_ecdh_curve auto; # Use auto to let OpenSSL select appropriate curvesssl_session_cache shared:SSL:10m;ssl_session_timeout 1d;ssl_session_tickets off;# Additional security headersadd_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;add_header X-Content-Type-Options nosniff;add_header X-Frame-Options SAMEORIGIN;location / {proxy_pass http://127.0.0.1:5000;proxy_set_header Host $host;proxy_set_header X-Forwarded-User $remote_user;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;proxy_http_version 1.1;proxy_read_timeout 300;proxy_connect_timeout 300;proxy_send_timeout 300;# include proxy_params;}location /static/ {alias /var/www/linkversity/static/;}location ~ /\.git {deny all;}}My gunicorn conf[Unit]Description=Gunicorn instance to serve Linkversity Flask applicationAfter=network.target[Service]User=rootGroup=www-dataWorkingDirectory=/root/code/linkversityExecStart=gunicorn -w 4 -b 0.0.0.0:5000 app:app \--access-logfile /root/code/linkversity/logs/access.log \--error-logfile /root/code/linkversity/logs/error.logRestart=alwaysRestartSec=5 StartLimitBurst=5 StartLimitIntervalSec=60 [Install]WantedBy=multi-user.targetAnd repo source
I am using a VPS from GalaxyGate.
I think a VPS is worth it, costs more than some sites but you do things your way.
Hopw it helps!
/r/flask
https://redd.it/1hw3i85
GitHub
GitHub - linkversity/linkversity: Create courses out of links, useful for OpenSource as well as documenting internal knowledge.…
Create courses out of links, useful for OpenSource as well as documenting internal knowledge. It's not possible to replicate the knowledge of the web from scratch. - linkversity/linkversity
Arch Gateway - an open source intelligent gateway for AI agents - focus on business logic of agents
# What My Project Does
Arch is an intelligent Layer 7 gateway (proxy) designed to protect, observe, and personalize AI agents with your APIs. The project was born out of the belief that: Prompts are nuanced and opaque user requests, which require the same capabilities as traditional HTTP requests including secure handling, intelligent routing, robust observability, and integration with backend (API) systems for personalization - all outside business logic.
Check out the project here: https://github.com/katanemo/archgw Ask me anything.
# Target Audience
Meant to help developers building AI Agents in production with safety, observablity and personalization features needed for differentiation. Focus on the stuff that matters, not the crufty work to get agents into production.
# Comparison
Compared to NGINX, HAProxy, Envoy - Arch Gateway was designed for prompts. Engineered with purpose-built small LLMs, Arch handles the critical but undifferentiated tasks related to the handling and processing of prompts, including detecting and rejecting jailbreak attempts, intelligently calling "backend" APIs to fulfill the user's request represented in a prompt, routing to and offering disaster recovery between upstream LLMs, and managing the observability of prompts and LLM API calls - outside application code so that you can focus on what matters most
Compared to other proxies like Protkey,
/r/Python
https://redd.it/1hx0hz0
# What My Project Does
Arch is an intelligent Layer 7 gateway (proxy) designed to protect, observe, and personalize AI agents with your APIs. The project was born out of the belief that: Prompts are nuanced and opaque user requests, which require the same capabilities as traditional HTTP requests including secure handling, intelligent routing, robust observability, and integration with backend (API) systems for personalization - all outside business logic.
Check out the project here: https://github.com/katanemo/archgw Ask me anything.
# Target Audience
Meant to help developers building AI Agents in production with safety, observablity and personalization features needed for differentiation. Focus on the stuff that matters, not the crufty work to get agents into production.
# Comparison
Compared to NGINX, HAProxy, Envoy - Arch Gateway was designed for prompts. Engineered with purpose-built small LLMs, Arch handles the critical but undifferentiated tasks related to the handling and processing of prompts, including detecting and rejecting jailbreak attempts, intelligently calling "backend" APIs to fulfill the user's request represented in a prompt, routing to and offering disaster recovery between upstream LLMs, and managing the observability of prompts and LLM API calls - outside application code so that you can focus on what matters most
Compared to other proxies like Protkey,
/r/Python
https://redd.it/1hx0hz0
Cloudflare
What is layer 7? | How layer 7 of the Internet works | Cloudflare
Learn what layer 7 of the OSI Model is, how it interacts with the other OSI Model layers, and how the OSI Model differs from the TCP/IP model of the Internet.
Robust Full-Stack Authentication with Django Allauth, React, and React Router
https://joshkaramuth.com/blog/django-allauth-react/
/r/djangolearning
https://redd.it/1hwkl6a
https://joshkaramuth.com/blog/django-allauth-react/
/r/djangolearning
https://redd.it/1hwkl6a
Joshkaramuth
Robust Full-Stack Authentication with Django Allauth, React, and React Router
Learn how to integrate django-allauth with React for a powerful and easy authentication system.
ModuleNotFoundError (noob tutorial for DO droplet)
I'm just learning Linux and this is my first time setting up a server. I've got a DigitalOcean droplet and installed Ubuntu 24.04 (LTS) x64. Got SSH and firewall up and running and added a domain. So it was time to get Flask installed and move my site over from the DO App Platform.
Step 1
I'm following this tutorial (from 2013!) on DO's site: How To Deploy a Flask Application on an Ubuntu VPS. I'm also following along with this YouTube that's a bit more recent that follows DO's tutorial.
Step 2
Everything was fine until I got to
I got error: externally-managed-environment. After a bunch of googling and troubleshooting, I used
Step 3
Next steps
Step 4
> error: externally-managed-environment
> × This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
/r/flask
https://redd.it/1hx5nui
I'm just learning Linux and this is my first time setting up a server. I've got a DigitalOcean droplet and installed Ubuntu 24.04 (LTS) x64. Got SSH and firewall up and running and added a domain. So it was time to get Flask installed and move my site over from the DO App Platform.
Step 1
I'm following this tutorial (from 2013!) on DO's site: How To Deploy a Flask Application on an Ubuntu VPS. I'm also following along with this YouTube that's a bit more recent that follows DO's tutorial.
Step 2
Everything was fine until I got to
sudo pip3 install virtualenv. I got error: externally-managed-environment. After a bunch of googling and troubleshooting, I used
sudo pip3 install virtualenv --break-system-packages to install it. And it installed.Step 3
Next steps
sudo virtualenv venv followed by source venv/bin/activate went fine. But then... Step 4
(venv) sudo pip3 install Flask resulted in: > error: externally-managed-environment
> × This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
/r/flask
https://redd.it/1hx5nui
Digitalocean
How To Deploy a Flask Application on an Ubuntu VPS | DigitalOcean
Here’s our guide on deploying a flask app on an Ubuntu VPS.
We made an open source web-app to self-host your documents and interact with them using LLMs
Hi everyone, our team are happy to share our hobby project `Kotaemon` \- an open-source web app to organize and chat with your document collections privately.
[https://github.com/Cinnamon/kotaemon](https://github.com/Cinnamon/kotaemon)
# Live demos
[https://cin-model-kotaemon.hf.space](https://cin-model-kotaemon.hf.space/) (demo space for QA on academic paper collection).
[https://huggingface.co/spaces/cin-model/kotaemon-demo](https://huggingface.co/spaces/cin-model/kotaemon-demo) (static UI demo on HuggingFace space).
# Key features (what we think that it is special):
* **Clean & minimalistic UI.** Support Dark/Light mode and responsive UI.
* **Support multi-users**. Users can be managed directly on the web UI. Files can be organized to Public / Private collections. Share your chat conversation with others for collaboration!
* **Multi-modal QA support**. Ask question on documents with tables / figures or images as you do with normal text documents. Visualize knowledge-graph and mindmap upon retrieval process.
* **Advance citations support.** Preview citation with highlight directly on *in-browser PDF viewer*. Perform QA on any sub-set of documents, with relevant score from AI models.
* **Complex question solving.** Use Chain-of-Thought (CoT) reasoning mode to break down and solve complex questions step-by-step.
We provide multiple installation options: Docker image, local setup script, one-click deployment template on private cloud (HuggingFace space): [https://cinnamon.github.io/kotaemon/](https://cinnamon.github.io/kotaemon/)
We'd love to hear your feedback and thoughts. Cheers!
/r/Python
https://redd.it/1hx3qcl
Hi everyone, our team are happy to share our hobby project `Kotaemon` \- an open-source web app to organize and chat with your document collections privately.
[https://github.com/Cinnamon/kotaemon](https://github.com/Cinnamon/kotaemon)
# Live demos
[https://cin-model-kotaemon.hf.space](https://cin-model-kotaemon.hf.space/) (demo space for QA on academic paper collection).
[https://huggingface.co/spaces/cin-model/kotaemon-demo](https://huggingface.co/spaces/cin-model/kotaemon-demo) (static UI demo on HuggingFace space).
# Key features (what we think that it is special):
* **Clean & minimalistic UI.** Support Dark/Light mode and responsive UI.
* **Support multi-users**. Users can be managed directly on the web UI. Files can be organized to Public / Private collections. Share your chat conversation with others for collaboration!
* **Multi-modal QA support**. Ask question on documents with tables / figures or images as you do with normal text documents. Visualize knowledge-graph and mindmap upon retrieval process.
* **Advance citations support.** Preview citation with highlight directly on *in-browser PDF viewer*. Perform QA on any sub-set of documents, with relevant score from AI models.
* **Complex question solving.** Use Chain-of-Thought (CoT) reasoning mode to break down and solve complex questions step-by-step.
We provide multiple installation options: Docker image, local setup script, one-click deployment template on private cloud (HuggingFace space): [https://cinnamon.github.io/kotaemon/](https://cinnamon.github.io/kotaemon/)
We'd love to hear your feedback and thoughts. Cheers!
/r/Python
https://redd.it/1hx3qcl
GitHub
GitHub - Cinnamon/kotaemon: An open-source RAG-based tool for chatting with your documents.
An open-source RAG-based tool for chatting with your documents. - Cinnamon/kotaemon
D Why does training LLMs suck so much?
I work in hardware acceleration and have been slowly trying to move my focus into LLM/GenAI acceleration, but training LLMs literally sucks so much... Even just 100M parameter ones takes forever on 4 A6000 Adas, and while I don't spend idle time watching these, it gets so frustrating having to retrain realizing the LR is too high or some other small issue preventing convergence or general causal language understanding...
I know the more you do something, the better you get at it, but as a GRA by myself with an idea I want to implement, I truly feel that the overhead to train even a small LM is far from worth the time and care you have to put in
It just sucks because deadlines are always coming, and once you're done with pretraining, you still have to fine-tune and likely do some kind of outlier-aware quantization or even train LoRA adapters for higher accuracy
I really hope to never do pretraining again, but needing a model that abides to your specific size constraints to fit into (for example) your NPU's scratchpad RAM means I'm always stuck pretraining
Hopefully in the future, I can have undergrads do my pretraining for me, but for
/r/MachineLearning
https://redd.it/1hx6q8r
I work in hardware acceleration and have been slowly trying to move my focus into LLM/GenAI acceleration, but training LLMs literally sucks so much... Even just 100M parameter ones takes forever on 4 A6000 Adas, and while I don't spend idle time watching these, it gets so frustrating having to retrain realizing the LR is too high or some other small issue preventing convergence or general causal language understanding...
I know the more you do something, the better you get at it, but as a GRA by myself with an idea I want to implement, I truly feel that the overhead to train even a small LM is far from worth the time and care you have to put in
It just sucks because deadlines are always coming, and once you're done with pretraining, you still have to fine-tune and likely do some kind of outlier-aware quantization or even train LoRA adapters for higher accuracy
I really hope to never do pretraining again, but needing a model that abides to your specific size constraints to fit into (for example) your NPU's scratchpad RAM means I'm always stuck pretraining
Hopefully in the future, I can have undergrads do my pretraining for me, but for
/r/MachineLearning
https://redd.it/1hx6q8r
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Cyantic - build complex objects from simple blueprints using pydantic
# What the project does
Cyantic lets you build complex types from simple blueprints in your pydantic models, with type-safety and validation built in.
**https://github.com/flywhl/cyantic**
* Type-safe blueprints with validation, since they are pydantic models.
* Reference other values using `@value:x.y.z`
* Import objects using `@import:x.y.z`
* Load data from environment variables using `@env:VAR`
* Define custom @hook handlers (see tests)
For my work, I have to instantiate a lot of `torch.Tensors`, and I wanted a way to do this from YAML specs (how I specify models). So I built a kind of middleware, which uses intermediary Pydantic models as blueprints, and instantiates them into full objects during pydantic's build process. Now I can pass in parameters (mean and standard deviation), and get a fully-built `Tensor` in a pydantic model.
This is now a library, Cyantic - named after cyanotype photography (i.e. the "blueprint").
# Target Audience
It's clearly useful for science/data-science work, esp as scientists start moving away from `dict`s to use pydantic.
I think this would also be useful for general config management, using the `@hooks` API. You can stitch YAML files together, re-use sections of YAML, etc..
# Comparisons
I haven't looked for alternatives, but would love to hear about other builder/aggregator libraries for pydantic.
/r/Python
https://redd.it/1hxbarx
# What the project does
Cyantic lets you build complex types from simple blueprints in your pydantic models, with type-safety and validation built in.
**https://github.com/flywhl/cyantic**
* Type-safe blueprints with validation, since they are pydantic models.
* Reference other values using `@value:x.y.z`
* Import objects using `@import:x.y.z`
* Load data from environment variables using `@env:VAR`
* Define custom @hook handlers (see tests)
For my work, I have to instantiate a lot of `torch.Tensors`, and I wanted a way to do this from YAML specs (how I specify models). So I built a kind of middleware, which uses intermediary Pydantic models as blueprints, and instantiates them into full objects during pydantic's build process. Now I can pass in parameters (mean and standard deviation), and get a fully-built `Tensor` in a pydantic model.
This is now a library, Cyantic - named after cyanotype photography (i.e. the "blueprint").
# Target Audience
It's clearly useful for science/data-science work, esp as scientists start moving away from `dict`s to use pydantic.
I think this would also be useful for general config management, using the `@hooks` API. You can stitch YAML files together, re-use sections of YAML, etc..
# Comparisons
I haven't looked for alternatives, but would love to hear about other builder/aggregator libraries for pydantic.
/r/Python
https://redd.it/1hxbarx
Homemade LLM Hosting with Two-Way Voice Support using Python, Transformers, Qwen, and Bark
https://herahaven.ai/blog/homemade-llm-hosting-with-two-way-voice-support-using-python-transformers-qwen-and-bark/
/r/Python
https://redd.it/1hxcg8k
https://herahaven.ai/blog/homemade-llm-hosting-with-two-way-voice-support-using-python-transformers-qwen-and-bark/
/r/Python
https://redd.it/1hxcg8k
HeraHaven AI | Blog
Homemade LLM Hosting with Two-Way Voice Support using Python, Transformers, Qwen, and Bark
The integration of LLMs with voice capabilities has created new opportunities in personalized customer interactions.
This guide will walk you through setting up a local LLM server that supports two-way voice interactions using Python, Transformers, Qwen2…
This guide will walk you through setting up a local LLM server that supports two-way voice interactions using Python, Transformers, Qwen2…
I built a "CodePen for Django Templates"
Hi all,
I have built a online Django Template Playground that renders the template in the backend using Django's template engine, letting you even choose which version of Django to use.
It also support creating snippets, which allows sharing of specific template snippets in a cool “try, change & play with it” kind of way.
For example this snippet: https://tech-playground.com/snippet/literate-wonderful-kittiwake/
The whole thing is also a Django app in the background, which I will share some more on in the near future.
/r/django
https://redd.it/1hxbu0f
Hi all,
I have built a online Django Template Playground that renders the template in the backend using Django's template engine, letting you even choose which version of Django to use.
It also support creating snippets, which allows sharing of specific template snippets in a cool “try, change & play with it” kind of way.
For example this snippet: https://tech-playground.com/snippet/literate-wonderful-kittiwake/
The whole thing is also a Django app in the background, which I will share some more on in the near future.
/r/django
https://redd.it/1hxbu0f
tech-playground.com
Django Template Engine Playground
Run and test your Django templates directly in your browser, no setup required!
Full stack online forum project (Django + React).
Built an Online Forum Platform designed to deliver an engaging and dynamic user experience. This platform is built using Django for the backend and ReactJS for the frontend.
# ✨ Key Features:
* **Tags & Questions**: Users can create tags and post questions with detailed descriptions.
* **Interactive Q&A**: Seamless Q&A section where users can answer questions and interact through likes and dislikes.
* **User Authentication**: Only authenticated users can create posts or provide answers, ensuring a secure and engaging community.
* **Real-Time Updates**: Integrated WebSockets for instant notifications when new questions are posted.
* **Search by Tags**: Easily find posts based on specific tags.
* **Pagination**: Smooth navigation for browsing large volumes of content efficiently.
# 🔑 Tech Stack:
* **Backend**: Django
* **Frontend**: ReactJS
* **Real-Time Updates**: WebSockets
**Note**: The backend is deployed using Render's free plan, which may cause a delay of 50 seconds or more for requests.
Your suggestions and feedback are always welcome. Thank you!
Guide: Do signup then login then you can create tags and posts.
Link is in the comment =>>>>>>>
/r/djangolearning
https://redd.it/1hxdhxr
Built an Online Forum Platform designed to deliver an engaging and dynamic user experience. This platform is built using Django for the backend and ReactJS for the frontend.
# ✨ Key Features:
* **Tags & Questions**: Users can create tags and post questions with detailed descriptions.
* **Interactive Q&A**: Seamless Q&A section where users can answer questions and interact through likes and dislikes.
* **User Authentication**: Only authenticated users can create posts or provide answers, ensuring a secure and engaging community.
* **Real-Time Updates**: Integrated WebSockets for instant notifications when new questions are posted.
* **Search by Tags**: Easily find posts based on specific tags.
* **Pagination**: Smooth navigation for browsing large volumes of content efficiently.
# 🔑 Tech Stack:
* **Backend**: Django
* **Frontend**: ReactJS
* **Real-Time Updates**: WebSockets
**Note**: The backend is deployed using Render's free plan, which may cause a delay of 50 seconds or more for requests.
Your suggestions and feedback are always welcome. Thank you!
Guide: Do signup then login then you can create tags and posts.
Link is in the comment =>>>>>>>
/r/djangolearning
https://redd.it/1hxdhxr
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Python in DevOps: My Favorite Tools
Hey! 👋
I rely on Python to do a lot of Ops / DevOps-type automation: automate workflows, create dashboards, manage infrastructure, and build helpful tools. Over time, I’ve found some Python-based approaches that make these tasks much easier and more efficient. Here’s what I use:
Custom dashboards with Flask and Prometheus Client
Automating workflows Schedule, then RQ, then finally Airflow
Network analysis with Scapy
Click / Typer / Rich for CLI (Starting with Click, but always moving past it at some point)
And, of course, a bunch more.
I made a list here:
https://www.pulumi.com/blog/python-for-devops/
Then, for fun, I tried to use Python for everything in a single service - using dagger for the container and pulumi for the Infra. ( I work for pulumi bc I'm a big fan of being able to use Python this way :) )
Code: https://github.com/adamgordonbell/service-status-monitor
What am I missing in my list?
/r/Python
https://redd.it/1hxjv2o
Hey! 👋
I rely on Python to do a lot of Ops / DevOps-type automation: automate workflows, create dashboards, manage infrastructure, and build helpful tools. Over time, I’ve found some Python-based approaches that make these tasks much easier and more efficient. Here’s what I use:
Custom dashboards with Flask and Prometheus Client
Automating workflows Schedule, then RQ, then finally Airflow
Network analysis with Scapy
Click / Typer / Rich for CLI (Starting with Click, but always moving past it at some point)
And, of course, a bunch more.
I made a list here:
https://www.pulumi.com/blog/python-for-devops/
Then, for fun, I tried to use Python for everything in a single service - using dagger for the container and pulumi for the Infra. ( I work for pulumi bc I'm a big fan of being able to use Python this way :) )
Code: https://github.com/adamgordonbell/service-status-monitor
What am I missing in my list?
/r/Python
https://redd.it/1hxjv2o
pulumi
Top 15 Python Tools for DevOps
From quick fixes to scalable enterprise solutions—explore 15 essential Python tools for automation, monitoring, and cloud deployment.
Deep dive into Python on a plane
Keep meaning to learn how to use Python but never found the time. I am due to have a long flight in a few days and my plan is to deep dive into it.
Any resources that I should download in advance?
I have Youtube video so send me on any recommends.
Already have "How to automate the boring stuff" , "pythonlearn" and "thinkpython2"
Wish me luck :)
/r/Python
https://redd.it/1hxlm9s
Keep meaning to learn how to use Python but never found the time. I am due to have a long flight in a few days and my plan is to deep dive into it.
Any resources that I should download in advance?
I have Youtube video so send me on any recommends.
Already have "How to automate the boring stuff" , "pythonlearn" and "thinkpython2"
Wish me luck :)
/r/Python
https://redd.it/1hxlm9s
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
I have a question
is there a way when writing the helper text to make text associated with an argument show bold when that argument is active? for example
https://preview.redd.it/mi75onaig1ce1.png?width=777&format=png&auto=webp&s=de7916246ce4b51efbfef4e255626834a62dc975
/r/django
https://redd.it/1hxo5ub
is there a way when writing the helper text to make text associated with an argument show bold when that argument is active? for example
:param option_id: integer or string representation of an integer for an option ID in the picture shown herehttps://preview.redd.it/mi75onaig1ce1.png?width=777&format=png&auto=webp&s=de7916246ce4b51efbfef4e255626834a62dc975
/r/django
https://redd.it/1hxo5ub
Friday Daily Thread: r/Python Meta and Free-Talk Fridays
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1hxr7g3
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1hxr7g3
Redditinc
Reddit Rules
Reddit Rules - Reddit
Automating video reframing in python
So I'm on a quest to automate video editing for my youtube channel as much as possible. Currently I'm trying to build a program that would basically auto reframe a horizontal video to a vertical one (from 16:9 to 9:16) while also keeping the speakers head in the frame. I tried resolving this with openCv library with the help of claude and chatgpt but it leads to a dead end. I'm simply stuck and don't know any alternatives because there's not much info on this problem.
Do you guys know a library i could use for this that I maybe haven't heard of? Maybe I'm overcomplicating and there's a software that does this for free, I find filmora's automatic reframing perfect but not sure if they'll block it off once my trial runs out.
/r/Python
https://redd.it/1hxnpki
So I'm on a quest to automate video editing for my youtube channel as much as possible. Currently I'm trying to build a program that would basically auto reframe a horizontal video to a vertical one (from 16:9 to 9:16) while also keeping the speakers head in the frame. I tried resolving this with openCv library with the help of claude and chatgpt but it leads to a dead end. I'm simply stuck and don't know any alternatives because there's not much info on this problem.
Do you guys know a library i could use for this that I maybe haven't heard of? Maybe I'm overcomplicating and there's a software that does this for free, I find filmora's automatic reframing perfect but not sure if they'll block it off once my trial runs out.
/r/Python
https://redd.it/1hxnpki
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
I added a prediction results page to my Python football (Premier League soccer) prediction page.
A while ago I made a football predictor in Python to predict Premier League football results.
Original thread
The page would show predictions for the next 30 days of football matches and stay updated throughout the season. It uses a Gaussian Naive Bayes model to predict results based on past data. It uses the data from the 2021-2024 seasons.
Tonight I've added a page that shows how well the predictor has been performing over the season. It pulls the season's results from the BBC and compares its predictions to the results. You can see on the site the correct predictions in green and incorrect predictions in red.
Prediction results page: https://www.jimmyrustles.com/football/results
Original prediction page: https://www.jimmyrustles.com/football
Github repo: https://github.com/sgriffin53/footballpredictorflask
What My Project Does
The original project shows football predictions for the current season. This page shows how well the predictor is performing for the current season. It allows me to see which results were correct at a glance as it's colour coded.
Target Audience (e.g., Is it meant for production, just a toy project, etc.
This is mostly for me and my friend Jay, as we've been using it to bet on games (though its accuracy isn't great). The football prediction page gets about 10-15 human visitors a day, so
/r/Python
https://redd.it/1hxtc13
A while ago I made a football predictor in Python to predict Premier League football results.
Original thread
The page would show predictions for the next 30 days of football matches and stay updated throughout the season. It uses a Gaussian Naive Bayes model to predict results based on past data. It uses the data from the 2021-2024 seasons.
Tonight I've added a page that shows how well the predictor has been performing over the season. It pulls the season's results from the BBC and compares its predictions to the results. You can see on the site the correct predictions in green and incorrect predictions in red.
Prediction results page: https://www.jimmyrustles.com/football/results
Original prediction page: https://www.jimmyrustles.com/football
Github repo: https://github.com/sgriffin53/footballpredictorflask
What My Project Does
The original project shows football predictions for the current season. This page shows how well the predictor is performing for the current season. It allows me to see which results were correct at a glance as it's colour coded.
Target Audience (e.g., Is it meant for production, just a toy project, etc.
This is mostly for me and my friend Jay, as we've been using it to bet on games (though its accuracy isn't great). The football prediction page gets about 10-15 human visitors a day, so
/r/Python
https://redd.it/1hxtc13
Reddit
From the Python community on Reddit
Explore this post and more from the Python community