file_query_text 0.1.10__tar.gz → 0.1.11__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: file_query_text
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: SQL-like interface for querying files in your filesystem
5
5
  Author-email: nik <42a11b@nikdav.is>
6
6
  License-Expression: MIT
@@ -2,4 +2,4 @@
2
2
  SQL-like interface for querying files in your filesystem.
3
3
  """
4
4
 
5
- __version__ = "0.1.10"
5
+ __version__ = "0.1.11"
@@ -86,7 +86,7 @@ def main():
86
86
  if args.debug:
87
87
  # Print all attributes in debug mode
88
88
  attrs = get_file_attributes(file_path)
89
- print(f"{attrs['extension']:<15} {attrs['name']:<30} {attrs['size']:<10} {attrs['relative_path']}")
89
+ print(f"{attrs['extension']:<15} {attrs['name']:<30} {attrs['size']:<10} {attrs['path']}")
90
90
  else:
91
91
  # Standard output
92
92
  print(file_path)
@@ -193,7 +193,6 @@ def get_file_attributes(file_path):
193
193
  "name": os.path.basename(file_path),
194
194
  "size": os.path.getsize(file_path),
195
195
  "path": rel_path, # Use relative path for consistency
196
- "absolute_path": file_path, # Keep the absolute path as well
197
196
  }
198
197
  return attributes
199
198
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: file_query_text
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: SQL-like interface for querying files in your filesystem
5
5
  Author-email: nik <42a11b@nikdav.is>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "file_query_text"
7
- version = "0.1.10"
7
+ version = "0.1.11"
8
8
  description = "SQL-like interface for querying files in your filesystem"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"