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.
Files changed (44) hide show
  1. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/PKG-INFO +3 -3
  2. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/README.md +2 -2
  3. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/readme.md +2 -2
  4. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/PKG-INFO +3 -3
  5. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/__init__.py +1 -0
  6. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/models.py +13 -13
  7. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.coveragerc +0 -0
  8. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.github/workflows/pypi-publish.yml +0 -0
  9. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.github/workflows/pypi-test.yml +0 -0
  10. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.gitignore +0 -0
  11. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.pre-commit-config.yaml +0 -0
  12. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/.readthedocs.yml +0 -0
  13. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/AUTHORS.md +0 -0
  14. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/CHANGELOG.md +0 -0
  15. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/CONTRIBUTING.rst +0 -0
  16. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/LICENSE.txt +0 -0
  17. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/Makefile +0 -0
  18. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/_static/.gitignore +0 -0
  19. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/authors.md +0 -0
  20. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/best_practices.md +0 -0
  21. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/changelog.md +0 -0
  22. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/conf.py +0 -0
  23. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/contributing.rst +0 -0
  24. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/index.md +0 -0
  25. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/license.rst +0 -0
  26. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/docs/requirements.txt +0 -0
  27. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/pyproject.toml +0 -0
  28. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/setup.cfg +0 -0
  29. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/setup.py +0 -0
  30. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/SOURCES.txt +0 -0
  31. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/dependency_links.txt +0 -0
  32. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/not-zip-safe +0 -0
  33. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/requires.txt +0 -0
  34. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pyBiocFileCache.egg-info/top_level.txt +0 -0
  35. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/cache.py +0 -0
  36. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/config.py +0 -0
  37. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/const.py +0 -0
  38. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/exceptions.py +0 -0
  39. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/src/pybiocfilecache/utils.py +0 -0
  40. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tests/conftest.py +0 -0
  41. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tests/data/test1.txt +0 -0
  42. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tests/data/test2.txt +0 -0
  43. {pybiocfilecache-0.5.0 → pybiocfilecache-0.5.1}/tests/test_cache.py +0 -0
  44. {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.0
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 biocfilecache import BiocFileCache
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 biocfilecache import BiocFileCache, CacheConfig
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 biocfilecache import BiocFileCache
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 biocfilecache import BiocFileCache, CacheConfig
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 biocfilecache import BiocFileCache
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 biocfilecache import BiocFileCache, CacheConfig
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.0
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 biocfilecache import BiocFileCache
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 biocfilecache import BiocFileCache, CacheConfig
62
+ from pybiocfilecache import BiocFileCache, CacheConfig
63
63
  from datetime import timedelta
64
64
  from pathlib import Path
65
65
 
@@ -16,3 +16,4 @@ finally:
16
16
  del version, PackageNotFoundError
17
17
 
18
18
  from .cache import BiocFileCache
19
+ from .config import CacheConfig
@@ -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