pycacheable 0.1.1__tar.gz → 0.1.2__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.1/src/pycacheable.egg-info → pycacheable-0.1.2}/PKG-INFO +4 -4
- {pycacheable-0.1.1 → pycacheable-0.1.2}/README.md +3 -3
- {pycacheable-0.1.1 → pycacheable-0.1.2}/pyproject.toml +1 -1
- pycacheable-0.1.2/src/pycacheable/__init__.py +4 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2/src/pycacheable.egg-info}/PKG-INFO +4 -4
- {pycacheable-0.1.1 → pycacheable-0.1.2}/tests/test_memory_cache.py +1 -1
- {pycacheable-0.1.1 → pycacheable-0.1.2}/tests/test_sqlite_cache.py +1 -1
- pycacheable-0.1.1/src/pycacheable/__init__.py +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/LICENSE +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/setup.cfg +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable/backend_memory.py +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable/backend_sqlite.py +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable/cache_base.py +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable/cacheable.py +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable/hashing.py +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable.egg-info/SOURCES.txt +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable.egg-info/dependency_links.txt +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable.egg-info/requires.txt +0 -0
- {pycacheable-0.1.1 → pycacheable-0.1.2}/src/pycacheable.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pycacheable
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
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
|
|
@@ -82,9 +82,9 @@ A biblioteca fornece:
|
|
|
82
82
|
## Como usar
|
|
83
83
|
|
|
84
84
|
```python
|
|
85
|
-
from
|
|
86
|
-
from
|
|
87
|
-
from
|
|
85
|
+
from pycacheable import SQLiteCache
|
|
86
|
+
from pycacheable import InMemoryCache
|
|
87
|
+
from pycacheable import cacheable
|
|
88
88
|
|
|
89
89
|
mem = InMemoryCache(max_entries=512)
|
|
90
90
|
disk = SQLiteCache(path="./.cache/myapp.sqlite")
|
|
@@ -34,9 +34,9 @@ A biblioteca fornece:
|
|
|
34
34
|
## Como usar
|
|
35
35
|
|
|
36
36
|
```python
|
|
37
|
-
from
|
|
38
|
-
from
|
|
39
|
-
from
|
|
37
|
+
from pycacheable import SQLiteCache
|
|
38
|
+
from pycacheable import InMemoryCache
|
|
39
|
+
from pycacheable import cacheable
|
|
40
40
|
|
|
41
41
|
mem = InMemoryCache(max_entries=512)
|
|
42
42
|
disk = SQLiteCache(path="./.cache/myapp.sqlite")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pycacheable
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
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
|
|
@@ -82,9 +82,9 @@ A biblioteca fornece:
|
|
|
82
82
|
## Como usar
|
|
83
83
|
|
|
84
84
|
```python
|
|
85
|
-
from
|
|
86
|
-
from
|
|
87
|
-
from
|
|
85
|
+
from pycacheable import SQLiteCache
|
|
86
|
+
from pycacheable import InMemoryCache
|
|
87
|
+
from pycacheable import cacheable
|
|
88
88
|
|
|
89
89
|
mem = InMemoryCache(max_entries=512)
|
|
90
90
|
disk = SQLiteCache(path="./.cache/myapp.sqlite")
|
|
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
|