pickleshare: A ‘shelve’ like datastore with concurrency support

Description

PickleShare - a small ‘shelve’ like datastore with concurrency support

Like shelve, a PickleShareDB object acts like a normal dictionary. Unlike shelve, many processes can access the database simultaneously. Changing a value in database is immediately visible to other processes accessing the same database.

Concurrency is possible because the values are stored in separate files. Hence the “database” is a directory where all files are governed by PickleShare.

Type

standard

Dependencies

  • $(PYTHON)

  • $(PYTHON_TOOLCHAIN)

Version Information

package-version.txt:

0.7.5

version_requirements.txt:

pickleshare >=0.7.5

Equivalent System Packages

$ sudo pacman -S python-pickleshare
$ conda install pickleshare
$ sudo apt-get install python3-pickleshare
$ sudo yum install python3-pickleshare
$ sudo emerge dev-python/pickleshare
$ sudo port install py-pickleshare
$ sudo zypper install python3\$\{PYTHON_MINOR\}-pickleshare
$ sudo xbps-install python3-pickleshare

See https://repology.org/project/pickleshare/versions, https://repology.org/project/python:pickleshare/versions

If the system package is installed and if the (experimental) option --enable-system-site-packages is passed to ./configure, then ./configure will check if the system package can be used.