dirsql 0.3.52__tar.gz → 0.3.53__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 (123) hide show
  1. {dirsql-0.3.52 → dirsql-0.3.53}/Cargo.lock +1 -4
  2. {dirsql-0.3.52 → dirsql-0.3.53}/PKG-INFO +1 -1
  3. {dirsql-0.3.52/packages/rust → dirsql-0.3.53}/docs/guide/querying.md +9 -9
  4. {dirsql-0.3.52/packages/rust → dirsql-0.3.53}/docs/guide/tables.md +12 -12
  5. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/Cargo.toml +1 -1
  6. {dirsql-0.3.52 → dirsql-0.3.53/packages/python}/docs/guide/querying.md +9 -9
  7. {dirsql-0.3.52 → dirsql-0.3.53/packages/python}/docs/guide/tables.md +12 -12
  8. {dirsql-0.3.52/packages/python → dirsql-0.3.53/packages/rust}/docs/guide/querying.md +9 -9
  9. {dirsql-0.3.52/packages/python → dirsql-0.3.53/packages/rust}/docs/guide/tables.md +12 -12
  10. {dirsql-0.3.52 → dirsql-0.3.53}/Cargo.toml +0 -0
  11. {dirsql-0.3.52 → dirsql-0.3.53}/README.md +0 -0
  12. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/__init__.py +0 -0
  13. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/_async.py +0 -0
  14. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/_dirsql.pyi +0 -0
  15. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/cli/__init__.py +0 -0
  16. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/cli/binary_path.py +0 -0
  17. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/cli/interpret/__init__.py +0 -0
  18. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/cli/is_windows.py +0 -0
  19. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/cli/main.py +0 -0
  20. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/cli/resolve_config_extensions.py +0 -0
  21. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/py.typed +0 -0
  22. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/resolve_config_extensions.py +0 -0
  23. {dirsql-0.3.52 → dirsql-0.3.53}/dirsql/resolve_extension.py +0 -0
  24. {dirsql-0.3.52 → dirsql-0.3.53}/docs/.claude/CLAUDE.md +0 -0
  25. {dirsql-0.3.52 → dirsql-0.3.53}/docs/.vitepress/config.ts +0 -0
  26. {dirsql-0.3.52 → dirsql-0.3.53}/docs/.vitepress/theme/index.ts +0 -0
  27. {dirsql-0.3.52 → dirsql-0.3.53}/docs/.vitepress/theme/lang.ts +0 -0
  28. {dirsql-0.3.52 → dirsql-0.3.53}/docs/AGENTS.md +0 -0
  29. {dirsql-0.3.52 → dirsql-0.3.53}/docs/api/index.md +0 -0
  30. {dirsql-0.3.52 → dirsql-0.3.53}/docs/cli/config.md +0 -0
  31. {dirsql-0.3.52 → dirsql-0.3.53}/docs/cli/http-api.md +0 -0
  32. {dirsql-0.3.52 → dirsql-0.3.53}/docs/cli/index.md +0 -0
  33. {dirsql-0.3.52 → dirsql-0.3.53}/docs/cli/init.md +0 -0
  34. {dirsql-0.3.52 → dirsql-0.3.53}/docs/cli/server.md +0 -0
  35. {dirsql-0.3.52 → dirsql-0.3.53}/docs/getting-started.md +0 -0
  36. {dirsql-0.3.52 → dirsql-0.3.53}/docs/guide/async.md +0 -0
  37. {dirsql-0.3.52 → dirsql-0.3.53}/docs/guide/crdt.md +0 -0
  38. {dirsql-0.3.52 → dirsql-0.3.53}/docs/guide/persistence.md +0 -0
  39. {dirsql-0.3.52 → dirsql-0.3.53}/docs/guide/watching.md +0 -0
  40. {dirsql-0.3.52 → dirsql-0.3.53}/docs/index.md +0 -0
  41. {dirsql-0.3.52 → dirsql-0.3.53}/docs/migrations.md +0 -0
  42. {dirsql-0.3.52 → dirsql-0.3.53}/docs/package.json +0 -0
  43. {dirsql-0.3.52 → dirsql-0.3.53}/docs/playwright.config.ts +0 -0
  44. {dirsql-0.3.52 → dirsql-0.3.53}/docs/pnpm-lock.yaml +0 -0
  45. {dirsql-0.3.52 → dirsql-0.3.53}/docs/pnpm-workspace.yaml +0 -0
  46. {dirsql-0.3.52 → dirsql-0.3.53}/docs/tests/integration/home.spec.ts +0 -0
  47. {dirsql-0.3.52 → dirsql-0.3.53}/docs/tests/integration/language-flag.spec.ts +0 -0
  48. {dirsql-0.3.52 → dirsql-0.3.53}/docs/tests/integration/sidebar.spec.ts +0 -0
  49. {dirsql-0.3.52 → dirsql-0.3.53}/docs/tests/unit/config.test.ts +0 -0
  50. {dirsql-0.3.52 → dirsql-0.3.53}/docs/tests/unit/lang.test.ts +0 -0
  51. {dirsql-0.3.52 → dirsql-0.3.53}/docs/vitest.config.ts +0 -0
  52. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/README.md +0 -0
  53. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/conftest.py +0 -0
  54. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/.claude/CLAUDE.md +0 -0
  55. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/.vitepress/config.ts +0 -0
  56. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/.vitepress/theme/index.ts +0 -0
  57. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/.vitepress/theme/lang.ts +0 -0
  58. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/AGENTS.md +0 -0
  59. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/api/index.md +0 -0
  60. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/cli/config.md +0 -0
  61. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/cli/http-api.md +0 -0
  62. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/cli/index.md +0 -0
  63. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/cli/init.md +0 -0
  64. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/cli/server.md +0 -0
  65. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/getting-started.md +0 -0
  66. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/guide/async.md +0 -0
  67. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/guide/crdt.md +0 -0
  68. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/guide/persistence.md +0 -0
  69. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/guide/watching.md +0 -0
  70. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/index.md +0 -0
  71. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/migrations.md +0 -0
  72. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/package.json +0 -0
  73. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/playwright.config.ts +0 -0
  74. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/pnpm-lock.yaml +0 -0
  75. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/pnpm-workspace.yaml +0 -0
  76. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/tests/integration/home.spec.ts +0 -0
  77. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/tests/integration/language-flag.spec.ts +0 -0
  78. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/tests/integration/sidebar.spec.ts +0 -0
  79. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/tests/unit/config.test.ts +0 -0
  80. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/tests/unit/lang.test.ts +0 -0
  81. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/docs/vitest.config.ts +0 -0
  82. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/e2e-attestation.json +0 -0
  83. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/src/lib.rs +0 -0
  84. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/tests/__init__.py +0 -0
  85. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/tests/conftest.py +0 -0
  86. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/tests/e2e/__init__.py +0 -0
  87. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/tests/integration/__init__.py +0 -0
  88. {dirsql-0.3.52 → dirsql-0.3.53}/packages/python/tests/smoke/__init__.py +0 -0
  89. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/Cargo.toml +0 -0
  90. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/README.md +0 -0
  91. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/benches/db_bench.rs +0 -0
  92. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/benches/differ_bench.rs +0 -0
  93. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/benches/matcher_bench.rs +0 -0
  94. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/benches/scanner_bench.rs +0 -0
  95. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/api/index.md +0 -0
  96. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/cli/config.md +0 -0
  97. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/cli/http-api.md +0 -0
  98. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/cli/index.md +0 -0
  99. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/cli/init.md +0 -0
  100. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/cli/server.md +0 -0
  101. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/getting-started.md +0 -0
  102. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/guide/async.md +0 -0
  103. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/guide/crdt.md +0 -0
  104. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/guide/persistence.md +0 -0
  105. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/guide/watching.md +0 -0
  106. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/index.md +0 -0
  107. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/docs/migrations.md +0 -0
  108. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/bin/dirsql.rs +0 -0
  109. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/cli/init.rs +0 -0
  110. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/cli/mod.rs +0 -0
  111. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/cli/router.rs +0 -0
  112. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/cli/serialize.rs +0 -0
  113. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/cli/server.rs +0 -0
  114. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/command.rs +0 -0
  115. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/config.rs +0 -0
  116. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/db.rs +0 -0
  117. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/differ.rs +0 -0
  118. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/lib.rs +0 -0
  119. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/matcher.rs +0 -0
  120. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/persist.rs +0 -0
  121. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/scanner.rs +0 -0
  122. {dirsql-0.3.52 → dirsql-0.3.53}/packages/rust/src/watcher.rs +0 -0
  123. {dirsql-0.3.52 → dirsql-0.3.53}/pyproject.toml +0 -0
