pycacheable 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pycacheable-0.1.0/src/pycacheable.egg-info → pycacheable-0.1.1}/PKG-INFO +1 -1
- {pycacheable-0.1.0 → pycacheable-0.1.1}/pyproject.toml +1 -1
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable/backend_memory.py +1 -1
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable/backend_sqlite.py +1 -1
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable/cacheable.py +2 -2
- {pycacheable-0.1.0 → pycacheable-0.1.1/src/pycacheable.egg-info}/PKG-INFO +1 -1
- {pycacheable-0.1.0 → pycacheable-0.1.1}/LICENSE +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/README.md +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/setup.cfg +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable/__init__.py +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable/cache_base.py +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable/hashing.py +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable.egg-info/SOURCES.txt +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable.egg-info/dependency_links.txt +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable.egg-info/requires.txt +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/src/pycacheable.egg-info/top_level.txt +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/tests/test_memory_cache.py +0 -0
- {pycacheable-0.1.0 → pycacheable-0.1.1}/tests/test_sqlite_cache.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pycacheable
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Decorator de cache para funções e métodos Python, com backends InMemory e SQLite, TTL configurável e hash estável de parâmetros.
|
|
5
5
|
Author-email: Leonardo Pinho <contato@leonardopinho.com>
|
|
6
6
|
License: MIT License
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import functools
|
|
2
2
|
from typing import Any, Callable, Dict, Optional, Tuple
|
|
3
3
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from .backend_sqlite import SQLiteCache
|
|
5
|
+
from .hashing import _build_key_from_call
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
def cacheable(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pycacheable
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Decorator de cache para funções e métodos Python, com backends InMemory e SQLite, TTL configurável e hash estável de parâmetros.
|
|
5
5
|
Author-email: Leonardo Pinho <contato@leonardopinho.com>
|
|
6
6
|
License: MIT License
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|