Better HN
topnewbestaskshowjobs
Log inSign up

sscherfke

16 karma · joined Feb 17, 2015 (11y ago) · 6 submissions

Submissions

comment 1y ago · link · parent

I think it depends on the use case. When strict ordering of records from multiple processes is not super important and when you also need the UUID7 for other things, it may be more practical (and/or performant) to let the client compute the UUID7.

So, as usual, “it depends”. ;-)

comment 1y ago · link · parent

If you want to a UUIDv7 key for partitioning your table by date (e.g., one partition per day or month), you need to be able to compute the partition range via the minimal UUIDv7 for a given date.

There is some discussion whether or not to add helpers for this to Python‘s uuid7 module: https://github.com/python/cpython/issues/130843#issuecomment...

comment 2y ago · link · parent

This sounds a lot like SimPy [1] / Simpy.io [2], but SimPy predates asycio by many years.

[1] https://simpy.readthedocs.io/en/latest/

[2] https://gitlab.com/team-simpy/simpy.io

comment 3y ago · link · parent

appdirs has officially been deprecated.

Its successor is https://pypi.org/project/platformdirs/

5.

Packaging Python Inside Your Organization with Gitlab and Conda(stefan.sofa-rockers.org ↗)

8 points · by sscherfke · 7y ago · 1 comment

6.

Show HN: Aiomas – An asyncio based library for multi-agent systems in Python(bitbucket.org ↗)

7 points · by sscherfke · 11y ago · 1 comment