r/pythoncoding • • Oct 18 '21

/r/PythonCoding bi-weekly "What are you working on?" thread

11 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.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Jul 20 '21

reader 2.0 released – a Python feed reader library

Thumbnail
self.python
11 Upvotes

r/pythoncoding • • Jun 28 '21

/r/PythonCoding bi-weekly "What are you working on?" thread

11 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.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Mar 19 '21

Deterministic hashing of Python data objects

Thumbnail death.andgravity.com
11 Upvotes

r/pythoncoding • • Nov 27 '20

Runtype: Multiple-dispatch and type-safe dataclasses

Thumbnail
github.com
11 Upvotes

r/pythoncoding • • May 30 '26

fastuuidv7 - generating uuidv7 nearly as fast as creating a string

Thumbnail github.com
10 Upvotes

I recently wrote a rust package, as I had performance issues generating uuidv7 in rust.

Turns out, there was a lot of optimization potential.

I added a python wrapper and it turns out, it is about 45x faster than the current uuid7. It even beats the C package by factor 5. The performance is just a bit slower than allocating a string in Python, which is about 40ns.

PackageCodeTime per call
uuid7Python2767.7 ns
fastuuid7C313.5 ns
fastuuidv7Rust60.6 ns

Package just published on PyPi and available via pip: fastuuidv7 with prebuilt wheels for most platforms.

Disclaimer: Don't use it to prime passwords or tokens. Just for network, DB ids or non-security related ids. Also, it cannot parse uuidv7, just generate it.


r/pythoncoding • • Dec 04 '25

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

10 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 • • Apr 24 '23

Crawler I made using python

Thumbnail
github.com
10 Upvotes

r/pythoncoding • • Apr 17 '22

Weekly Algorithm Project: Middle Square Method

10 Upvotes

Recently I started a weekly algorithm project just to help me study new algorithms with a flair of good practice. This week I decided to focus on Python and the "Middle Square Method" a PRNG produced by John von Neuman in 1949. I further reiterated two attempted improvements to the algorithm that come from a couple of papers just last month: one using a Weyl Sequence and another using the Weyl Sequence with a Counter - both were by Bernard Widynski.

Testing them was interesting as there appeared to be barely a difference between the two new iterations, however, both were much more stable than the original work by von Neuman. Typically with the newer algorithms I'd gather a standard deviation roaming around 4-8 x 10^15-18. Obviously that's fairly in line with modern standards. The original method had a lower deviation, however, I found that one harder to test perhaps because I should have a used a different algorithm.

Full documentation can be found here if anyone is interested. For GitHub, it is under KNOWNALGO/W03.

https://youtu.be/O53ihWtoEGk

https://github.com/F35H/WeeklyCode

Might as well link it here, here are the two papers:

https://arxiv.org/pdf/1704.00358.pdf

https://arxiv.org/pdf/2004.06278.pdf


r/pythoncoding • • Dec 16 '21

Mypy 0.920 Released

Thumbnail mypy-lang.blogspot.com
10 Upvotes

r/pythoncoding • • Dec 14 '21

Python, Pitch shifting, and the Pianoputer

Thumbnail zulko.github.io
10 Upvotes

r/pythoncoding • • Oct 18 '21

Where does all the effort go? Looking at Python core developer activity

Thumbnail
lukasz.langa.pl
10 Upvotes

r/pythoncoding • • Oct 01 '21

Binomial Distribution and Binomial Test in Python

Thumbnail
pyshark.com
10 Upvotes

r/pythoncoding • • Sep 05 '21

The Ultimate Face-off: Flask vs. FastAPI

Thumbnail
learn.vonage.com
10 Upvotes

r/pythoncoding • • Aug 22 '21

Learn the basics of how to use pyTelegramBotAPI to create a Telegram bot

Thumbnail
youtu.be
10 Upvotes

r/pythoncoding • • Aug 20 '21

Anyone know any modules that can block access to an app? looking to build an app that blocks distractions.

10 Upvotes

r/pythoncoding • • Mar 19 '21

Making lunch faster with Python concurrency

Thumbnail
sourcery.ai
10 Upvotes

r/pythoncoding • • Sep 12 '23

I’m looking for an open source alternative to Browse AI.

9 Upvotes

Browse AI advertises turning any website into an api. However, it doesn’t do a great job at this since it immediately fails the bot defense put in place by H-E-B. The concept of “any” website as an api is very intriguing and I was curious if anyone knows of a tool that works similarly?

For context, I’m trying to create a automatic grocery orderer for H‑E‑B(for self use) which scrapes a list of cooking recipe URLs and orders the required ingredients from the site. I currently use selenium and ChatGPT for this solution, but would love to use a more generalist approach for ordering if one exists, even if it requires a bit of training. I have selenium logging in and adding items, and ChatGPT scraping sites and creating ingredient lists for me.

I’m still very new to Python so please go easy on me.


r/pythoncoding • • May 04 '23

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

9 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 • • Nov 28 '22

/r/PythonCoding bi-weekly "What are you working on?" thread

9 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.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Oct 31 '22

/r/PythonCoding bi-weekly "What are you working on?" thread

9 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.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Sep 19 '22

/r/PythonCoding bi-weekly "What are you working on?" thread

9 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.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Sep 05 '22

/r/PythonCoding bi-weekly "What are you working on?" thread

9 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.

This recurring thread is a new addition to the subreddit and will be evaluated after the first few editions.


r/pythoncoding • • Aug 25 '22

buggy: CLI tool to report bugs in Python packages

Thumbnail
github.com
9 Upvotes