From 0101a5b91ed92ff286a50784a23d70b3bc0946c0 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Wed, 1 Jul 2020 15:34:53 +0100 Subject: [PATCH] Added expiringdict --- poetry.lock | 18 +++++++++++++++++- pyproject.toml | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 9dd9b4b5..38fd30ac 100644 --- a/poetry.lock +++ b/poetry.lock @@ -110,6 +110,7 @@ ofmclient = [] reference = "87a66aadbbea211b260dc279c0f009a8a2b8de51" type = "git" url = "https://gitlab.com/openflexure/microscope-extensions/camera-stage-mapping.git" + [[package]] category = "main" description = "Pure Python CBOR (de)serializer with extensive tag support" @@ -174,6 +175,17 @@ optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" version = "0.16" +[[package]] +category = "main" +description = "Dictionary with auto-expiring values for caching purposes" +name = "expiringdict" +optional = false +python-versions = "*" +version = "1.2.1" + +[package.extras] +tests = ["dill", "coverage", "coveralls", "mock", "nose"] + [[package]] category = "main" description = "A simple framework for building complex web applications." @@ -433,6 +445,7 @@ test = ["coverage", "pytest", "mock", "pillow", "numpy"] reference = "" type = "url" url = "https://github.com/rwb27/picamera/releases/download/v1.13.2b0/picamera-1.13.2b0-py3-none-any.whl" + [[package]] category = "main" description = "Python Imaging Library (Fork)" @@ -835,7 +848,7 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] rpi = ["RPi.GPIO"] [metadata] -content-hash = "ae04fc9fc87b8a1dd96e9fe8b442fb6261d2ded29aef1385dcb35beac5d8f467" +content-hash = "bcc3ee50dba0c2795a5798de24aaaf2cfa7951076bed417236e7b0e51925ebc5" python-versions = "^3.6" [metadata.files] @@ -921,6 +934,9 @@ docutils = [ {file = "docutils-0.16-py2.py3-none-any.whl", hash = "sha256:0c5b78adfbf7762415433f5515cd5c9e762339e23369dbe8000d84a4bf4ab3af"}, {file = "docutils-0.16.tar.gz", hash = "sha256:c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc"}, ] +expiringdict = [ + {file = "expiringdict-1.2.1.tar.gz", hash = "sha256:fe2ba427220425c3c8a3d29f6d2e2985bcee323f8bcd4021e68ebefbd90d8250"}, +] flask = [ {file = "Flask-1.1.2-py2.py3-none-any.whl", hash = "sha256:8a4fdd8936eba2512e9c85df320a37e694c93945b33ef33c89946a340a238557"}, {file = "Flask-1.1.2.tar.gz", hash = "sha256:4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060"}, diff --git a/pyproject.toml b/pyproject.toml index f231fdbe..43ded713 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ pynpm = "^0.1.2" camera-stage-mapping = {git = "https://gitlab.com/openflexure/microscope-extensions/camera-stage-mapping.git"} sangaboard = "^0.2" gevent = "20.6.0" # Pinned version to guarantee piwheels wheel +expiringdict = "^1.2.1" [tool.poetry.extras] rpi = ["RPi.GPIO"]