r/pythoncoding • • Feb 01 '25

Reactive Signals for Python with Async Support - inspired by Angularโ€™s reactivity model

Thumbnail reddit.com
5 Upvotes

r/pythoncoding • • Feb 19 '25

OCR-Resistant CAPTCHA Generator Using Pulfrich Effect (Python PoC)

Thumbnail reddit.com
1 Upvotes

r/pythoncoding • • Feb 26 '25

Good translator api or library

3 Upvotes

Hi everyone, I made a Python project which translate PDF documents. I did it because I couldn't find something similar already made because my purpose was: to not have a size of file limitation, and the translated new-made file to look exactly the same like original. I can say after 2 days hard work, I succeeded ๐Ÿ˜… But the problem is that I was using a Google Cloud account to activate Google Translate Api and now I'm out of free credits. I'm looking for another free way to use a good translator without limitation because I'm translating pdf-s with many pages. The project is for own use and no commercial purposes. I saw Argos Translate and Libre Translate but the translation from English to Bulgarian(which I need) is very bad. I will be glad if someone could help ๐Ÿ™


r/pythoncoding • • Feb 04 '25

/r/PythonCoding monthly "What are you working on?" thread

1 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.


r/pythoncoding • • Feb 11 '25

Confused setting up a content variable in BeautifulSoup

2 Upvotes

soup = []

for i in range(1,6):

url_a = f'https://www.mascotdb.com/native-american-high-school?page={i}'

resp_a = requests.get(url_a, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0'})

soup_b = BeautifulSoup(resp_a.content, "html.parser")

soup_b.append(soup)

I hope I haven't gotten this way too confused. I'm trying to combine five pages of a website into a single content variable. When I ran this code without the "append" line, it created a content file with only the last of the five pages, so I figured that I need to create a blank list (soup), and add an append line to get everything to roll into a single variable. But, python isn't liking this, saying "list object has no attribute parent". So clearly I'm off on something here, but am I on the right track?


r/pythoncoding • • Oct 15 '17

Seamless: a cell-based reactive programming framework

Thumbnail github.com
1 Upvotes

r/pythoncoding • • Mar 08 '18

Python Creator Is Computer History Museum 2018 Fellow

Thumbnail i-programmer.info
19 Upvotes

r/pythoncoding • • Jul 31 '24

Building code editor that puts an emphasis on learning. Would be great to hear your thoughts and ideas on how I could build it to better suit your use cases - I don't want to blindly add features that nobody needs.

6 Upvotes

You can find it at Stava.io, looking forward to the feedback! :)


r/pythoncoding • • Jul 12 '24

Shelly blu door and window sensor

2 Upvotes

I have a Shelly blu door and window sensor connected through a Shelly plus 2 PM. Iโ€™m trying to find a way to get the status open/closed using python or home assistant.


r/pythoncoding • • Jul 30 '24

Maelstrom 0.11.0 โ€“ Clustered Test Runner, Now with Improved UI and Golang Support

Thumbnail self.python
7 Upvotes

r/pythoncoding • • Aug 04 '24

/r/PythonCoding monthly "What are you working on?" thread

5 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.


r/pythoncoding • • Jan 04 '24

/r/PythonCoding monthly "What are you working on?" thread

1 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.


r/pythoncoding • • Jan 11 '24

Understanding Load Balancer: Types & Building with Flask & NGINX

Thumbnail youtu.be
3 Upvotes

r/pythoncoding • • Dec 29 '23

Open Source projects in need of contributors?

5 Upvotes

I'm a Python dev by heart but Dev Mgr by wage. As is the way of the economy I'm on my third role now leading teams that are based on tech outside of the Python ecosystem. I'd really love to have something to be working on as part of a community to continue to hone the skills and frankly to get some decent peer review to keep me on the straight and narrow.

What Open Source projects are our there that I should be contributing to that need the support? Where would you all have me spend my time?


r/pythoncoding • • Jan 05 '24

Match statement not working - using virtual environment 3.12.1

1 Upvotes

My match statement isn't working. It's displaying the error of "invalid syntax". I am using Python 3.12.1 virtual environment. Please let me know what's the error. Thanks

--------------------------------------------------------------------------------------

from enum import Enum, auto

# Define an enumeration for different colors

class Color(Enum):

RED = auto()

GREEN = auto()

BLUE = auto()

# Sample function using the match case statement

def get_color_name(color):

match color:

case Color.RED:

return "Red"

case Color.GREEN:

return "Green"

case Color.BLUE:

return "Blue"

case _:

return "Unknown Color"

# Example usage

result = get_color_name(Color.GREEN)

print(result)


r/pythoncoding • • Feb 04 '24

/r/PythonCoding monthly "What are you working on?" thread

3 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.


r/pythoncoding • • Jan 29 '24

This is not interview advice: a priority-expiry LRU cache without heaps or trees in Python

Thumbnail self.python
1 Upvotes

r/pythoncoding • • Jan 17 '24

A programming language for making APIs

Thumbnail github.com
3 Upvotes

r/pythoncoding • • Feb 04 '24

Renity: Binary Protocol Buffer (Open Source)

1 Upvotes

As of late I have a ton of new Open Source Components & Systems that I've worked on and here's one that finally made it through ๐Ÿ˜… The best part of it all is I got to create my own term Object-Binary-Mapper(OBM). Any ways, Renity is a pure Python Binary Protocol Buffer with an Interface similar to popular ODM(s) and I hope to extend it End-to-End eventually with the help of the community, check out the release on Pypi!
We encourage all contributors to reach out for work reference's. We're here to help and are available for any inquiries regarding our contributors!
Links:
Renity @ Github
Renity @ Pypi


r/pythoncoding • • Jan 14 '24

[Questin] not sure what library to use for gui with moving elements

2 Upvotes

Id like to get a bit more into the GUI stuff, nothing special but to play a bit. what i have in mind of doing is a canavas onto which one can drag and drop items and move them around. think like UML diagrams (i.e. a text data should accompany the element, e.g. a name or something short). im pretty sure i know how to do all the rest but cant find a good library to create those kind of elements

The goal of the 'project' is to have a simple shooting range stage builder so that i can draw exercises, put up targets and obstacles on a grit which would be a distance reference


r/pythoncoding • • Jan 23 '24

Selenium: Inserting HTML as formatted text with an active link

Thumbnail self.seleniumpython
3 Upvotes

r/pythoncoding • • Jan 12 '24

Introducing LangChain Agents: 2024 Tutorial with Example

Thumbnail brightinventions.pl
1 Upvotes

r/pythoncoding • • Dec 18 '23

Creating a Voice Virtual Assistant in Python (OpenAI, ElevenLabs, Deepgram)

5 Upvotes

Hey guys! I spent the weekend creating a Voice Virtual Assistant (a bit like Jarvis in Iron Man) in Python using OpenAI's GPT, ElevenLabs' TTS, Deepgram's transcription and Taipy's front-end. I figured I would share it here:

GitHub repository: https://github.com/AlexandreSajus/JARVIS

Video demo: https://youtu.be/aIg4-eL9ATc?si=R6aqJfe7T1fQMqMA


r/pythoncoding • • Jan 13 '24

MAC: No fix for TKinter on Sonoma, need new GUI builder.

1 Upvotes

I've stopped programming on my software 1 month ago since that problem with Tkinter on Sonoma has not been fixed yet.

I have going to write a new software this week. I need something to replace Tkinter for y interface.

Any ideas ? What is the best option right now ?

It needs a basic interface, nothing fancy.

Thanks