pyBiocFileCache 0.5.0__tar.gz → 0.5.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.
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/PKG-INFO +3 -3
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/README.md +2 -2
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/readme.md +2 -2
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/PKG-INFO +3 -3
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/__init__.py +1 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/models.py +13 -13
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.coveragerc +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.github/workflows/pypi-publish.yml +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.github/workflows/pypi-test.yml +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.gitignore +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.pre-commit-config.yaml +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.readthedocs.yml +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/AUTHORS.md +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/CHANGELOG.md +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/CONTRIBUTING.rst +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/LICENSE.txt +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/Makefile +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/_static/.gitignore +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/authors.md +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/best_practices.md +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/changelog.md +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/conf.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/contributing.rst +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/index.md +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/license.rst +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/requirements.txt +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/pyproject.toml +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/setup.cfg +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/setup.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/SOURCES.txt +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/dependency_links.txt +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/not-zip-safe +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/requires.txt +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/top_level.txt +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/cache.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/config.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/const.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/exceptions.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/utils.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tests/conftest.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tests/data/test1.txt +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tests/data/test2.txt +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tests/test_cache.py +0 -0
- {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyBiocFileCache
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: File based cache for resources and metadata
|
|
5
5
|
Home-page: https://github.com/epiviz/pyBiocFileCache
|
|
6
6
|
Author: jkanche
|
|
@@ -39,7 +39,7 @@ pip install pybiocfilecache
|
|
|
39
39
|
## Quick Start
|
|
40
40
|
|
|
41
41
|
```python
|
|
42
|
-
from
|
|
42
|
+
from pybiocfilecache import BiocFileCache
|
|
43
43
|
|
|
44
44
|
# Initialize cache
|
|
45
45
|
cache = BiocFileCache("path/to/cache/directory")
|
|
@@ -59,7 +59,7 @@ print(resource.rpath) # Path to cached file
|
|
|
59
59
|
### Configuration
|
|
60
60
|
|
|
61
61
|
```python
|
|
62
|
-
from
|
|
62
|
+
from pybiocfilecache import BiocFileCache, CacheConfig
|
|
63
63
|
from datetime import timedelta
|
|
64
64
|
from pathlib import Path
|
|
65
65
|
|
|
@@ -17,7 +17,7 @@ pip install pybiocfilecache
|
|
|
17
17
|
## Quick Start
|
|
18
18
|
|
|
19
19
|
```python
|
|
20
|
-
from
|
|
20
|
+
from pybiocfilecache import BiocFileCache
|
|
21
21
|
|
|
22
22
|
# Initialize cache
|
|
23
23
|
cache = BiocFileCache("path/to/cache/directory")
|
|
@@ -37,7 +37,7 @@ print(resource.rpath) # Path to cached file
|
|
|
37
37
|
### Configuration
|
|
38
38
|
|
|
39
39
|
```python
|
|
40
|
-
from
|
|
40
|
+
from pybiocfilecache import BiocFileCache, CacheConfig
|
|
41
41
|
from datetime import timedelta
|
|
42
42
|
from pathlib import Path
|
|
43
43
|
|
|
@@ -17,7 +17,7 @@ pip install pybiocfilecache
|
|
|
17
17
|
## Quick Start
|
|
18
18
|
|
|
19
19
|
```python
|
|
20
|
-
from
|
|
20
|
+
from pybiocfilecache import BiocFileCache
|
|
21
21
|
|
|
22
22
|
# Initialize cache
|
|
23
23
|
cache = BiocFileCache("path/to/cache/directory")
|
|
@@ -37,7 +37,7 @@ print(resource.rpath) # Path to cached file
|
|
|
37
37
|
### Configuration
|
|
38
38
|
|
|
39
39
|
```python
|
|
40
|
-
from
|
|
40
|
+
from pybiocfilecache import BiocFileCache, CacheConfig
|
|
41
41
|
from datetime import timedelta
|
|
42
42
|
from pathlib import Path
|
|
43
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyBiocFileCache
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: File based cache for resources and metadata
|
|
5
5
|
Home-page: https://github.com/epiviz/pyBiocFileCache
|
|
6
6
|
Author: jkanche
|
|
@@ -39,7 +39,7 @@ pip install pybiocfilecache
|
|
|
39
39
|
## Quick Start
|
|
40
40
|
|
|
41
41
|
```python
|
|
42
|
-
from
|
|
42
|
+
from pybiocfilecache import BiocFileCache
|
|
43
43
|
|
|
44
44
|
# Initialize cache
|
|
45
45
|
cache = BiocFileCache("path/to/cache/directory")
|
|
@@ -59,7 +59,7 @@ print(resource.rpath) # Path to cached file
|
|
|
59
59
|
### Configuration
|
|
60
60
|
|
|
61
61
|
```python
|
|
62
|
-
from
|
|
62
|
+
from pybiocfilecache import BiocFileCache, CacheConfig
|
|
63
63
|
from datetime import timedelta
|
|
64
64
|
from pathlib import Path
|
|
65
65
|
|
|
@@ -25,43 +25,43 @@ class Resource(Base):
|
|
|
25
25
|
|
|
26
26
|
Attributes:
|
|
27
27
|
id:
|
|
28
|
-
Auto-incrementing primary key
|
|
28
|
+
Auto-incrementing primary key.
|
|
29
29
|
|
|
30
30
|
rid:
|
|
31
|
-
Unique resource identifier (UUID)
|
|
31
|
+
Unique resource identifier (UUID).
|
|
32
32
|
|
|
33
33
|
rname:
|
|
34
|
-
User-provided resource name
|
|
34
|
+
User-provided resource name.
|
|
35
35
|
|
|
36
36
|
create_time:
|
|
37
|
-
When the resource was first added
|
|
37
|
+
When the resource was first added.
|
|
38
38
|
|
|
39
39
|
access_time:
|
|
40
|
-
Last time the resource was accessed
|
|
40
|
+
Last time the resource was accessed.
|
|
41
41
|
|
|
42
42
|
rpath:
|
|
43
|
-
Path to the resource in the cache
|
|
43
|
+
Path to the resource in the cache.
|
|
44
44
|
|
|
45
45
|
rtype:
|
|
46
|
-
Type of resource (local, web, relative)
|
|
46
|
+
Type of resource (local, web, relative).
|
|
47
47
|
|
|
48
48
|
fpath:
|
|
49
|
-
Original file path
|
|
49
|
+
Original file path.
|
|
50
50
|
|
|
51
51
|
last_modified_time:
|
|
52
|
-
Last time the resource was modified
|
|
52
|
+
Last time the resource was modified.
|
|
53
53
|
|
|
54
54
|
etag:
|
|
55
|
-
Checksum/hash of the resource
|
|
55
|
+
Checksum/hash of the resource.
|
|
56
56
|
|
|
57
57
|
expires:
|
|
58
|
-
When the resource should be considered expired
|
|
58
|
+
When the resource should be considered expired.
|
|
59
59
|
|
|
60
60
|
tags:
|
|
61
|
-
Optional comma-separated tags for categorization
|
|
61
|
+
Optional comma-separated tags for categorization.
|
|
62
62
|
|
|
63
63
|
size_bytes:
|
|
64
|
-
Size of the resource in bytes
|
|
64
|
+
Size of the resource in bytes.
|
|
65
65
|
"""
|
|
66
66
|
|
|
67
67
|
__tablename__ = "resource"
|
|
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
|
|
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
|
{pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/dependency_links.txt
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|