lblprof: Easily see your python code’s performance, Line by Line
Hello [r/Python](https://www.reddit.com/r/Python/),
I built this small python package ([lblprof](https://github.com/le-codeur-rapide/lblprof)) because I needed it for other projects optimization (also just for fun haha) and **I would love to have some feedback on it.**
# What my project Does ?
The goal is to be able to know very quickly how much time was spent on each line during my code execution.
I don't aim to be precise at the nano second like other lower level profiling tool, but I really care at seeing **easily** where my 100s of milliseconds are spent. I built this project to replace the old good `print(start - time.time())` that I was abusing.
This package profile your code and display a tree in the terminal showing the duration of each line (you can expand each call to display the duration of each line in this frame)
Example of the terminal UI: [terminalui\_showcase.png (1210×523)](https://raw.githubusercontent.com/le-codeur-rapide/lblprof/refs/heads/main/docs/terminalui_showcase.png)
# Target Audience
Devs who want a quick insight into how their code’s execution time is distributed. (what are the longest lines ? Does the concurrence work ? Which of these imports is taking so much time ? ...)
# Installation
pip install lblprof
The only dependency of this package is pydantic, the rest is standard library.
# Usage
This package contains **4 main functions**:
* `start_tracing()`: Start the tracing of
/r/Python
https://redd.it/1ka71qs
Hello [r/Python](https://www.reddit.com/r/Python/),
I built this small python package ([lblprof](https://github.com/le-codeur-rapide/lblprof)) because I needed it for other projects optimization (also just for fun haha) and **I would love to have some feedback on it.**
# What my project Does ?
The goal is to be able to know very quickly how much time was spent on each line during my code execution.
I don't aim to be precise at the nano second like other lower level profiling tool, but I really care at seeing **easily** where my 100s of milliseconds are spent. I built this project to replace the old good `print(start - time.time())` that I was abusing.
This package profile your code and display a tree in the terminal showing the duration of each line (you can expand each call to display the duration of each line in this frame)
Example of the terminal UI: [terminalui\_showcase.png (1210×523)](https://raw.githubusercontent.com/le-codeur-rapide/lblprof/refs/heads/main/docs/terminalui_showcase.png)
# Target Audience
Devs who want a quick insight into how their code’s execution time is distributed. (what are the longest lines ? Does the concurrence work ? Which of these imports is taking so much time ? ...)
# Installation
pip install lblprof
The only dependency of this package is pydantic, the rest is standard library.
# Usage
This package contains **4 main functions**:
* `start_tracing()`: Start the tracing of
/r/Python
https://redd.it/1ka71qs
Reddit
Python
The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language.
---
If you have questions or are new to Python use r/LearnPython
---
If you have questions or are new to Python use r/LearnPython
Django Alerts with Google Chat
https://medium.com/me/stats/post/c9e8a033a229
/r/django
https://redd.it/1kaj7gi
https://medium.com/me/stats/post/c9e8a033a229
/r/django
https://redd.it/1kaj7gi
Some security in LLM based apps
Hi everyone!
I'm excited to share a project I've been working on: Resk-LLM, a Python library designed to enhance the security of applications based on Large Language Models (LLMs) like OpenAI, Anthropic, Cohere, and others.
## What My Project Does
Resk-LLM focuses on adding a protective layer to LLM interactions, helping developers experiment with strategies to mitigate risks like prompt injection, data leaks, and content moderation challenges.
🔗 GitHub Repository: https://github.com/Resk-Security/Resk-LLM
## Motivation
As LLMs become more integrated into apps, security challenges like prompt injection, data leakage, and manipulation attacks have become serious concerns.
However, many developers lack accessible tools to experiment with LLM security mechanisms easily.
While some solutions exist, they are often closed-source, narrowly scoped, or too tied to a single provider.
I built Resk-LLM to make it easier for developers to prototype, test, and understand LLM vulnerabilities and defenses — with a focus on transparency, flexibility, and multi-provider support.
The project is still experimental and intended for learning and prototyping, not production-grade security yet — but I'm excited to open it up for feedback and contributions.
## Target Audience
Resk-LLM is aimed at:
Developers building LLM-based applications who want to explore basic security protections.
Security researchers interested in LLM attack surface exploration.
Hobbyists or students learning about the security challenges of generative
/r/Python
https://redd.it/1kahx5r
Hi everyone!
I'm excited to share a project I've been working on: Resk-LLM, a Python library designed to enhance the security of applications based on Large Language Models (LLMs) like OpenAI, Anthropic, Cohere, and others.
## What My Project Does
Resk-LLM focuses on adding a protective layer to LLM interactions, helping developers experiment with strategies to mitigate risks like prompt injection, data leaks, and content moderation challenges.
🔗 GitHub Repository: https://github.com/Resk-Security/Resk-LLM
## Motivation
As LLMs become more integrated into apps, security challenges like prompt injection, data leakage, and manipulation attacks have become serious concerns.
However, many developers lack accessible tools to experiment with LLM security mechanisms easily.
While some solutions exist, they are often closed-source, narrowly scoped, or too tied to a single provider.
I built Resk-LLM to make it easier for developers to prototype, test, and understand LLM vulnerabilities and defenses — with a focus on transparency, flexibility, and multi-provider support.
The project is still experimental and intended for learning and prototyping, not production-grade security yet — but I'm excited to open it up for feedback and contributions.
## Target Audience
Resk-LLM is aimed at:
Developers building LLM-based applications who want to explore basic security protections.
Security researchers interested in LLM attack surface exploration.
Hobbyists or students learning about the security challenges of generative
/r/Python
https://redd.it/1kahx5r
GitHub
GitHub - Resk-Security/Resk-LLM: Resk is a robust Python library designed to enhance security and manage context when interacting…
Resk is a robust Python library designed to enhance security and manage context when interacting with LLMs. It provides a protective layer for API calls, safeguarding against common vulnerabili...
Implementing a confirmation view after a form submission
Hi everyone,
I'm very new to Django and web development. I have a simple form where a user can enter a list of data, say names. Since the user isn't savvy with SQL, I want the app to basically update some rows in our database based on the list. But before the changes are written to the database, I want there to be a view which basically shows what the user entered into the form. So here's the interface/sequence I'm trying to implement:
1. User is presented with a textbox which allows them to submit a list, eg "Bob, John"
2. Django app presents the user with a summary of the input and asks them to confirm, eg "you have entered 2 names, double check that this is correct". If the database doesn't know about Bob or John, then this is when it would notify the user.
3. The Django app performs the relevant update
I've been researching this online and I'm seeing different recommendations. The simplest solution seems to be to have a confirmation view which has a hidden input with the same data as the original form? But then wouldn't the app be processing the input data twice? Do you guys have
/r/django
https://redd.it/1kanhms
Hi everyone,
I'm very new to Django and web development. I have a simple form where a user can enter a list of data, say names. Since the user isn't savvy with SQL, I want the app to basically update some rows in our database based on the list. But before the changes are written to the database, I want there to be a view which basically shows what the user entered into the form. So here's the interface/sequence I'm trying to implement:
1. User is presented with a textbox which allows them to submit a list, eg "Bob, John"
2. Django app presents the user with a summary of the input and asks them to confirm, eg "you have entered 2 names, double check that this is correct". If the database doesn't know about Bob or John, then this is when it would notify the user.
3. The Django app performs the relevant update
I've been researching this online and I'm seeing different recommendations. The simplest solution seems to be to have a confirmation view which has a hidden input with the same data as the original form? But then wouldn't the app be processing the input data twice? Do you guys have
/r/django
https://redd.it/1kanhms
Reddit
From the django community on Reddit
Explore this post and more from the django community
RYLR: Python Library for Lora uart modules
Hi, RYLR is a simple python library to work with the RYLR896/406 modules. It can be use for configuration of the modules, send message and receive messages from the module.
What does it do:
Configuration modules
Get Configuration data from modules
Send message
Receive messages from module
Target Audience?
Developers working with rylr897/406 modules
Comparison?
Currently there isn't a library for this task
/r/Python
https://redd.it/1kak4r7
Hi, RYLR is a simple python library to work with the RYLR896/406 modules. It can be use for configuration of the modules, send message and receive messages from the module.
What does it do:
Configuration modules
Get Configuration data from modules
Send message
Receive messages from module
Target Audience?
Developers working with rylr897/406 modules
Comparison?
Currently there isn't a library for this task
/r/Python
https://redd.it/1kak4r7
GitHub
GitHub - Michael-Jalloh/RYLR: Python library for RYLR LoRa transceivers to simplifies communication with RYLR modules using Python
Python library for RYLR LoRa transceivers to simplifies communication with RYLR modules using Python - Michael-Jalloh/RYLR
[P] hacking on graph-grounded retrieval for SEC filings + an AI “legal pen-tester”—looking for feedback & maybe collaborators
Hey ML friends,
Quick intro: I’m an ex-BigLaw attorney turned founder. For the past few months I’ve been teaching myself anything AI/ML, and prototyping two related ideas and would love your thoughts (or a sanity check):
1. **Graph-first ingestion & retrieval**
* Take 300-page SEC filings → normalise tables, footnotes, exhibits → emit embedding JSON-L/markdown representations .
* Goal: 50 ms query latency over the whole doc with traceable citations.
* Current status: building a patent-pending pipeline
2. **Legal pen-testing RAG loop**
* Corpus: 40 yrs of SEC enforcement actions + 400 class-action complaints.
* Potential work thrusts: For any draft disclosure, rank sentences by estimated Rule 10b-5 litigation lift and suggest rewrites with supporting precedent.
All in all, we are playing with long-context retrieval. Need to push a retrieval encoder beyond today's oken window so an entire listing document fits in a single pass. This might include extending the LoCo/M2-BERT playbook potentially to pull the right spans from full-length filings (tens-of-thousands of tokens) without brittle chunking. We are also experimenting with some scaffolding techniques to approximate infinite context window. Not an expert in this so would love to hear your thoughts on best
/r/MachineLearning
https://redd.it/1kag8w2
Hey ML friends,
Quick intro: I’m an ex-BigLaw attorney turned founder. For the past few months I’ve been teaching myself anything AI/ML, and prototyping two related ideas and would love your thoughts (or a sanity check):
1. **Graph-first ingestion & retrieval**
* Take 300-page SEC filings → normalise tables, footnotes, exhibits → emit embedding JSON-L/markdown representations .
* Goal: 50 ms query latency over the whole doc with traceable citations.
* Current status: building a patent-pending pipeline
2. **Legal pen-testing RAG loop**
* Corpus: 40 yrs of SEC enforcement actions + 400 class-action complaints.
* Potential work thrusts: For any draft disclosure, rank sentences by estimated Rule 10b-5 litigation lift and suggest rewrites with supporting precedent.
All in all, we are playing with long-context retrieval. Need to push a retrieval encoder beyond today's oken window so an entire listing document fits in a single pass. This might include extending the LoCo/M2-BERT playbook potentially to pull the right spans from full-length filings (tens-of-thousands of tokens) without brittle chunking. We are also experimenting with some scaffolding techniques to approximate infinite context window. Not an expert in this so would love to hear your thoughts on best
/r/MachineLearning
https://redd.it/1kag8w2
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Descriptive statistics in Python
This tutorial explains about measures of shape and association in descriptive statistics with python
https://youtu.be/iBUbDU8iGro?si=Cyhmr0Gy3J68rMOr
/r/Python
https://redd.it/1kao9lg
This tutorial explains about measures of shape and association in descriptive statistics with python
https://youtu.be/iBUbDU8iGro?si=Cyhmr0Gy3J68rMOr
/r/Python
https://redd.it/1kao9lg
YouTube
Descriptive Statistics in Python - Part 2
This video is part 2 tutorial of Descriptive Statistics in Python. This tutorial explains measures of shape(skewness, kurtosis) and measures of association(covariance, correlation) of descriptive statistics.
Other interesting videos:
Link for Statistics…
Other interesting videos:
Link for Statistics…
Bring Python 3.10’s match/case to 3.7+ with patterna
# Python Structural Pattern Matching for 3.7+
Patterna is a pure Python library that backports the structural pattern matching functionality (match/case statements) introduced in Python 3.10 to earlier Python versions (3.7 and above). It provides a decorator-based approach to enable pattern matching in your code without requiring Python 3.10.
# Installation
pip3 install patterna
# GitHub, PyPI, Docs
GitHub: saadman/patterna
PyPI: patterna/0.1.0.dev1/
(Post edited for those who wants more context into the inner workings)
Wiki For those Further interested in the inner workings: https://deepwiki.com/saadmanrafat/patterna
# Usage
from patterna import match
class Point:
matchargs = ("x", "y")
def init(self, x, y):
self.x = x
self.y = y
u/match
def describepoint(point):
match point:
case Point(0, 0):
/r/Python
https://redd.it/1kardx9
# Python Structural Pattern Matching for 3.7+
Patterna is a pure Python library that backports the structural pattern matching functionality (match/case statements) introduced in Python 3.10 to earlier Python versions (3.7 and above). It provides a decorator-based approach to enable pattern matching in your code without requiring Python 3.10.
# Installation
pip3 install patterna
# GitHub, PyPI, Docs
GitHub: saadman/patterna
PyPI: patterna/0.1.0.dev1/
(Post edited for those who wants more context into the inner workings)
Wiki For those Further interested in the inner workings: https://deepwiki.com/saadmanrafat/patterna
# Usage
from patterna import match
class Point:
matchargs = ("x", "y")
def init(self, x, y):
self.x = x
self.y = y
u/match
def describepoint(point):
match point:
case Point(0, 0):
/r/Python
https://redd.it/1kardx9
GitHub
GitHub - saadmanrafat/patterna: Simple, flexible pattern matching for Python 3.7+, inspired by match/case.
Simple, flexible pattern matching for Python 3.7+, inspired by match/case. - saadmanrafat/patterna
Python projects for beginners
Hello,
I'm very new to Python and looking beginner friendly tasks for practice.
I don't have any idea what I could prgramm.
I know you can use Python for practically everything.
My interest is programming a calculator or a game.
I've already asked chat gpt for ideas but it gives you the codes to cooy but that's no very helpful.
Do you have any ideas which codes helped you?
Are there good sites you could recomment?
Thanks
/r/Python
https://redd.it/1kat5bh
Hello,
I'm very new to Python and looking beginner friendly tasks for practice.
I don't have any idea what I could prgramm.
I know you can use Python for practically everything.
My interest is programming a calculator or a game.
I've already asked chat gpt for ideas but it gives you the codes to cooy but that's no very helpful.
Do you have any ideas which codes helped you?
Are there good sites you could recomment?
Thanks
/r/Python
https://redd.it/1kat5bh
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
What is lightweight framework means in context of flask
What exactly lightweight framework means always heard that throughout various yt videos and documentation about flask that flask is a lightweight framework.
My question is flasks can't create big websites or web application as compared to django or nodejs ..
/r/flask
https://redd.it/1kat0pw
What exactly lightweight framework means always heard that throughout various yt videos and documentation about flask that flask is a lightweight framework.
My question is flasks can't create big websites or web application as compared to django or nodejs ..
/r/flask
https://redd.it/1kat0pw
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
How to go from Mid Level to Senior / Expert Django Python developer
I am developing django, python, postgreSQL projects more than couple of years now. I will not consider myself as a fresher or junior in my job But how can I go forward to become senior, expert level?
From your experience, what are the best ways to develop this kind of mindset and skill set? How can I effectively reason about complex system design and architecture? Are there particular resources, practices, or ways of thinking that have helped you transition from a competent developer to a senior or expert level?
I would greatly appreciate any advice, insights, or recommendations.
/r/django
https://redd.it/1karcb5
I am developing django, python, postgreSQL projects more than couple of years now. I will not consider myself as a fresher or junior in my job But how can I go forward to become senior, expert level?
From your experience, what are the best ways to develop this kind of mindset and skill set? How can I effectively reason about complex system design and architecture? Are there particular resources, practices, or ways of thinking that have helped you transition from a competent developer to a senior or expert level?
I would greatly appreciate any advice, insights, or recommendations.
/r/django
https://redd.it/1karcb5
Reddit
From the django community on Reddit
Explore this post and more from the django community
What is learning curve in flask
I have started flask but I did not found any good video I am confused what to learn
Like there is so many things you have to do in flask
To start
Like libraries,
Request
Url_for
redirected
werkzeug
login library
etc..
I want the learning curve to which library and for what
/r/flask
https://redd.it/1kan3ae
I have started flask but I did not found any good video I am confused what to learn
Like there is so many things you have to do in flask
To start
Like libraries,
Request
Url_for
redirected
werkzeug
login library
etc..
I want the learning curve to which library and for what
/r/flask
https://redd.it/1kan3ae
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Wednesday Daily Thread: Beginner questions
# Weekly Thread: Beginner Questions 🐍
Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.
## How it Works:
1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
2. Community Support: Get answers and advice from the community.
3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.
## Guidelines:
This thread is specifically for beginner questions. For more advanced queries, check out our [Advanced Questions Thread](#advanced-questions-thread-link).
## Recommended Resources:
If you don't receive a response, consider exploring r/LearnPython or join the Python Discord Server for quicker assistance.
## Example Questions:
1. What is the difference between a list and a tuple?
2. How do I read a CSV file in Python?
3. What are Python decorators and how do I use them?
4. How do I install a Python package using pip?
5. What is a virtual environment and why should I use one?
Let's help each other learn Python! 🌟
/r/Python
https://redd.it/1kb2vim
# Weekly Thread: Beginner Questions 🐍
Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.
## How it Works:
1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
2. Community Support: Get answers and advice from the community.
3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.
## Guidelines:
This thread is specifically for beginner questions. For more advanced queries, check out our [Advanced Questions Thread](#advanced-questions-thread-link).
## Recommended Resources:
If you don't receive a response, consider exploring r/LearnPython or join the Python Discord Server for quicker assistance.
## Example Questions:
1. What is the difference between a list and a tuple?
2. How do I read a CSV file in Python?
3. What are Python decorators and how do I use them?
4. How do I install a Python package using pip?
5. What is a virtual environment and why should I use one?
Let's help each other learn Python! 🌟
/r/Python
https://redd.it/1kb2vim
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
server error 500 after depolying on railway
from pathlib import Path
import os
from dotenv import load_dotenv
import dj_database_url
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
load_dotenv()
# testing git
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-3b^6!pu6k5=&s#x^gi7l6^v*(^9mfhw3y+2^owx605$qgekv-e'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
if os.environ.get("ENVIRONMENT") == "production":
ALLOWED_HOSTS = ["ecommerce-production-30e6.up.railway.app","www.elbencs.com","elbencs.com"]
CSRF_TRUSTED_ORIGINS = ["https://ecommerce-production-30e6.up.railway.app","https://elbencs.com","https://www.elbencs.com"]
DEBUG = False
else:
ALLOWED_HOSTS = ["*"]
# Application definition
/r/djangolearning
https://redd.it/1kaojmd
from pathlib import Path
import os
from dotenv import load_dotenv
import dj_database_url
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
load_dotenv()
# testing git
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-3b^6!pu6k5=&s#x^gi7l6^v*(^9mfhw3y+2^owx605$qgekv-e'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
if os.environ.get("ENVIRONMENT") == "production":
ALLOWED_HOSTS = ["ecommerce-production-30e6.up.railway.app","www.elbencs.com","elbencs.com"]
CSRF_TRUSTED_ORIGINS = ["https://ecommerce-production-30e6.up.railway.app","https://elbencs.com","https://www.elbencs.com"]
DEBUG = False
else:
ALLOWED_HOSTS = ["*"]
# Application definition
/r/djangolearning
https://redd.it/1kaojmd
Django Project
Deployment checklist | Django documentation
The web framework for perfectionists with deadlines.
Are the CS50 Courses on YouTube actually helpful?
I still see people recommending the CS50 python courses, especially the Harvard Introduction to Computer Science one, and I noticed that the entire lectures are available for free on YouTube.
To anyone who has done them — how helpful did you find the course? Did it actually give you a good foundation in computer science or python in general?
I’m trying to figure out if it’s worth investing the time, or if there are better alternatives out there for beginners. Any insights or experiences would be appreciated!
/r/Python
https://redd.it/1kaxyu6
I still see people recommending the CS50 python courses, especially the Harvard Introduction to Computer Science one, and I noticed that the entire lectures are available for free on YouTube.
To anyone who has done them — how helpful did you find the course? Did it actually give you a good foundation in computer science or python in general?
I’m trying to figure out if it’s worth investing the time, or if there are better alternatives out there for beginners. Any insights or experiences would be appreciated!
/r/Python
https://redd.it/1kaxyu6
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Dango Signals Part 2
Surely you must be aware of the ubiquitous design pattern called the **Observer Pattern**, which is often used to implement a signaling mechanism? For your benefit, here's a simple explanation:
This pattern allows an object (the subject) to maintain a list of its dependents (observers) and notify them automatically of any state changes, usually by calling one of their methods. This is particularly useful in scenarios where you want to **decouple** the components of your application.
**Subject**:
The object that holds the *state* and notifies observers about changes. It maintains a list of observers and provides methods to attach and detach them.
**Observer**:
An **interface or abstract class** that defines the method(s) that will be called when the subject's state changes.
**Concrete Subject:**
A class that implements the Subject interface and **notifies** observers of changes.
**Concrete Observer:**
A class that implements the Observer interface and defines the action to be taken when **notified** by the subject.
**Other Related Patterns:**
Event Bus: A more complex implementation that allows for decoupled communication between components, often used in frameworks and libraries.
Signals and Slots: A specific implementation of the Observer pattern used in the Qt framework, where signals are emitted and slots are called in response.
*The Observer Pattern is a powerful way to implement signaling
/r/django
https://redd.it/1kb8hdt
Surely you must be aware of the ubiquitous design pattern called the **Observer Pattern**, which is often used to implement a signaling mechanism? For your benefit, here's a simple explanation:
This pattern allows an object (the subject) to maintain a list of its dependents (observers) and notify them automatically of any state changes, usually by calling one of their methods. This is particularly useful in scenarios where you want to **decouple** the components of your application.
**Subject**:
The object that holds the *state* and notifies observers about changes. It maintains a list of observers and provides methods to attach and detach them.
**Observer**:
An **interface or abstract class** that defines the method(s) that will be called when the subject's state changes.
**Concrete Subject:**
A class that implements the Subject interface and **notifies** observers of changes.
**Concrete Observer:**
A class that implements the Observer interface and defines the action to be taken when **notified** by the subject.
**Other Related Patterns:**
Event Bus: A more complex implementation that allows for decoupled communication between components, often used in frameworks and libraries.
Signals and Slots: A specific implementation of the Observer pattern used in the Qt framework, where signals are emitted and slots are called in response.
*The Observer Pattern is a powerful way to implement signaling
/r/django
https://redd.it/1kb8hdt
Reddit
From the django community on Reddit
Explore this post and more from the django community
Been creating a script to donwload my Letterboxd watchlist
I'm using Jellyfin and figured it'd be nice to have a way to get the movies from my watchlist in it automatically. So I created this script, you feed it the exported watchlist CSV, and it will download it 1 by 1. One can also enter the name of the movie manually and download it that way. Let me know what you think!
# What My Project Does
A Python script that helps you download movies from your Letterboxd watchlist or by searching for individual movies. The script uses torrents to download movies and includes smart heuristics to try to select the torrent that best matches.
# Target Audience
Letterboxd users who want to get their watchlist downloaded, or just anyone who wants a script to download movies.
# Comparison
I haven't found another tool that does the same.
Github Link: https://github.com/guzmanvig/movie-downloader
/r/Python
https://redd.it/1kb2n71
I'm using Jellyfin and figured it'd be nice to have a way to get the movies from my watchlist in it automatically. So I created this script, you feed it the exported watchlist CSV, and it will download it 1 by 1. One can also enter the name of the movie manually and download it that way. Let me know what you think!
# What My Project Does
A Python script that helps you download movies from your Letterboxd watchlist or by searching for individual movies. The script uses torrents to download movies and includes smart heuristics to try to select the torrent that best matches.
# Target Audience
Letterboxd users who want to get their watchlist downloaded, or just anyone who wants a script to download movies.
# Comparison
I haven't found another tool that does the same.
Github Link: https://github.com/guzmanvig/movie-downloader
/r/Python
https://redd.it/1kb2n71
GitHub
GitHub - guzmanvig/movie-downloader: Downloads movies from torrents. Enter the movie name or use your Letterboxd watchlist
Downloads movies from torrents. Enter the movie name or use your Letterboxd watchlist - guzmanvig/movie-downloader
Codebase extractor using PyQt5 was
I created a PyQt5-based code extractor that scans, filters and exports your entire codebase as Markdown.
GitHub repo: https://github.com/Adco30/CodeExtractor
YouTube demo: https://www.youtube.com/watch?v=nWZmAp8D0sM
What my project does:
Select a project folder or file and CodeExtractor walks the directory hierarchy, applies your exclusion list and extension filters, then displays a collapsible indented view. Language-specific parsers extract class and function signatures for detailed outlines. A Markdown service packages every file’s content into a single document with code fences.
Target audience: all programmers.
Comparison: most tools I have come across leverage the command line interface, whereas mine has a dedicated PyQt5 interface.
/r/Python
https://redd.it/1kb8pnd
I created a PyQt5-based code extractor that scans, filters and exports your entire codebase as Markdown.
GitHub repo: https://github.com/Adco30/CodeExtractor
YouTube demo: https://www.youtube.com/watch?v=nWZmAp8D0sM
What my project does:
Select a project folder or file and CodeExtractor walks the directory hierarchy, applies your exclusion list and extension filters, then displays a collapsible indented view. Language-specific parsers extract class and function signatures for detailed outlines. A Markdown service packages every file’s content into a single document with code fences.
Target audience: all programmers.
Comparison: most tools I have come across leverage the command line interface, whereas mine has a dedicated PyQt5 interface.
/r/Python
https://redd.it/1kb8pnd
GitHub
GitHub - Adco30/CodeExtractor
Contribute to Adco30/CodeExtractor development by creating an account on GitHub.
Best framework to learn? Flask, Django, or Fast API
"What is the quickest and easiest backend framework to learn for someone who is specifically focused on iOS app development, and that integrates well with Firebase?
/r/Python
https://redd.it/1kbcz7a
"What is the quickest and easiest backend framework to learn for someone who is specifically focused on iOS app development, and that integrates well with Firebase?
/r/Python
https://redd.it/1kbcz7a
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Can I realistically "learn" django in 2 months?
I am a data analyst (pandas, openpyxl, SQL) who recently joined a small scale startup.
But it seems like this "Data Analysis" job will "require" me to "learn" Django in 2 months and clear the "Client" interview before the project starts.
Here's what is Client's Requirement:
- Proficiency in backend software development with Python.
Strong understanding of RESTful APIs and microservice architectures.
- Experience deploying and managing services on AWS and GCP.
- Hand-on on Mysql db
- Familiarity with containerization tools (Docker) and CI/CD pipelines.
- Skilled in performance optimisation and debugging in distributed systems.
- Experience implementing design patterns and writing modular, maintainable code.
Knowledge of web servers and distributed systems and its architecture.
Experience with frontend-backend coordination in feature development.
- Familiarity with data pipeline technologies and Al-powered search workflows.
Familiarity with git, GitHub, code review processes ocesses and CI/CD pipelines.
Is it even possible to learn this much and clear the interview?
How do I deal with this situation? Should I quit the job?
/r/django
https://redd.it/1kbg77g
I am a data analyst (pandas, openpyxl, SQL) who recently joined a small scale startup.
But it seems like this "Data Analysis" job will "require" me to "learn" Django in 2 months and clear the "Client" interview before the project starts.
Here's what is Client's Requirement:
- Proficiency in backend software development with Python.
Strong understanding of RESTful APIs and microservice architectures.
- Experience deploying and managing services on AWS and GCP.
- Hand-on on Mysql db
- Familiarity with containerization tools (Docker) and CI/CD pipelines.
- Skilled in performance optimisation and debugging in distributed systems.
- Experience implementing design patterns and writing modular, maintainable code.
Knowledge of web servers and distributed systems and its architecture.
Experience with frontend-backend coordination in feature development.
- Familiarity with data pipeline technologies and Al-powered search workflows.
Familiarity with git, GitHub, code review processes ocesses and CI/CD pipelines.
Is it even possible to learn this much and clear the interview?
How do I deal with this situation? Should I quit the job?
/r/django
https://redd.it/1kbg77g
Reddit
From the django community on Reddit
Explore this post and more from the django community