Adds MD5 checksums to wheels.
[pyutils.git] / docs / pyutils.collectionz.rst
index c3424503628c6c817a46203a42aefa903851ae4d..5ca878d6b9ed1f59c948988f689201f9cfb0e8e3 100644 (file)
@@ -1,6 +1,13 @@
 pyutils.collectionz package
 ===========================
 
+This subpackage contains some homegrown collections that try to
+emulate :mod:`collections` included in the Python standard library
+(see:
+https://docs.python.org/3/library/collections.html#module-collections).
+It ends with a 'z' so as not to collide with the standard library
+package.
+
 Submodules
 ----------
 
@@ -8,6 +15,7 @@ pyutils.collectionz.bidict module
 ---------------------------------
 
 .. automodule:: pyutils.collectionz.bidict
+   :imported-members:
    :members:
    :undoc-members:
    :show-inheritance:
@@ -23,6 +31,14 @@ pyutils.collectionz.bst module
 pyutils.collectionz.shared\_dict module
 ---------------------------------------
 
+The shared\_dict.SharedDict class is a normal python dictionary that
+can be accessed safely in parallel from multiple threads or processes
+without (external) locking by using Multiprocessing.SharedMemory.  It
+uses internal locking and rewrites the shared memory region as it is
+changed so it is slower than a normal dict.  It also does not grow
+dynamically; the creator of the shared\_dict must declare a maximum
+size.
+
 .. automodule:: pyutils.collectionz.shared_dict
    :members:
    :undoc-members: