barecat 0.3.0__tar.gz → 0.3.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.
Files changed (126) hide show
  1. {barecat-0.3.0 → barecat-0.3.2}/.github/workflows/python-publish.yml +1 -1
  2. {barecat-0.3.0 → barecat-0.3.2}/PKG-INFO +3 -1
  3. {barecat-0.3.0 → barecat-0.3.2}/pyproject.toml +2 -0
  4. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/_api.py +20 -8
  5. barecat-0.3.2/src/barecat/_version.py +24 -0
  6. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/core/barecat.py +3 -2
  7. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/core/index.py +5 -3
  8. {barecat-0.3.0 → barecat-0.3.2}/src/barecat.egg-info/PKG-INFO +3 -1
  9. {barecat-0.3.0 → barecat-0.3.2}/src/barecat.egg-info/SOURCES.txt +2 -0
  10. {barecat-0.3.0 → barecat-0.3.2}/src/barecat.egg-info/requires.txt +2 -0
  11. barecat-0.3.2/src/barecat.egg-info/scm_file_list.json +118 -0
  12. barecat-0.3.2/src/barecat.egg-info/scm_version.json +8 -0
  13. barecat-0.3.0/src/barecat/_version.py +0 -34
  14. {barecat-0.3.0 → barecat-0.3.2}/.github/workflows/ci.yml +0 -0
  15. {barecat-0.3.0 → barecat-0.3.2}/.gitignore +0 -0
  16. {barecat-0.3.0 → barecat-0.3.2}/.pre-commit-config.yaml +0 -0
  17. {barecat-0.3.0 → barecat-0.3.2}/.readthedocs.yaml +0 -0
  18. {barecat-0.3.0 → barecat-0.3.2}/LICENSE +0 -0
  19. {barecat-0.3.0 → barecat-0.3.2}/MANIFEST.in +0 -0
  20. {barecat-0.3.0 → barecat-0.3.2}/Makefile +0 -0
  21. {barecat-0.3.0 → barecat-0.3.2}/README.md +0 -0
  22. {barecat-0.3.0 → barecat-0.3.2}/docs/Makefile +0 -0
  23. {barecat-0.3.0 → barecat-0.3.2}/docs/_static/styles/my_theme.css +0 -0
  24. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/index.rst +0 -0
  25. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/attribute.rst +0 -0
  26. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/class.rst +0 -0
  27. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/data.rst +0 -0
  28. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/exception.rst +0 -0
  29. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/function.rst +0 -0
  30. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/method.rst +0 -0
  31. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/module.rst +0 -0
  32. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/package.rst +0 -0
  33. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/autoapi/python/property.rst +0 -0
  34. {barecat-0.3.0 → barecat-0.3.2}/docs/_templates/copyright.html +0 -0
  35. {barecat-0.3.0 → barecat-0.3.2}/docs/abbrev_long.bib +0 -0
  36. {barecat-0.3.0 → barecat-0.3.2}/docs/conf.py +0 -0
  37. {barecat-0.3.0 → barecat-0.3.2}/docs/explanation/architecture.rst +0 -0
  38. {barecat-0.3.0 → barecat-0.3.2}/docs/explanation/comparison.rst +0 -0
  39. {barecat-0.3.0 → barecat-0.3.2}/docs/explanation/integrity.rst +0 -0
  40. {barecat-0.3.0 → barecat-0.3.2}/docs/explanation/performance.rst +0 -0
  41. {barecat-0.3.0 → barecat-0.3.2}/docs/howto/automatic-encoding.rst +0 -0
  42. {barecat-0.3.0 → barecat-0.3.2}/docs/howto/convert-archives.rst +0 -0
  43. {barecat-0.3.0 → barecat-0.3.2}/docs/howto/merge-archives.rst +0 -0
  44. {barecat-0.3.0 → barecat-0.3.2}/docs/howto/mount-fuse.rst +0 -0
  45. {barecat-0.3.0 → barecat-0.3.2}/docs/howto/pytorch-dataloader.rst +0 -0
  46. {barecat-0.3.0 → barecat-0.3.2}/docs/howto/shell-completions.rst +0 -0
  47. {barecat-0.3.0 → barecat-0.3.2}/docs/howto/verify-repair.rst +0 -0
  48. {barecat-0.3.0 → barecat-0.3.2}/docs/index.rst +0 -0
  49. {barecat-0.3.0 → barecat-0.3.2}/docs/make.bat +0 -0
  50. {barecat-0.3.0 → barecat-0.3.2}/docs/reference/cli.rst +0 -0
  51. {barecat-0.3.0 → barecat-0.3.2}/docs/reference/file-format.rst +0 -0
  52. {barecat-0.3.0 → barecat-0.3.2}/docs/reference/python-api.rst +0 -0
  53. {barecat-0.3.0 → barecat-0.3.2}/docs/references.bib +0 -0
  54. {barecat-0.3.0 → barecat-0.3.2}/docs/requirements.txt +0 -0
  55. {barecat-0.3.0 → barecat-0.3.2}/docs/tutorials/getting-started.rst +0 -0
  56. {barecat-0.3.0 → barecat-0.3.2}/docs/tutorials/image-datasets.rst +0 -0
  57. {barecat-0.3.0 → barecat-0.3.2}/figure.png +0 -0
  58. {barecat-0.3.0 → barecat-0.3.2}/setup.cfg +0 -0
  59. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/__init__.py +0 -0
  60. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/__main__.py +0 -0
  61. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/cli/__init__.py +0 -0
  62. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/cli/commands.py +0 -0
  63. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/cli/completions.py +0 -0
  64. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/cli/impl.py +0 -0
  65. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/cli/legacy.py +0 -0
  66. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/cli/main.py +0 -0
  67. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/cli/shell.py +0 -0
  68. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/completions/__init__.py +0 -0
  69. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/completions/barecat.bash +0 -0
  70. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/completions/barecat.zsh +0 -0
  71. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/core/__init__.py +0 -0
  72. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/core/paths.py +0 -0
  73. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/core/sharder.py +0 -0
  74. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/core/types.py +0 -0
  75. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/exceptions.py +0 -0
  76. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/formats/__init__.py +0 -0
  77. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/formats/archive_formats.py +0 -0
  78. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/formats/from_tar_stream.py +0 -0
  79. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/formats/to_tar_stream.py +0 -0
  80. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/io/__init__.py +0 -0
  81. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/io/codecs.py +0 -0
  82. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/io/copyfile.py +0 -0
  83. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/io/fileobj.py +0 -0
  84. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/io/open.py +0 -0
  85. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/maintenance/__init__.py +0 -0
  86. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/maintenance/complete_database.py +0 -0
  87. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/maintenance/defrag.py +0 -0
  88. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/maintenance/merge.py +0 -0
  89. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/maintenance/reshard.py +0 -0
  90. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/maintenance/rsync.py +0 -0
  91. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/maintenance/upgrade_database.py +0 -0
  92. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/maintenance/upgrade_database2.py +0 -0
  93. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/man/barecat.1 +0 -0
  94. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/sql/indexes.sql +0 -0
  95. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/sql/schema.sql +0 -0
  96. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/sql/triggers.sql +0 -0
  97. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/tui/__init__.py +0 -0
  98. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/tui/browse.py +0 -0
  99. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/tui/ncdu.py +0 -0
  100. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/__init__.py +0 -0
  101. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/consumed_threadpool.py +0 -0
  102. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/glob_helper.py +0 -0
  103. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/glob_to_regex.py +0 -0
  104. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/list_files.py +0 -0
  105. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/misc.py +0 -0
  106. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/physical_order.py +0 -0
  107. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/progbar.py +0 -0
  108. {barecat-0.3.0 → barecat-0.3.2}/src/barecat/util/threading.py +0 -0
  109. {barecat-0.3.0 → barecat-0.3.2}/src/barecat.egg-info/dependency_links.txt +0 -0
  110. {barecat-0.3.0 → barecat-0.3.2}/src/barecat.egg-info/entry_points.txt +0 -0
  111. {barecat-0.3.0 → barecat-0.3.2}/src/barecat.egg-info/top_level.txt +0 -0
  112. {barecat-0.3.0 → barecat-0.3.2}/tests/test_barecat.py +0 -0
  113. {barecat-0.3.0 → barecat-0.3.2}/tests/test_cli.py +0 -0
  114. {barecat-0.3.0 → barecat-0.3.2}/tests/test_codecs.py +0 -0
  115. {barecat-0.3.0 → barecat-0.3.2}/tests/test_copyfile.py +0 -0
  116. {barecat-0.3.0 → barecat-0.3.2}/tests/test_dict_api.py +0 -0
  117. {barecat-0.3.0 → barecat-0.3.2}/tests/test_edge_cases.py +0 -0
  118. {barecat-0.3.0 → barecat-0.3.2}/tests/test_fileobj_api.py +0 -0
  119. {barecat-0.3.0 → barecat-0.3.2}/tests/test_glob_compliance.py +0 -0
  120. {barecat-0.3.0 → barecat-0.3.2}/tests/test_glob_to_regex_hypothesis.py +0 -0
  121. {barecat-0.3.0 → barecat-0.3.2}/tests/test_glob_to_sqlite.py +0 -0
  122. {barecat-0.3.0 → barecat-0.3.2}/tests/test_index.py +0 -0
  123. {barecat-0.3.0 → barecat-0.3.2}/tests/test_merge.py +0 -0
  124. {barecat-0.3.0 → barecat-0.3.2}/tests/test_open.py +0 -0
  125. {barecat-0.3.0 → barecat-0.3.2}/tests/test_rsync.py +0 -0
  126. {barecat-0.3.0 → barecat-0.3.2}/tests/test_shell.py +0 -0
@@ -29,7 +29,7 @@ jobs:
29
29
  run: python -m pip install --upgrade build
30
30
 
31
31
  - name: Build package distribution
32
- run: python -m build --sdist
32
+ run: python -m build # sdist and a universal wheel
33
33
 
34
34
  - name: Publish package distributions to PyPI
35
35
  uses: pypa/gh-action-pypi-publish@release/v1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: barecat
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: Scalable archive format for storing millions of small files with random access and SQLite indexing.
5
5
  Author-email: István Sárándi <istvan.sarandi@gmail.com>
6
6
  License: MIT License
@@ -56,6 +56,8 @@ Requires-Dist: crc32c
56
56
  Provides-Extra: test
57
57
  Requires-Dist: pytest>=7.0; extra == "test"
58
58
  Requires-Dist: pytest-cov; extra == "test"
59
+ Requires-Dist: hypothesis; extra == "test"
60
+ Requires-Dist: numpy; extra == "test"
59
61
  Provides-Extra: lint
60
62
  Requires-Dist: ruff; extra == "lint"
61
63
  Requires-Dist: pre-commit; extra == "lint"
@@ -98,6 +98,8 @@ barecat = ["completions/*.bash", "completions/*.zsh", "sql/*.sql", "man/*.1"]
98
98
  test = [
99
99
  "pytest>=7.0",
100
100
  "pytest-cov",
101
+ "hypothesis",
102
+ "numpy",
101
103
  ]
102
104
  lint = [
103
105
  "ruff",
@@ -118,14 +118,26 @@ def get_cached_reader(path, auto_codec=None):
118
118
  stacklevel=2,
119
119
  )
120
120
 
121
- # Thread-local LRU cache
122
- local = multiprocessing_utils.local()
123
- if not hasattr(local, '_cache'):
121
+ return _cached_reader_open(path, auto_codec)
124
122
 
125
- @functools.lru_cache()
126
- def _open(path, auto_codec):
127
- return Barecat(path, readonly=True, auto_codec=auto_codec)
128
123
 
129
- local._cache = _open
124
+ def _threadlocal_decorate(decorator):
125
+ import multiprocessing_utils
126
+
127
+ def my_decorator(fun):
128
+ local = multiprocessing_utils.local()
129
+
130
+ @functools.wraps(fun)
131
+ def wrapper(*args, **kwargs):
132
+ if not hasattr(local, 'fn'):
133
+ local.fn = decorator(fun)
134
+ return local.fn(*args, **kwargs)
135
+
136
+ return wrapper
137
+
138
+ return my_decorator
139
+
130
140
 
131
- return local._cache(path, auto_codec)
141
+ @_threadlocal_decorate(functools.lru_cache())
142
+ def _cached_reader_open(path, auto_codec=True):
143
+ return Barecat(path, readonly=True, auto_codec=auto_codec)
@@ -0,0 +1,24 @@
1
+ # file generated by vcs-versioning
2
+ # don't change, don't track in version control
3
+ from __future__ import annotations
4
+
5
+ __all__ = [
6
+ "__version__",
7
+ "__version_tuple__",
8
+ "version",
9
+ "version_tuple",
10
+ "__commit_id__",
11
+ "commit_id",
12
+ ]
13
+
14
+ version: str
15
+ __version__: str
16
+ __version_tuple__: tuple[int | str, ...]
17
+ version_tuple: tuple[int | str, ...]
18
+ commit_id: str | None
19
+ __commit_id__: str | None
20
+
21
+ __version__ = version = '0.3.2'
22
+ __version_tuple__ = version_tuple = (0, 3, 2)
23
+
24
+ __commit_id__ = commit_id = 'g8bae7ccf3'
@@ -214,7 +214,8 @@ class Barecat(MutableMapping[str, Any], AbstractContextManager):
214
214
  Returns:
215
215
  Iterator over file paths.
216
216
  """
217
- return self.files()
217
+ for finfo in self.index.iter_all_fileinfos():
218
+ yield finfo.path
218
219
 
219
220
  def values(self) -> Iterator[Union[bytes, Any]]:
220
221
  """Iterate over all file contents in the archive.
@@ -1201,7 +1202,7 @@ class Barecat(MutableMapping[str, Any], AbstractContextManager):
1201
1202
  n = self.num_files
1202
1203
  return f"Barecat('{self.path}', {mode}, {n} files)"
1203
1204
  except Exception:
1204
- return f"Barecat('{self.path}', {mode})"
1205
+ return f"Barecat('{self.path}', closed)"
1205
1206
 
1206
1207
  def __exit__(self, exc_type, exc_val, exc_tb):
1207
1208
  """Exit a context manager."""
@@ -88,7 +88,7 @@ class Index(AbstractContextManager):
88
88
  self.fetch_iter = self.fetcher.fetch_iter
89
89
  self.fetch_many = self.fetcher.fetch_many
90
90
 
91
- self._shard_size_limit_cached = None
91
+ self._shard_size_limit_cached: Optional[int] = None
92
92
 
93
93
  if is_new:
94
94
  sql_dir = osp.join(osp.dirname(__file__), '../sql')
@@ -601,7 +601,7 @@ class Index(AbstractContextManager):
601
601
 
602
602
  def listdir_infos(
603
603
  self, diritem: Union[BarecatDirInfo, str], order: Order = Order.ANY
604
- ) -> list[BarecatEntryInfo]:
604
+ ) -> list[Union[BarecatFileInfo, BarecatDirInfo]]:
605
605
  """List the file and directory info objects in a directory (non-recursively).
606
606
 
607
607
  Args:
@@ -938,7 +938,7 @@ class Index(AbstractContextManager):
938
938
  return self.fetch_one('SELECT coalesce(MAX(shard), -1) + 1 FROM files')[0]
939
939
 
940
940
  # WRITING
941
- def add(self, info: BarecatEntryInfo):
941
+ def add(self, info: Union[BarecatFileInfo, BarecatDirInfo]):
942
942
  """Add a file or directory to the index.
943
943
 
944
944
  Args:
@@ -1811,6 +1811,8 @@ class Index(AbstractContextManager):
1811
1811
  self.cursor.execute('DROP TRIGGER IF EXISTS del_subdir')
1812
1812
  self.cursor.execute('DROP TRIGGER IF EXISTS move_subdir')
1813
1813
  self.cursor.execute('DROP TRIGGER IF EXISTS resize_dir')
1814
+ self.cursor.execute('DROP TRIGGER IF EXISTS prevent_file_as_dir')
1815
+ self.cursor.execute('DROP TRIGGER IF EXISTS prevent_dir_as_file')
1814
1816
 
1815
1817
  # Drop indexes
1816
1818
  self.cursor.execute('DROP INDEX IF EXISTS idx_files_path')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: barecat
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: Scalable archive format for storing millions of small files with random access and SQLite indexing.
5
5
  Author-email: István Sárándi <istvan.sarandi@gmail.com>
6
6
  License: MIT License
@@ -56,6 +56,8 @@ Requires-Dist: crc32c
56
56
  Provides-Extra: test
57
57
  Requires-Dist: pytest>=7.0; extra == "test"
58
58
  Requires-Dist: pytest-cov; extra == "test"
59
+ Requires-Dist: hypothesis; extra == "test"
60
+ Requires-Dist: numpy; extra == "test"
59
61
  Provides-Extra: lint
60
62
  Requires-Dist: ruff; extra == "lint"
61
63
  Requires-Dist: pre-commit; extra == "lint"
@@ -54,6 +54,8 @@ src/barecat.egg-info/SOURCES.txt
54
54
  src/barecat.egg-info/dependency_links.txt
55
55
  src/barecat.egg-info/entry_points.txt
56
56
  src/barecat.egg-info/requires.txt
57
+ src/barecat.egg-info/scm_file_list.json
58
+ src/barecat.egg-info/scm_version.json
57
59
  src/barecat.egg-info/top_level.txt
58
60
  src/barecat/cli/__init__.py
59
61
  src/barecat/cli/commands.py
@@ -32,3 +32,5 @@ barecat-mount
32
32
  [test]
33
33
  pytest>=7.0
34
34
  pytest-cov
35
+ hypothesis
36
+ numpy
@@ -0,0 +1,118 @@
1
+ {
2
+ "files": [
3
+ ".github/workflows/ci.yml",
4
+ ".github/workflows/python-publish.yml",
5
+ ".gitignore",
6
+ ".pre-commit-config.yaml",
7
+ ".readthedocs.yaml",
8
+ "LICENSE",
9
+ "MANIFEST.in",
10
+ "Makefile",
11
+ "README.md",
12
+ "docs/Makefile",
13
+ "docs/_static/styles/my_theme.css",
14
+ "docs/_templates/autoapi/index.rst",
15
+ "docs/_templates/autoapi/python/attribute.rst",
16
+ "docs/_templates/autoapi/python/class.rst",
17
+ "docs/_templates/autoapi/python/data.rst",
18
+ "docs/_templates/autoapi/python/exception.rst",
19
+ "docs/_templates/autoapi/python/function.rst",
20
+ "docs/_templates/autoapi/python/method.rst",
21
+ "docs/_templates/autoapi/python/module.rst",
22
+ "docs/_templates/autoapi/python/package.rst",
23
+ "docs/_templates/autoapi/python/property.rst",
24
+ "docs/_templates/copyright.html",
25
+ "docs/abbrev_long.bib",
26
+ "docs/conf.py",
27
+ "docs/explanation/architecture.rst",
28
+ "docs/explanation/comparison.rst",
29
+ "docs/explanation/integrity.rst",
30
+ "docs/explanation/performance.rst",
31
+ "docs/howto/automatic-encoding.rst",
32
+ "docs/howto/convert-archives.rst",
33
+ "docs/howto/merge-archives.rst",
34
+ "docs/howto/mount-fuse.rst",
35
+ "docs/howto/pytorch-dataloader.rst",
36
+ "docs/howto/shell-completions.rst",
37
+ "docs/howto/verify-repair.rst",
38
+ "docs/index.rst",
39
+ "docs/make.bat",
40
+ "docs/reference/cli.rst",
41
+ "docs/reference/file-format.rst",
42
+ "docs/reference/python-api.rst",
43
+ "docs/references.bib",
44
+ "docs/requirements.txt",
45
+ "docs/tutorials/getting-started.rst",
46
+ "docs/tutorials/image-datasets.rst",
47
+ "figure.png",
48
+ "pyproject.toml",
49
+ "src/barecat/__init__.py",
50
+ "src/barecat/__main__.py",
51
+ "src/barecat/_api.py",
52
+ "src/barecat/cli/__init__.py",
53
+ "src/barecat/cli/commands.py",
54
+ "src/barecat/cli/completions.py",
55
+ "src/barecat/cli/impl.py",
56
+ "src/barecat/cli/legacy.py",
57
+ "src/barecat/cli/main.py",
58
+ "src/barecat/cli/shell.py",
59
+ "src/barecat/completions/__init__.py",
60
+ "src/barecat/completions/barecat.bash",
61
+ "src/barecat/completions/barecat.zsh",
62
+ "src/barecat/core/__init__.py",
63
+ "src/barecat/core/barecat.py",
64
+ "src/barecat/core/index.py",
65
+ "src/barecat/core/paths.py",
66
+ "src/barecat/core/sharder.py",
67
+ "src/barecat/core/types.py",
68
+ "src/barecat/exceptions.py",
69
+ "src/barecat/formats/__init__.py",
70
+ "src/barecat/formats/archive_formats.py",
71
+ "src/barecat/formats/from_tar_stream.py",
72
+ "src/barecat/formats/to_tar_stream.py",
73
+ "src/barecat/io/__init__.py",
74
+ "src/barecat/io/codecs.py",
75
+ "src/barecat/io/copyfile.py",
76
+ "src/barecat/io/fileobj.py",
77
+ "src/barecat/io/open.py",
78
+ "src/barecat/maintenance/__init__.py",
79
+ "src/barecat/maintenance/complete_database.py",
80
+ "src/barecat/maintenance/defrag.py",
81
+ "src/barecat/maintenance/merge.py",
82
+ "src/barecat/maintenance/reshard.py",
83
+ "src/barecat/maintenance/rsync.py",
84
+ "src/barecat/maintenance/upgrade_database.py",
85
+ "src/barecat/maintenance/upgrade_database2.py",
86
+ "src/barecat/man/barecat.1",
87
+ "src/barecat/sql/indexes.sql",
88
+ "src/barecat/sql/schema.sql",
89
+ "src/barecat/sql/triggers.sql",
90
+ "src/barecat/tui/__init__.py",
91
+ "src/barecat/tui/browse.py",
92
+ "src/barecat/tui/ncdu.py",
93
+ "src/barecat/util/__init__.py",
94
+ "src/barecat/util/consumed_threadpool.py",
95
+ "src/barecat/util/glob_helper.py",
96
+ "src/barecat/util/glob_to_regex.py",
97
+ "src/barecat/util/list_files.py",
98
+ "src/barecat/util/misc.py",
99
+ "src/barecat/util/physical_order.py",
100
+ "src/barecat/util/progbar.py",
101
+ "src/barecat/util/threading.py",
102
+ "tests/test_barecat.py",
103
+ "tests/test_cli.py",
104
+ "tests/test_codecs.py",
105
+ "tests/test_copyfile.py",
106
+ "tests/test_dict_api.py",
107
+ "tests/test_edge_cases.py",
108
+ "tests/test_fileobj_api.py",
109
+ "tests/test_glob_compliance.py",
110
+ "tests/test_glob_to_regex_hypothesis.py",
111
+ "tests/test_glob_to_sqlite.py",
112
+ "tests/test_index.py",
113
+ "tests/test_merge.py",
114
+ "tests/test_open.py",
115
+ "tests/test_rsync.py",
116
+ "tests/test_shell.py"
117
+ ]
118
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.3.2",
3
+ "distance": 0,
4
+ "node": "g8bae7ccf3e7e83bc0e86f2ba6bea61fa8f9d9de5",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-11-05"
8
+ }
@@ -1,34 +0,0 @@
1
- # file generated by setuptools-scm
2
- # don't change, don't track in version control
3
-
4
- __all__ = [
5
- "__version__",
6
- "__version_tuple__",
7
- "version",
8
- "version_tuple",
9
- "__commit_id__",
10
- "commit_id",
11
- ]
12
-
13
- TYPE_CHECKING = False
14
- if TYPE_CHECKING:
15
- from typing import Tuple
16
- from typing import Union
17
-
18
- VERSION_TUPLE = Tuple[Union[int, str], ...]
19
- COMMIT_ID = Union[str, None]
20
- else:
21
- VERSION_TUPLE = object
22
- COMMIT_ID = object
23
-
24
- version: str
25
- __version__: str
26
- __version_tuple__: VERSION_TUPLE
27
- version_tuple: VERSION_TUPLE
28
- commit_id: COMMIT_ID
29
- __commit_id__: COMMIT_ID
30
-
31
- __version__ = version = '0.3.0'
32
- __version_tuple__ = version_tuple = (0, 3, 0)
33
-
34
- __commit_id__ = commit_id = 'gf8e226d3f'
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
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