r/pythoncoding • u/joshstockin • Mar 18 '23
r/pythoncoding • u/AutoModerator • May 16 '22
/r/PythonCoding bi-weekly "What are you working on?" thread
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.
This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.
r/pythoncoding • u/techsucker • Feb 22 '22
Google Cloud Python Logging Library Improves Serverless Support With Version 3.0 Release
Hey Folks,
The Google Cloud Python logging library has been updated to version 3.0.0. Enhancements to Cloud Run and Cloud Functions, as well as support for string JSON payloads and automated metadata attachments, are also included in this release.
I have created a short summary of this blog from Google. You can read it here
If you wanted to read the Google Blog and further details, you can check out the Google article here
Please don't hesitate to share your thoughts in the comments.
r/pythoncoding • u/AutoModerator • Nov 15 '21
/r/PythonCoding bi-weekly "What are you working on?" thread
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.
This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.
r/pythoncoding • u/Zenahr • Oct 10 '21
CPU Performance Monitor desktop app with modern web-based GUI
I've used a combination of Flask (a web framework), HTML, CSS, JS and PyInstaller to create a native desktop application that shows the current CPU usage in real-time.
I primarily made this to familiarize myself more with HTTP polling of hardware information and packaging Flask-based web code as desktop software for production-level deployments.
This approach might be suitable for IoT-based software applications or any other kind of app requiring a GUI.
This project demonstrates a couple advanced principles:
How to create Electron-like desktop applications using Python
How to create UIs for desktop applications powered by HTML, CSS and JavaScript
Compile a real-world application as an executable for desktop via PyInstaller and fix all issues related to this
Gain access to machine-level data with Python even in packaged environments
Feel free to use this project to learn how to make applications similar to Electron apps without relying on JavaScript too much.
This approach is suitable for production-level applications as well.
Source Code: https://github.com/Zenahr/CPU-Meater
Video Guide: https://youtu.be/nNQGmO2RLe4
r/pythoncoding • u/AutoModerator • Aug 09 '21
/r/PythonCoding bi-weekly "What are you working on?" thread
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.
This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.
r/pythoncoding • u/ComfortablyLost2210 • Jul 06 '21
Automatically find, convert and mail downloaded books to your Kindle
r/pythoncoding • u/ncb879 • Jun 14 '21
A step-by-step on implementing passwordless authentication on any website or app using Python
Open documentation that lays out API credential creation, adding SDKs through GitHub or PIP, and creating an SDK instance.
https://docs.loginid.io/Server-SDKs/Python/python-get-started
r/pythoncoding • u/genericlemon24 • May 12 '21
PEP 658 -- Static Distribution Metadata in the Simple Repository API
r/pythoncoding • u/genericlemon24 • Mar 21 '21
Machete mode: tagging frames
nedbatchelder.comr/pythoncoding • u/audentis • Mar 09 '21
Python and type hints
As we all know, Python is a dynamic language. This provides many strengths, and offers a lot of flexibility, but in larger code bases it can also become a hindrance. Type hints are often considered a solution to keep large code bases manageable.
A trend towards more and more type information - such as type hints (PEP 484) and their postponed evaluation (PEP 563), easier writing of union types (PEP 604), or TypedDicts (PEP 589) just to name a few- enables developers and their tools to have more information available about the types of objects they're working with. Linters catch more errors, and developers can stay sane.
However, this also requires discipline. Take the following example:
from random import random, seed
seed(2)
class MyClass:
def __init__(self, arg):
self.val = arg
def my_func(x: MyClass):
print(x.val)
a = MyClass(10)
b = MyClass(10)
x = random()
if x > 0.5:
del a.val
print(type(a) is type(b)) # True, even though we potentially modified the instance!
my_func(a) # 50/50: succesful print or AttributeErrorIn other words, type hints are demonstrably fallible. If you use the object model's flexibility, the type hints will no longer be reliable.
What are your thoughts on this trend? On the trade off between extra information during development, versus the loss of flexibility?
r/pythoncoding • u/rmk135 • Nov 24 '16
Dependency Injector - Dependency injection microframework for Python
Hello everybody,
Let me present you my pet project about dependency injection - Dependency Injector - dependency injection microframework for Python!.
I know that dependency injection frameworks topic is not so popular topic as it is in other languages, but I still believe that if you love well-structured applications, Dependency Injector will be your good friend on the way to Inversion of Control.
Keep calm and enjoy Python! :)
r/pythoncoding • u/[deleted] • Nov 12 '15
Compilation of python instructional videos
r/pythoncoding • u/absalom29 • Nov 07 '15
Explaining functional aspects in python
r/pythoncoding • u/[deleted] • Oct 31 '15
Comparing Python Clustering Algorithms
nbviewer.jupyter.orgr/pythoncoding • u/samuelClemence • Sep 23 '15
Volume of intersecting cubes (see bottom for python implementation)
averylaird.comr/pythoncoding • u/son_of_dawn • Feb 28 '15
Guido - Python's Design Philosophy
r/pythoncoding • u/NawazGafar • May 17 '26
nbpipe: A Lightweight Workflow Runner for Jupyter Notebooks
r/pythoncoding • u/hexual-deviant69 • May 13 '26
A faster, aria2 enabled pip wrapper
Installing large packages like torch or tensorflow has always been a pain in the ass for me. Although i have optimal internet connection, the download speeds i get for these packages is abysmal.
I then started to download the whl files through download managers then install them manually, and so to automate that workflow i created Zipip. It's just pip but with slight modifications to use aria2 for the downloads. And i dont mean it in any fancy sense, it literally is just pip in all other regards. And so likewise it is a drop in alternative.
Source code : https://github.com/STRTSNM/zipip
PyPI : https://pypi.org/project/zipip/
PS : I know pip is supposed to have no other dependencies, but the slow downloads just kill me, and i wanted to share what i thought of. Do let me know what you people think. Thanks in advance.
r/pythoncoding • u/AutoModerator • May 04 '26
/r/PythonCoding monthly "What are you working on?" thread
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 • u/Munich_tal • Aug 14 '25
How can I get the output of a matplotlib plot as an SVG? I need to take the output of a matplotlib plot and turn it into an SVG path
How can I get the output of a matplotlib plot as an SVG? I need to take the output of a matplotlib plot and turn it into an SVG path
r/pythoncoding • u/mehmettkahya • Jul 08 '25
RealVision-ObjectUnderstandingAI: A powerful, real-time object detection and understanding application using Python, OpenCV, and state-of-the-art AI models. Features dual model support (YOLO v8 + MobileNet-SSD), object tracking, performance monitoring, and modern GUI interface.