@@ -496,12 +496,11 @@ dependencies = [
496
496
  "napi",
497
497
  "napi-build",
498
498
  "napi-derive",
499
- "serde_json",
500
499
  ]
501
500
 
502
501
  [[package]]
503
502
  name = "dirsql-py-ext"
504
- version = "0.3.52"
503
+ version = "0.3.53"
505
504
  dependencies = [
506
505
  "dirsql",
507
506
  "pyo3",
@@ -1373,8 +1372,6 @@ dependencies = [
1373
1372
  "napi-sys",
1374
1373
  "nohash-hasher",
1375
1374
  "rustc-hash",
1376
- "serde",
1377
- "serde_json",
1378
1375
  ]
1379
1376
 
1380
1377
  [[package]]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dirsql
3
- Version: 0.3.52
3
+ Version: 0.3.53
4
4
  Requires-Dist: pytest>=8 ; extra == 'dev'
5
5
  Requires-Dist: pytest-describe>=2 ; extra == 'dev'
6
6
  Requires-Dist: pytest-asyncio>=0.23 ; extra == 'dev'
@@ -103,15 +103,15 @@ const results = await db.query('SELECT title, author FROM posts');
103
103
 
104
104
  :::
105
105
 
106
- SQLite types map back to Python types:
107
-
108
- | SQLite type | Python type |
109
- |-------------|-------------|
110
- | TEXT | `str` |
111
- | INTEGER | `int` |
112
- | REAL | `float` |
113
- | BLOB | `bytes` |
114
- | NULL | `None` |
106
+ SQLite types map back to language types:
107
+
108
+ | SQLite type | Python | TypeScript | Rust |
109
+ |-------------|---------|------------|------------------|
110
+ | TEXT | `str` | `string` | `Value::Text` |
111
+ | INTEGER | `int` | `number` | `Value::Integer` |
112
+ | REAL | `float` | `number` | `Value::Real` |
113
+ | BLOB | `bytes` | `Buffer` | `Value::Blob` |
114
+ | NULL | `None` | `null` | `Value::Null` |
115
115
 
116
116
  ## Internal columns
117
117
 
@@ -255,15 +255,15 @@ Ignore patterns are applied before glob matching. Any file matching an ignore pa
255
255
 
256
256
  ## Supported value types
257
257
 
258
- The extract function can return these Python types, which map to SQLite types:
259
-
260
- | Python type | SQLite type |
261
- |-------------|-------------|
262
- | `str` | TEXT |
263
- | `int` | INTEGER |
264
- | `float` | REAL |
265
- | `bool` | INTEGER (0/1) |
266
- | `bytes` | BLOB |
267
- | `None` | NULL |
268
-
269
- Any other type is converted to its string representation via `str()`.
258
+ The extract function can return these types, which map to SQLite types:
259
+
260
+ | SQLite type | Python | TypeScript | Rust |
261
+ |---------------|---------|-------------------------|------------------|
262
+ | TEXT | `str` | `string` | `Value::Text` |
263
+ | INTEGER | `int` | integral `number` | `Value::Integer` |
264
+ | REAL | `float` | fractional `number` | `Value::Real` |
265
+ | INTEGER (0/1) | `bool` | `boolean` | `Value::Integer` |
266
+ | BLOB | `bytes` | `Buffer` / `Uint8Array` | `Value::Blob` |
267
+ | NULL | `None` | `null` / `undefined` | `Value::Null` |
268
+
269
+ Any other type is converted to its string representation (`str()` in Python, string coercion in TypeScript).
@@ -4,7 +4,7 @@ name = "dirsql-py-ext"
4
4
  # pypi/maturin handler can rewrite it via `write-version` before
5
5
  # `maturin build`. `pyproject.toml` declares `dynamic = ["version"]`
6
6
  # and maturin reads this field. Mirrors `packages/rust/Cargo.toml`.
7
- version = "0.3.52"
7
+ version = "0.3.53"
8
8
  edition.workspace = true
9
9
  publish = false
10
10
  readme = "README.md"
@@ -103,15 +103,15 @@ const results = await db.query('SELECT title, author FROM posts');
103
103
 
104
104
  :::
105
105
 
106
- SQLite types map back to Python types:
107
-
108
- | SQLite type | Python type |
109
- |-------------|-------------|
110
- | TEXT | `str` |
111
- | INTEGER | `int` |
112
- | REAL | `float` |
113
- | BLOB | `bytes` |
114
- | NULL | `None` |
106
+ SQLite types map back to language types:
107
+
108
+ | SQLite type | Python | TypeScript | Rust |
109
+ |-------------|---------|------------|------------------|
110
+ | TEXT | `str` | `string` | `Value::Text` |
111
+ | INTEGER | `int` | `number` | `Value::Integer` |
112
+ | REAL | `float` | `number` | `Value::Real` |
113
+ | BLOB | `bytes` | `Buffer` | `Value::Blob` |
114
+ | NULL | `None` | `null` | `Value::Null` |
115
115
 
116
116
  ## Internal columns
117
117
 
@@ -255,15 +255,15 @@ Ignore patterns are applied before glob matching. Any file matching an ignore pa
255
255
 
256
256
  ## Supported value types
257
257
 
258
- The extract function can return these Python types, which map to SQLite types:
259
-
260
- | Python type | SQLite type |
261
- |-------------|-------------|
262
- | `str` | TEXT |
263
- | `int` | INTEGER |
264
- | `float` | REAL |
265
- | `bool` | INTEGER (0/1) |
266
- | `bytes` | BLOB |
267
- | `None` | NULL |
268
-
269
- Any other type is converted to its string representation via `str()`.
258
+ The extract function can return these types, which map to SQLite types:
259
+
260
+ | SQLite type | Python | TypeScript | Rust |
261
+ |---------------|---------|-------------------------|------------------|
262
+ | TEXT | `str` | `string` | `Value::Text` |
263
+ | INTEGER | `int` | integral `number` | `Value::Integer` |
264
+ | REAL | `float` | fractional `number` | `Value::Real` |
265
+ | INTEGER (0/1) | `bool` | `boolean` | `Value::Integer` |
266
+ | BLOB | `bytes` | `Buffer` / `Uint8Array` | `Value::Blob` |
267
+ | NULL | `None` | `null` / `undefined` | `Value::Null` |
268
+
269
+ Any other type is converted to its string representation (`str()` in Python, string coercion in TypeScript).
@@ -103,15 +103,15 @@ const results = await db.query('SELECT title, author FROM posts');
103
103
 
104
104
  :::
105
105
 
106
- SQLite types map back to Python types:
107
-
108
- | SQLite type | Python type |
109
- |-------------|-------------|
110
- | TEXT | `str` |
111
- | INTEGER | `int` |
112
- | REAL | `float` |
113
- | BLOB | `bytes` |
114
- | NULL | `None` |
106
+ SQLite types map back to language types:
107
+
108
+ | SQLite type | Python | TypeScript | Rust |
109
+ |-------------|---------|------------|------------------|
110
+ | TEXT | `str` | `string` | `Value::Text` |
111
+ | INTEGER | `int` | `number` | `Value::Integer` |
112
+ | REAL | `float` | `number` | `Value::Real` |
113
+ | BLOB | `bytes` | `Buffer` | `Value::Blob` |
114
+ | NULL | `None` | `null` | `Value::Null` |
115
115
 
116
116
  ## Internal columns
117
117
 
@@ -255,15 +255,15 @@ Ignore patterns are applied before glob matching. Any file matching an ignore pa
255
255
 
256
256
  ## Supported value types
257
257
 
258
- The extract function can return these Python types, which map to SQLite types:
259
-
260
- | Python type | SQLite type |
261
- |-------------|-------------|
262
- | `str` | TEXT |
263
- | `int` | INTEGER |
264
- | `float` | REAL |
265
- | `bool` | INTEGER (0/1) |
266
- | `bytes` | BLOB |
267
- | `None` | NULL |
268
-
269
- Any other type is converted to its string representation via `str()`.
258
+ The extract function can return these types, which map to SQLite types:
259
+
260
+ | SQLite type | Python | TypeScript | Rust |
261
+ |---------------|---------|-------------------------|------------------|
262
+ | TEXT | `str` | `string` | `Value::Text` |
263
+ | INTEGER | `int` | integral `number` | `Value::Integer` |
264
+ | REAL | `float` | fractional `number` | `Value::Real` |
265
+ | INTEGER (0/1) | `bool` | `boolean` | `Value::Integer` |
266
+ | BLOB | `bytes` | `Buffer` / `Uint8Array` | `Value::Blob` |
267
+ | NULL | `None` | `null` / `undefined` | `Value::Null` |
268
+
269
+ Any other type is converted to its string representation (`str()` in Python, string coercion in TypeScript).
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