Skip to content

Add table-native backends, CLI, benchmarks, and PyMongo compatibility#68

Merged
schapman1974 merged 4 commits into
masterfrom
feature/storage-backends-pypi
Jul 9, 2026
Merged

Add table-native backends, CLI, benchmarks, and PyMongo compatibility#68
schapman1974 merged 4 commits into
masterfrom
feature/storage-backends-pypi

Conversation

@schapman1974

@schapman1974 schapman1974 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • add CLI commands for inspecting, importing, exporting, and migrating TinyMongo data
  • move SQLite, DuckDB, and Parquet from blob-style storage to table-native collection backends
  • compile supported Mongo-style filters into SQL over _id and JSON document payloads, with Python fallback for unsupported shapes
  • add legacy blob-file migration for SQLite and DuckDB files when opened
  • document TinyDB, table-native SQLite, table-native DuckDB, and DuckDB-managed Parquet backends with refreshed benchmark results
  • add integration stress tests for concurrent writes and fix default JSON storage races with atomic locked writes
  • expand PyMongo-style compatibility with MongoClient URI handling, constants, server/listing helpers, and contract tests
  • broaden unit coverage for query/update/index/result/error/CLI/table backend behavior

Verification

  • .venv/bin/python -m coverage run -m pytest -q
  • .venv/bin/python -m pytest -q -m integration tests/integration/test_concurrent_writes.py
  • .venv/bin/python -m coverage report --include='tinymongo/*' -> 100%
  • .venv/bin/python -m ruff check .
  • .venv/bin/python -m build
  • .venv/bin/python -m twine check dist/*
  • .venv/bin/python tests/benchmarks/bench_storage.py --docs 1000 --queries 200 --json-output /tmp/tinymongo-table-backend-load-1000.json

@schapman1974 schapman1974 changed the title Correct storage backend documentation Add storage backends, CLI, benchmarks, and PyMongo compatibility Jul 9, 2026
@schapman1974
schapman1974 merged commit 9b23fa3 into master Jul 9, 2026
3 checks passed
@schapman1974 schapman1974 changed the title Add storage backends, CLI, benchmarks, and PyMongo compatibility Add table-native backends, CLI, benchmarks, and PyMongo compatibility Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant