fastdb4py 0.2.0__tar.gz → 0.2.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.
- fastdb4py-0.2.2/PKG-INFO +206 -0
- fastdb4py-0.2.2/README.md +195 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/CMakeLists.txt +2 -2
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/CMakeLists.txt +9 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/include/fastdb_payload.h +11 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/BuildPlan.cpp +2 -1
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/PayloadBuilder.cpp +41 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/PayloadBuilder.hpp +18 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/json/Jcs.cpp +4 -1
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/json/JsonDocument.cpp +11 -7
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/GraphLayout.cpp +11 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/RecordLayout.cpp +13 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/RuntimeSchema.cpp +27 -4
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/RuntimeSchema.hpp +16 -1
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/Parse.cpp +4 -1
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/pyproject.toml +1 -1
- fastdb4py-0.2.2/python/fastdb4py.egg-info/PKG-INFO +206 -0
- fastdb4py-0.2.0/PKG-INFO +0 -316
- fastdb4py-0.2.0/README.md +0 -305
- fastdb4py-0.2.0/python/fastdb4py.egg-info/PKG-INFO +0 -316
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/LICENSE +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/MANIFEST.in +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/THIRD_PARTY_NOTICES.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/cmake/FastdbCMakeMinimumRequired.cmake +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/dump-fastdb/CMakeLists.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/dump-fastdb/dump-fastdb-ex.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/include/fastdb-config.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/include/fastdb-geometry-utils.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/include/fastdb.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/include/fastdb_payload.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorDb.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorDbBuild.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorDbBuild_p.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorDbLayer.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorDbLayerBuild.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorDbLayerBuild_p.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorDbLayer_p.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorDb_p.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorTileDb.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/FastVectorTileDb_p.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/TileBoxTake.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/TileBoxTake_p.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/abi/Handles.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/abi/fastdb_payload.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/backing/Backing.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/backing/Backing.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/backing/HeapBacking.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/backing/HeapBacking.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/BuildPlan.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/ByteSink.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/ExecutionReport.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/GraphAuthoring.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/GraphAuthoring.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/GraphEncoder.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/GraphEncoder.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/RecordEncoder.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/RecordEncoder.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/ValueArena.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/build/ValueArena.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/Artifact.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/Artifact.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/Generator.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/Generator.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/Identifier.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/Identifier.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/RenderCpp.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/RenderPython.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/RenderRust.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/RenderTypeScript.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/codegen/Renderer.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/error/Error.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/error/Error.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/error/Result.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/identity/Sha256.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/identity/Sha256.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/json/Jcs.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/json/JsonDocument.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/json/JsonPointer.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/json/JsonPointer.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/json/JsonValue.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/json/JsonValue.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/BinaryFormat.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/CheckedMath.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/GraphLayout.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/InputSpan.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/InputSpan.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/LayoutFacts.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/NormalizedInteger.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/NormalizedInteger.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/RecordLayout.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/TextEncoding.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/layout/TextEncoding.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/CompiledSpec.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/CompiledSpec.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/EmbeddedSchemas.inc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/Manifest.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/Manifest.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/Model.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/Parse.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/Resolve.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/Resolve.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/RuntimeTopology.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/RuntimeTopology.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/SchemaRepository.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/spec/SchemaRepository.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/AccessBarrier.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/AccessBarrier.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/GraphMaterialize.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/GraphOpen.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/GraphOpen.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/GraphView.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/Materialize.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/Materialize.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/Open.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/Open.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/OpenCommon.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/OpenCommon.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/PayloadOwner.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/PayloadOwner.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/View.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/src/payload/view/View.hpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/swig/fastdb4go.i +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/swig/fastdb4py.i +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/fastdb/swig/numpy.i +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/CMakeLists.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/.gitignore +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/BenchMark/CMakeLists.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/BenchMark/GetIntersectPtBenchmark.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/BenchMark/PointInPolygonBenchmark.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/BenchMark/README.md +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/BenchMark/StripDuplicateBenchmark.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/CMakeLists.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2.pc.cmakein +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Config.cmake.in +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/include/clipper2/clipper.core.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/include/clipper2/clipper.engine.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/include/clipper2/clipper.export.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/include/clipper2/clipper.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/include/clipper2/clipper.minkowski.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/include/clipper2/clipper.offset.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/include/clipper2/clipper.rectclip.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/include/clipper2/clipper.version.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/src/clipper.engine.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/src/clipper.offset.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Clipper2Lib/src/clipper.rectclip.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/Benchmarks/Benchmarks.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/Inflate/Inflate.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/Inflate/rabbit.svg +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/MemLeakTest/MemLeakTest.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/PolygonSamples/PolygonSamples.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/RandomClipping/RandomClipping.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/RectClipping/RectClipping.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/SimpleClipping/SimpleClipping.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/UnionClipping/UnionClipping.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/UsingZ/UsingZ.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Examples/VariableOffset/VariableOffset.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/GoogleTest in Visual Studio.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestExportHeaders.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestIsCollinear.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestLines.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestOffsetOrientation.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestOffsets.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestOrientation.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestPolygons.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestPolytreeHoles.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestPolytreeIntersection.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestPolytreeUnion.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestRandomPaths.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestRect.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestRectClip.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestSimplifyPath.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestTrimCollinear.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Tests/TestWindows.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/ClipFileLoad.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/ClipFileLoad.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/ClipFileSave.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/ClipFileSave.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/Colors.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/CommonUtils.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/Timer.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/clipper.svg.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/clipper.svg.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/Utils/clipper.svg.utils.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/clipper/clipper.version.in +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/LICENSE +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/UPSTREAM.md +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/bignum-dtoa.cc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/bignum-dtoa.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/bignum.cc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/bignum.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/cached-powers.cc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/cached-powers.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/diy-fp.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/double-conversion.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/double-to-string.cc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/double-to-string.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/fast-dtoa.cc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/fast-dtoa.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/fixed-dtoa.cc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/fixed-dtoa.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/ieee.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/string-to-double.cc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/string-to-double.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/strtod.cc +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/strtod.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/double-conversion/double-conversion/utils.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/CMakeLists.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/Makefile.am +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/Makefile.in +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/config-msvc.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/config.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/control_points.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/debug.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gaiaaux.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gaiaconfig-msvc.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gaiaconfig.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gaiaconfig.h.in +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gaiaexif.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gaiageo.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/geojson.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_advanced.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_const.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_core.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_dxf.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_dynamic.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_formats.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_mbr.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_sequence.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_structs.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_wfs.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/gg_xml.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite/stored_procedures.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/headers/spatialite_private.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/Ewkt.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/Ewkt.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/Gml.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/Gml.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/Kml.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/Kml.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/Makefile.am +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/Makefile.in +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/geoJSON.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/geoJSON.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_advanced.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_endian.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_ewkt.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_extras.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_geoJSON.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_geometries.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_kml.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_shape.cx +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_vanuatu.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_voronoj.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_wkb.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/gg_wkt.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/lex.Ewkt.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/lex.GeoJson.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/lex.Gml.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/lex.Kml.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/lex.VanuatuWkt.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/sqlite.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/vanuatuWkt.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gaiageo/src/vanuatuWkt.inl +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gpc/CMakeLists.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gpc/Makefile.am +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gpc/VERSIONS.TXT +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gpc/copying.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gpc/gpc.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/gpc/gpc.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/picosha2/LICENSE +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/picosha2/UPSTREAM.md +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/picosha2/picosha2.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/yyjson/LICENSE +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/yyjson/UPSTREAM.md +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/yyjson/src/yyjson.c +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/lib/yyjson/src/yyjson.h +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/make-fastdb/CMakeLists.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/fastcarto/make-fastdb/make-fast-db-ex.cpp +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/.gitignore +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/README.md +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/__init__.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/cli.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/column_view.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/decorator.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/feature/__init__.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/layout.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/materialize.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/object_engine.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/orm/__init__.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/orm/table.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/payload/__init__.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/payload/_builder.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/payload/_codegen.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/payload/_error.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/payload/_ffi.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/payload/_runtime.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/payload/_spec.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/push.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/push_compiler.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/reader.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/record_engine.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/registry.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/serializer.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/string_column.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/type.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py/view_owner.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py.egg-info/SOURCES.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py.egg-info/dependency_links.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py.egg-info/entry_points.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py.egg-info/not-zip-safe +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py.egg-info/requires.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/python/fastdb4py.egg-info/top_level.txt +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/schemas/README.md +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/schemas/fastdb.payload.bin.v1.md +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/schemas/fastdb.payload.manifest.v1.schema.json +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/schemas/fastdb.payload.v1.schema.json +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/schemas/fastdb.payload.v1.schema.sha256 +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/setup.cfg +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/setup.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/tools/generate_third_party_notices.py +0 -0
- {fastdb4py-0.2.0 → fastdb4py-0.2.2}/tools/vendor_portable_payload_deps.sh +0 -0
fastdb4py-0.2.2/PKG-INFO
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fastdb4py
|
|
3
|
+
Version: 0.2.2
|
|
4
|
+
Summary: FastCarto database bindings
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
License-File: THIRD_PARTY_NOTICES.txt
|
|
9
|
+
Requires-Dist: numpy
|
|
10
|
+
Dynamic: license-file
|
|
11
|
+
|
|
12
|
+
# fastdb
|
|
13
|
+
|
|
14
|
+
[](https://badge.fury.io/py/fastdb4py)
|
|
15
|
+
[](https://badge.fury.io/js/fastdb4ts)
|
|
16
|
+
[](https://github.com/world-in-progress/fastdb/actions/workflows/tests.yml)
|
|
17
|
+
|
|
18
|
+
FastDB is an embedded C++ data layer for scientific computing and RPC payload
|
|
19
|
+
work. It stores typed record tables and object graphs in a compact binary
|
|
20
|
+
format, and defines `fastdb.payload.v1`, a portable payload format with
|
|
21
|
+
canonical identity (RFC 8785 canonical JSON plus SHA-256) and a deterministic
|
|
22
|
+
binary layout, so the same data means the same bytes in every language.
|
|
23
|
+
|
|
24
|
+
FastDB is an in-process library, not a database server: there is no network
|
|
25
|
+
protocol, query planner, or SQL surface. One C++ core owns portable-payload
|
|
26
|
+
schema compilation, canonicalization, binary layout, and lifetime semantics.
|
|
27
|
+
The Rust, Python, and TypeScript/WASM portable APIs project that core through
|
|
28
|
+
a stable C ABI.
|
|
29
|
+
|
|
30
|
+
## What you can do with it
|
|
31
|
+
|
|
32
|
+
- **Typed record tables** — declare plain classes with typed fields
|
|
33
|
+
(`U32`, `F64`, `STR`, ...), fill fixed-size tables in bulk, and read them
|
|
34
|
+
back row-wise or column-wise. In Python, numeric columns are exposed as
|
|
35
|
+
NumPy arrays over native storage.
|
|
36
|
+
- **Object graphs** — features can reference other features across tables,
|
|
37
|
+
including shared and cyclic references, with an explicit
|
|
38
|
+
ownership/invalidation model for views over native memory.
|
|
39
|
+
- **Portable payload exchange** — compile a payload specification once and
|
|
40
|
+
get canonical identity, validated binary payloads, checked views,
|
|
41
|
+
materialization, and stable structured errors, identically in C++, Rust,
|
|
42
|
+
Python, and TypeScript/WASM. The core can also generate ready-to-use
|
|
43
|
+
payload code for all four languages.
|
|
44
|
+
- **Compact binary persistence** — save and load databases as files or
|
|
45
|
+
buffers; the Python binding additionally supports shared-memory handoff
|
|
46
|
+
between processes.
|
|
47
|
+
|
|
48
|
+
## Packages
|
|
49
|
+
|
|
50
|
+
| Language | Package | Install source |
|
|
51
|
+
| --- | --- | --- |
|
|
52
|
+
| C++ (core) | Core/C ABI bundle (`fastdb_payload.h`) | [GitHub releases](https://github.com/world-in-progress/fastdb/releases) |
|
|
53
|
+
| Rust | [`fastdb`](https://crates.io/crates/fastdb) (+ raw [`fastdb-sys`](https://crates.io/crates/fastdb-sys)) | crates.io + matching Core bundle |
|
|
54
|
+
| Python 3.10+ | [`fastdb4py`](https://pypi.org/project/fastdb4py/) | PyPI |
|
|
55
|
+
| TypeScript / WASM | [`fastdb4ts`](https://www.npmjs.com/package/fastdb4ts) | npm |
|
|
56
|
+
|
|
57
|
+
The Rust, Python, and TypeScript portable APIs are thin projections of one core;
|
|
58
|
+
none contains an independent payload parser, layout, or digest implementation
|
|
59
|
+
([ADR-0001](docs/decisions/0001-portable-payload-core-authority.md)).
|
|
60
|
+
|
|
61
|
+
## Installation
|
|
62
|
+
|
|
63
|
+
**Python** (from [PyPI](https://pypi.org/project/fastdb4py/)):
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
uv pip install fastdb4py # or: pip install fastdb4py
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**TypeScript** (from [npm](https://www.npmjs.com/package/fastdb4ts)):
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npm install fastdb4ts
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Rust** — the safe [`fastdb`](bindings/rust/fastdb/README.md) crate links
|
|
76
|
+
against a native Core bundle; it is not a pure-Rust crate. Download the
|
|
77
|
+
Core bundle matching your crate version from the GitHub release page, then
|
|
78
|
+
set `FASTDB_PAYLOAD_LINK_MODE=system` and set
|
|
79
|
+
`FASTDB_PAYLOAD_SYSTEM_LIB_DIR` to the absolute extracted `lib` directory. See the
|
|
80
|
+
[linking contract](bindings/rust/fastdb-sys/README.md) for details.
|
|
81
|
+
|
|
82
|
+
**C++** — use a Core bundle from a tagged release, or build from source with
|
|
83
|
+
CMake (see [fastcarto/README.md](fastcarto/README.md)).
|
|
84
|
+
|
|
85
|
+
The [0.2.2 release record](docs/releases/0.2.2.md) lists Python wheels for
|
|
86
|
+
macOS arm64/x86_64, manylinux_2_28 x86_64/aarch64 and Windows amd64 on
|
|
87
|
+
CPython 3.12, 3.13, 3.14 and free-threaded 3.14. Native Core bundles cover
|
|
88
|
+
Linux x86_64, macOS arm64 and Windows x64. Remaining platform work is tracked
|
|
89
|
+
in [Issue 0001](docs/issues/0001-portable-payload-deferred-capabilities.md).
|
|
90
|
+
For platforms without a published wheel or Core bundle, Python builds from
|
|
91
|
+
source need a C++17 compiler, CMake, SWIG, and NumPy.
|
|
92
|
+
|
|
93
|
+
## Quick start (Python)
|
|
94
|
+
|
|
95
|
+
```python
|
|
96
|
+
import numpy as np
|
|
97
|
+
from fastdb4py import RecordEngine, Layout, feature, F64, U32, STR
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
@feature
|
|
101
|
+
class Sample:
|
|
102
|
+
station: U32
|
|
103
|
+
temperature: F64
|
|
104
|
+
label: STR
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
db = RecordEngine.truncate([Layout(Sample, 3)])
|
|
108
|
+
table = db.table(Sample)
|
|
109
|
+
|
|
110
|
+
table.fill(
|
|
111
|
+
station=np.array([101, 102, 103], dtype=np.uint32),
|
|
112
|
+
temperature=np.array([12.5, 14.8, 9.3]),
|
|
113
|
+
label=["north", "south", "ridge"],
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
# Row readback: fields read straight from native storage.
|
|
117
|
+
print(table[1].station, table[1].temperature, table[1].label)
|
|
118
|
+
# 102 14.8 south
|
|
119
|
+
|
|
120
|
+
# Column readback: numeric columns are NumPy arrays over native storage,
|
|
121
|
+
# string columns are StringColumn wrappers.
|
|
122
|
+
print(table.column.temperature.mean())
|
|
123
|
+
print(table.column.label.to_pylist())
|
|
124
|
+
|
|
125
|
+
# Compact binary persistence.
|
|
126
|
+
db.save("samples")
|
|
127
|
+
reloaded = RecordEngine.load("samples", from_file=True)
|
|
128
|
+
print(reloaded.table(Sample).column.temperature[:])
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
The Python binding also offers `ObjectEngine` for dynamically growing tables
|
|
132
|
+
and reference-heavy graphs, and `fdb codegen` for generating payload code
|
|
133
|
+
from a portable specification. See
|
|
134
|
+
[`python/README.md`](python/README.md) for the full API.
|
|
135
|
+
|
|
136
|
+
## Portable payloads and standalone engines
|
|
137
|
+
|
|
138
|
+
FastDB exposes two complementary APIs:
|
|
139
|
+
|
|
140
|
+
- **The portable payload API** (`fastdb4py.payload`, Rust `fastdb`,
|
|
141
|
+
`fastdb4ts/payload`, C++ `fastdb_payload.h`/`fastdb_payload.hpp`) is the
|
|
142
|
+
cross-language exchange path. A specification is compiled once by the core
|
|
143
|
+
into an immutable `CompiledSpec` with a SHA-256 identity; payloads built
|
|
144
|
+
from it have one validated binary meaning (`fastdb.payload.bin.v1`) across
|
|
145
|
+
languages, with checked views, invalidation, detached materialization, and
|
|
146
|
+
deterministic C++/Rust/Python/TypeScript code generation.
|
|
147
|
+
- **The standalone engines** are the in-process storage paths. `RecordEngine`
|
|
148
|
+
manages fixed-size tables of typed records (AoS layout with strided field
|
|
149
|
+
access), and `ObjectEngine` manages dynamically growing tables and typed
|
|
150
|
+
object graphs. These are local libraries for embedding, sharing memory
|
|
151
|
+
between processes, and file persistence — not services.
|
|
152
|
+
|
|
153
|
+
`RecordEngine`/`ObjectEngine` data and portable payloads are separate
|
|
154
|
+
subsystems today; see the
|
|
155
|
+
[accepted design](docs/superpowers/specs/2026-07-16-portable-payload-foundation-design.md)
|
|
156
|
+
for the target scope and
|
|
157
|
+
[Issue 0001](docs/issues/0001-portable-payload-deferred-capabilities.md) for
|
|
158
|
+
intentionally deferred capabilities.
|
|
159
|
+
|
|
160
|
+
## Ownership and view lifetimes
|
|
161
|
+
|
|
162
|
+
Values that stay in Python (`@feature` instances, materialized copies) are
|
|
163
|
+
ordinary owned objects. Views into native storage (table rows, numeric and
|
|
164
|
+
string columns) are tied to a `FdbViewOwner`: pass
|
|
165
|
+
`FdbViewOwner(checked=True)` when integrating with reusable memory leases,
|
|
166
|
+
call `fdb.invalidate(owner_or_view)` when the lease ends so later checked
|
|
167
|
+
access fails loudly, and call `fdb.materialize(value)` or
|
|
168
|
+
`value.to_owned()` before retaining data beyond the backing buffer's
|
|
169
|
+
lifetime. Standalone tables stay trusted by default and return raw NumPy
|
|
170
|
+
column views for speed; `unsafe_numpy_view()` is an explicit escape hatch
|
|
171
|
+
whose raw arrays cannot be revoked after export. See
|
|
172
|
+
[Backed View Lifetimes](python/README.md#backed-view-lifetimes).
|
|
173
|
+
|
|
174
|
+
## Documentation
|
|
175
|
+
|
|
176
|
+
- Python binding (`fastdb4py`): [`python/README.md`](python/README.md)
|
|
177
|
+
- TypeScript/WASM binding (`fastdb4ts`): [`ts/fastdb4ts/README.md`](ts/fastdb4ts/README.md)
|
|
178
|
+
- Rust crates (`fastdb`, `fastdb-sys`): [`bindings/rust/fastdb/README.md`](bindings/rust/fastdb/README.md)
|
|
179
|
+
- C++ core (`fastcarto/fastdb`): [`fastcarto/README.md`](fastcarto/README.md)
|
|
180
|
+
- Accepted design: [portable payload foundation](docs/superpowers/specs/2026-07-16-portable-payload-foundation-design.md)
|
|
181
|
+
- Decisions and status: [`docs/decisions/`](docs/decisions/), [implementation status](docs/issues/0002-portable-payload-foundation-implementation-status.md)
|
|
182
|
+
- Releases: [0.2.2 record](docs/releases/0.2.2.md), [0.2.1 record](docs/releases/0.2.1.md), [0.2.0 record](docs/releases/0.2.0.md), [CHANGELOG.md](CHANGELOG.md)
|
|
183
|
+
|
|
184
|
+
## Development
|
|
185
|
+
|
|
186
|
+
Build and test the layer you are changing (from the repository root):
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
uv run pytest tests/python -q # Python binding tests
|
|
190
|
+
uv build # fastdb4py sdist + wheel
|
|
191
|
+
bash ts/build-wasm.sh # WebAssembly module for fastdb4ts
|
|
192
|
+
npm --prefix ts/fastdb4ts run build
|
|
193
|
+
npm run test:ts # TypeScript tests
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Layer requirements: Python binding — C++17 compiler, CMake ≥ 3.16, SWIG ≥ 4.4,
|
|
197
|
+
NumPy; TypeScript/WASM — Emscripten, Node.js, npm; core — C++17 compiler and
|
|
198
|
+
CMake. When C++ binary or ABI behavior changes, revalidate the C++, Rust,
|
|
199
|
+
Python, and TypeScript consumers together. See
|
|
200
|
+
[`fastcarto/README.md`](fastcarto/README.md) for native internals and
|
|
201
|
+
[AGENTS.md](AGENTS.md) for repository conventions.
|
|
202
|
+
|
|
203
|
+
## License
|
|
204
|
+
|
|
205
|
+
[MIT](LICENSE). Distribution archives retain the notices in
|
|
206
|
+
[THIRD_PARTY_NOTICES.txt](THIRD_PARTY_NOTICES.txt).
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# fastdb
|
|
2
|
+
|
|
3
|
+
[](https://badge.fury.io/py/fastdb4py)
|
|
4
|
+
[](https://badge.fury.io/js/fastdb4ts)
|
|
5
|
+
[](https://github.com/world-in-progress/fastdb/actions/workflows/tests.yml)
|
|
6
|
+
|
|
7
|
+
FastDB is an embedded C++ data layer for scientific computing and RPC payload
|
|
8
|
+
work. It stores typed record tables and object graphs in a compact binary
|
|
9
|
+
format, and defines `fastdb.payload.v1`, a portable payload format with
|
|
10
|
+
canonical identity (RFC 8785 canonical JSON plus SHA-256) and a deterministic
|
|
11
|
+
binary layout, so the same data means the same bytes in every language.
|
|
12
|
+
|
|
13
|
+
FastDB is an in-process library, not a database server: there is no network
|
|
14
|
+
protocol, query planner, or SQL surface. One C++ core owns portable-payload
|
|
15
|
+
schema compilation, canonicalization, binary layout, and lifetime semantics.
|
|
16
|
+
The Rust, Python, and TypeScript/WASM portable APIs project that core through
|
|
17
|
+
a stable C ABI.
|
|
18
|
+
|
|
19
|
+
## What you can do with it
|
|
20
|
+
|
|
21
|
+
- **Typed record tables** — declare plain classes with typed fields
|
|
22
|
+
(`U32`, `F64`, `STR`, ...), fill fixed-size tables in bulk, and read them
|
|
23
|
+
back row-wise or column-wise. In Python, numeric columns are exposed as
|
|
24
|
+
NumPy arrays over native storage.
|
|
25
|
+
- **Object graphs** — features can reference other features across tables,
|
|
26
|
+
including shared and cyclic references, with an explicit
|
|
27
|
+
ownership/invalidation model for views over native memory.
|
|
28
|
+
- **Portable payload exchange** — compile a payload specification once and
|
|
29
|
+
get canonical identity, validated binary payloads, checked views,
|
|
30
|
+
materialization, and stable structured errors, identically in C++, Rust,
|
|
31
|
+
Python, and TypeScript/WASM. The core can also generate ready-to-use
|
|
32
|
+
payload code for all four languages.
|
|
33
|
+
- **Compact binary persistence** — save and load databases as files or
|
|
34
|
+
buffers; the Python binding additionally supports shared-memory handoff
|
|
35
|
+
between processes.
|
|
36
|
+
|
|
37
|
+
## Packages
|
|
38
|
+
|
|
39
|
+
| Language | Package | Install source |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| C++ (core) | Core/C ABI bundle (`fastdb_payload.h`) | [GitHub releases](https://github.com/world-in-progress/fastdb/releases) |
|
|
42
|
+
| Rust | [`fastdb`](https://crates.io/crates/fastdb) (+ raw [`fastdb-sys`](https://crates.io/crates/fastdb-sys)) | crates.io + matching Core bundle |
|
|
43
|
+
| Python 3.10+ | [`fastdb4py`](https://pypi.org/project/fastdb4py/) | PyPI |
|
|
44
|
+
| TypeScript / WASM | [`fastdb4ts`](https://www.npmjs.com/package/fastdb4ts) | npm |
|
|
45
|
+
|
|
46
|
+
The Rust, Python, and TypeScript portable APIs are thin projections of one core;
|
|
47
|
+
none contains an independent payload parser, layout, or digest implementation
|
|
48
|
+
([ADR-0001](docs/decisions/0001-portable-payload-core-authority.md)).
|
|
49
|
+
|
|
50
|
+
## Installation
|
|
51
|
+
|
|
52
|
+
**Python** (from [PyPI](https://pypi.org/project/fastdb4py/)):
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
uv pip install fastdb4py # or: pip install fastdb4py
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**TypeScript** (from [npm](https://www.npmjs.com/package/fastdb4ts)):
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npm install fastdb4ts
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Rust** — the safe [`fastdb`](bindings/rust/fastdb/README.md) crate links
|
|
65
|
+
against a native Core bundle; it is not a pure-Rust crate. Download the
|
|
66
|
+
Core bundle matching your crate version from the GitHub release page, then
|
|
67
|
+
set `FASTDB_PAYLOAD_LINK_MODE=system` and set
|
|
68
|
+
`FASTDB_PAYLOAD_SYSTEM_LIB_DIR` to the absolute extracted `lib` directory. See the
|
|
69
|
+
[linking contract](bindings/rust/fastdb-sys/README.md) for details.
|
|
70
|
+
|
|
71
|
+
**C++** — use a Core bundle from a tagged release, or build from source with
|
|
72
|
+
CMake (see [fastcarto/README.md](fastcarto/README.md)).
|
|
73
|
+
|
|
74
|
+
The [0.2.2 release record](docs/releases/0.2.2.md) lists Python wheels for
|
|
75
|
+
macOS arm64/x86_64, manylinux_2_28 x86_64/aarch64 and Windows amd64 on
|
|
76
|
+
CPython 3.12, 3.13, 3.14 and free-threaded 3.14. Native Core bundles cover
|
|
77
|
+
Linux x86_64, macOS arm64 and Windows x64. Remaining platform work is tracked
|
|
78
|
+
in [Issue 0001](docs/issues/0001-portable-payload-deferred-capabilities.md).
|
|
79
|
+
For platforms without a published wheel or Core bundle, Python builds from
|
|
80
|
+
source need a C++17 compiler, CMake, SWIG, and NumPy.
|
|
81
|
+
|
|
82
|
+
## Quick start (Python)
|
|
83
|
+
|
|
84
|
+
```python
|
|
85
|
+
import numpy as np
|
|
86
|
+
from fastdb4py import RecordEngine, Layout, feature, F64, U32, STR
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
@feature
|
|
90
|
+
class Sample:
|
|
91
|
+
station: U32
|
|
92
|
+
temperature: F64
|
|
93
|
+
label: STR
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
db = RecordEngine.truncate([Layout(Sample, 3)])
|
|
97
|
+
table = db.table(Sample)
|
|
98
|
+
|
|
99
|
+
table.fill(
|
|
100
|
+
station=np.array([101, 102, 103], dtype=np.uint32),
|
|
101
|
+
temperature=np.array([12.5, 14.8, 9.3]),
|
|
102
|
+
label=["north", "south", "ridge"],
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
# Row readback: fields read straight from native storage.
|
|
106
|
+
print(table[1].station, table[1].temperature, table[1].label)
|
|
107
|
+
# 102 14.8 south
|
|
108
|
+
|
|
109
|
+
# Column readback: numeric columns are NumPy arrays over native storage,
|
|
110
|
+
# string columns are StringColumn wrappers.
|
|
111
|
+
print(table.column.temperature.mean())
|
|
112
|
+
print(table.column.label.to_pylist())
|
|
113
|
+
|
|
114
|
+
# Compact binary persistence.
|
|
115
|
+
db.save("samples")
|
|
116
|
+
reloaded = RecordEngine.load("samples", from_file=True)
|
|
117
|
+
print(reloaded.table(Sample).column.temperature[:])
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
The Python binding also offers `ObjectEngine` for dynamically growing tables
|
|
121
|
+
and reference-heavy graphs, and `fdb codegen` for generating payload code
|
|
122
|
+
from a portable specification. See
|
|
123
|
+
[`python/README.md`](python/README.md) for the full API.
|
|
124
|
+
|
|
125
|
+
## Portable payloads and standalone engines
|
|
126
|
+
|
|
127
|
+
FastDB exposes two complementary APIs:
|
|
128
|
+
|
|
129
|
+
- **The portable payload API** (`fastdb4py.payload`, Rust `fastdb`,
|
|
130
|
+
`fastdb4ts/payload`, C++ `fastdb_payload.h`/`fastdb_payload.hpp`) is the
|
|
131
|
+
cross-language exchange path. A specification is compiled once by the core
|
|
132
|
+
into an immutable `CompiledSpec` with a SHA-256 identity; payloads built
|
|
133
|
+
from it have one validated binary meaning (`fastdb.payload.bin.v1`) across
|
|
134
|
+
languages, with checked views, invalidation, detached materialization, and
|
|
135
|
+
deterministic C++/Rust/Python/TypeScript code generation.
|
|
136
|
+
- **The standalone engines** are the in-process storage paths. `RecordEngine`
|
|
137
|
+
manages fixed-size tables of typed records (AoS layout with strided field
|
|
138
|
+
access), and `ObjectEngine` manages dynamically growing tables and typed
|
|
139
|
+
object graphs. These are local libraries for embedding, sharing memory
|
|
140
|
+
between processes, and file persistence — not services.
|
|
141
|
+
|
|
142
|
+
`RecordEngine`/`ObjectEngine` data and portable payloads are separate
|
|
143
|
+
subsystems today; see the
|
|
144
|
+
[accepted design](docs/superpowers/specs/2026-07-16-portable-payload-foundation-design.md)
|
|
145
|
+
for the target scope and
|
|
146
|
+
[Issue 0001](docs/issues/0001-portable-payload-deferred-capabilities.md) for
|
|
147
|
+
intentionally deferred capabilities.
|
|
148
|
+
|
|
149
|
+
## Ownership and view lifetimes
|
|
150
|
+
|
|
151
|
+
Values that stay in Python (`@feature` instances, materialized copies) are
|
|
152
|
+
ordinary owned objects. Views into native storage (table rows, numeric and
|
|
153
|
+
string columns) are tied to a `FdbViewOwner`: pass
|
|
154
|
+
`FdbViewOwner(checked=True)` when integrating with reusable memory leases,
|
|
155
|
+
call `fdb.invalidate(owner_or_view)` when the lease ends so later checked
|
|
156
|
+
access fails loudly, and call `fdb.materialize(value)` or
|
|
157
|
+
`value.to_owned()` before retaining data beyond the backing buffer's
|
|
158
|
+
lifetime. Standalone tables stay trusted by default and return raw NumPy
|
|
159
|
+
column views for speed; `unsafe_numpy_view()` is an explicit escape hatch
|
|
160
|
+
whose raw arrays cannot be revoked after export. See
|
|
161
|
+
[Backed View Lifetimes](python/README.md#backed-view-lifetimes).
|
|
162
|
+
|
|
163
|
+
## Documentation
|
|
164
|
+
|
|
165
|
+
- Python binding (`fastdb4py`): [`python/README.md`](python/README.md)
|
|
166
|
+
- TypeScript/WASM binding (`fastdb4ts`): [`ts/fastdb4ts/README.md`](ts/fastdb4ts/README.md)
|
|
167
|
+
- Rust crates (`fastdb`, `fastdb-sys`): [`bindings/rust/fastdb/README.md`](bindings/rust/fastdb/README.md)
|
|
168
|
+
- C++ core (`fastcarto/fastdb`): [`fastcarto/README.md`](fastcarto/README.md)
|
|
169
|
+
- Accepted design: [portable payload foundation](docs/superpowers/specs/2026-07-16-portable-payload-foundation-design.md)
|
|
170
|
+
- Decisions and status: [`docs/decisions/`](docs/decisions/), [implementation status](docs/issues/0002-portable-payload-foundation-implementation-status.md)
|
|
171
|
+
- Releases: [0.2.2 record](docs/releases/0.2.2.md), [0.2.1 record](docs/releases/0.2.1.md), [0.2.0 record](docs/releases/0.2.0.md), [CHANGELOG.md](CHANGELOG.md)
|
|
172
|
+
|
|
173
|
+
## Development
|
|
174
|
+
|
|
175
|
+
Build and test the layer you are changing (from the repository root):
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
uv run pytest tests/python -q # Python binding tests
|
|
179
|
+
uv build # fastdb4py sdist + wheel
|
|
180
|
+
bash ts/build-wasm.sh # WebAssembly module for fastdb4ts
|
|
181
|
+
npm --prefix ts/fastdb4ts run build
|
|
182
|
+
npm run test:ts # TypeScript tests
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Layer requirements: Python binding — C++17 compiler, CMake ≥ 3.16, SWIG ≥ 4.4,
|
|
186
|
+
NumPy; TypeScript/WASM — Emscripten, Node.js, npm; core — C++17 compiler and
|
|
187
|
+
CMake. When C++ binary or ABI behavior changes, revalidate the C++, Rust,
|
|
188
|
+
Python, and TypeScript consumers together. See
|
|
189
|
+
[`fastcarto/README.md`](fastcarto/README.md) for native internals and
|
|
190
|
+
[AGENTS.md](AGENTS.md) for repository conventions.
|
|
191
|
+
|
|
192
|
+
## License
|
|
193
|
+
|
|
194
|
+
[MIT](LICENSE). Distribution archives retain the notices in
|
|
195
|
+
[THIRD_PARTY_NOTICES.txt](THIRD_PARTY_NOTICES.txt).
|
|
@@ -70,8 +70,8 @@ endfunction()
|
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
if(WIN32)
|
|
73
|
-
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/
|
|
74
|
-
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/
|
|
73
|
+
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
|
|
74
|
+
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
|
|
75
75
|
endif()
|
|
76
76
|
|
|
77
77
|
function( add_source_by_dir cur_dir return_list)
|
|
@@ -116,6 +116,15 @@ target_include_directories(
|
|
|
116
116
|
PUBLIC
|
|
117
117
|
${PROJECT_DIR}/include
|
|
118
118
|
)
|
|
119
|
+
# Consumers link the C ABI statically, so on Windows they must not annotate it
|
|
120
|
+
# dllimport. This is INTERFACE-only: it reaches the archive's consumers and
|
|
121
|
+
# never the shared producer (which keeps FASTDB_PAYLOAD_BUILDING/dllexport) or
|
|
122
|
+
# that DLL's consumers (which keep dllimport).
|
|
123
|
+
target_compile_definitions(
|
|
124
|
+
fastdb_payload_native
|
|
125
|
+
INTERFACE
|
|
126
|
+
FASTDB_PAYLOAD_STATIC=1
|
|
127
|
+
)
|
|
119
128
|
target_link_libraries(
|
|
120
129
|
fastdb_payload_native
|
|
121
130
|
PUBLIC
|
|
@@ -4,8 +4,19 @@
|
|
|
4
4
|
#include <stdint.h>
|
|
5
5
|
|
|
6
6
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
|
7
|
+
/* Windows annotation modes:
|
|
8
|
+
- FASTDB_PAYLOAD_BUILDING: the shared producer that defines this ABI and
|
|
9
|
+
therefore exports it.
|
|
10
|
+
- FASTDB_PAYLOAD_STATIC: a consumer linking the static fastdb_payload
|
|
11
|
+
archive; the ABI is neither imported from nor exported to a DLL.
|
|
12
|
+
- neither: a consumer of the shared fastdb library, which imports the ABI. */
|
|
13
|
+
#if defined(FASTDB_PAYLOAD_BUILDING) && defined(FASTDB_PAYLOAD_STATIC)
|
|
14
|
+
#error "define at most one of FASTDB_PAYLOAD_BUILDING / FASTDB_PAYLOAD_STATIC"
|
|
15
|
+
#endif
|
|
7
16
|
#if defined(FASTDB_PAYLOAD_BUILDING)
|
|
8
17
|
#define FDB_PAYLOAD_API __declspec(dllexport)
|
|
18
|
+
#elif defined(FASTDB_PAYLOAD_STATIC)
|
|
19
|
+
#define FDB_PAYLOAD_API
|
|
9
20
|
#else
|
|
10
21
|
#define FDB_PAYLOAD_API __declspec(dllimport)
|
|
11
22
|
#endif
|
|
@@ -316,8 +316,9 @@ Result<BuildPlan> BuildPlan::create(LogicalPayload&& values) try {
|
|
|
316
316
|
const std::uint64_t graph_object_count = [&] {
|
|
317
317
|
if constexpr (std::is_same_v<Layout, GraphLayout>) {
|
|
318
318
|
return selected_layout.graph_object_count();
|
|
319
|
+
} else {
|
|
320
|
+
return UINT64_C(0);
|
|
319
321
|
}
|
|
320
|
-
return UINT64_C(0);
|
|
321
322
|
}();
|
|
322
323
|
PlanInfo info{
|
|
323
324
|
selected_layout.total_length(),
|
|
@@ -83,6 +83,23 @@ Error allocation_error() {
|
|
|
83
83
|
"allocation_failed");
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
#if defined(FASTDB_PAYLOAD_BUILD_TESTING)
|
|
87
|
+
// One-shot scratch/reserve failpoint driven only by the payload_builder test.
|
|
88
|
+
// It fires at the mutation stage itself, so it observes builder ordering
|
|
89
|
+
// without depending on any platform allocator size.
|
|
90
|
+
thread_local bool scratch_reserve_armed = false;
|
|
91
|
+
thread_local bool scratch_reserve_triggered = false;
|
|
92
|
+
|
|
93
|
+
bool consume_scratch_reserve_failure() noexcept {
|
|
94
|
+
if (!scratch_reserve_armed) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
scratch_reserve_armed = false;
|
|
98
|
+
scratch_reserve_triggered = true;
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
#endif
|
|
102
|
+
|
|
86
103
|
const char* type_name(TypeKind kind) noexcept {
|
|
87
104
|
switch (kind) {
|
|
88
105
|
case TypeKind::boolean:
|
|
@@ -571,6 +588,11 @@ struct PayloadBuilder::State final {
|
|
|
571
588
|
error_path, "path_tokens", UINT64_MAX,
|
|
572
589
|
static_cast<std::uint64_t>(path.max_size())));
|
|
573
590
|
}
|
|
591
|
+
#if defined(FASTDB_PAYLOAD_BUILD_TESTING)
|
|
592
|
+
if (consume_scratch_reserve_failure()) {
|
|
593
|
+
throw std::bad_alloc();
|
|
594
|
+
}
|
|
595
|
+
#endif
|
|
574
596
|
arena.nodes_.reserve(arena.nodes_.size() +
|
|
575
597
|
static_cast<std::size_t>(added_nodes));
|
|
576
598
|
arena.byte_storage_.reserve(
|
|
@@ -1866,4 +1888,23 @@ bool PayloadBuilderTestAccess::use_object_handle_sequence(
|
|
|
1866
1888
|
state->graph, next);
|
|
1867
1889
|
}
|
|
1868
1890
|
|
|
1891
|
+
#if defined(FASTDB_PAYLOAD_BUILD_TESTING)
|
|
1892
|
+
namespace builder_test_hooks {
|
|
1893
|
+
|
|
1894
|
+
void arm_scratch_reserve_failure() noexcept {
|
|
1895
|
+
scratch_reserve_armed = true;
|
|
1896
|
+
scratch_reserve_triggered = false;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
void disarm_scratch_reserve_failure() noexcept {
|
|
1900
|
+
scratch_reserve_armed = false;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
bool scratch_reserve_failure_triggered() noexcept {
|
|
1904
|
+
return scratch_reserve_triggered;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
} // namespace builder_test_hooks
|
|
1908
|
+
#endif
|
|
1909
|
+
|
|
1869
1910
|
} // namespace fastdb::payload::build
|
|
@@ -124,4 +124,22 @@ struct PayloadBuilderTestAccess final {
|
|
|
124
124
|
ObjectHandle next) noexcept;
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
+
#if defined(FASTDB_PAYLOAD_BUILD_TESTING)
|
|
128
|
+
namespace builder_test_hooks {
|
|
129
|
+
|
|
130
|
+
// Test-only one-shot failpoint on the builder's scratch/reserve mutation
|
|
131
|
+
// stage: the capacity growth that every mutation performs only after its
|
|
132
|
+
// logical node/storage/frame/path limits are decided. Arm it, run one
|
|
133
|
+
// authoring operation, and observe whether the stage was reached. The hook
|
|
134
|
+
// exists only in FASTDB_PAYLOAD_BUILD_TESTING builds, is defined in the same
|
|
135
|
+
// macro-guarded Core translation unit, and is never part of the production or
|
|
136
|
+
// public surface. It lets the payload_builder test prove ordering with a
|
|
137
|
+
// builder-stage observation instead of a platform-specific allocator size.
|
|
138
|
+
void arm_scratch_reserve_failure() noexcept;
|
|
139
|
+
void disarm_scratch_reserve_failure() noexcept;
|
|
140
|
+
bool scratch_reserve_failure_triggered() noexcept;
|
|
141
|
+
|
|
142
|
+
} // namespace builder_test_hooks
|
|
143
|
+
#endif
|
|
144
|
+
|
|
127
145
|
} // namespace fastdb::payload::build
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
#include <cmath>
|
|
7
7
|
#include <cstddef>
|
|
8
8
|
#include <cstdint>
|
|
9
|
+
#include <deque>
|
|
9
10
|
#include <optional>
|
|
10
11
|
#include <stdexcept>
|
|
11
12
|
#include <string>
|
|
@@ -258,7 +259,9 @@ struct SerializationFrame final {
|
|
|
258
259
|
|
|
259
260
|
std::optional<JcsFailure> serialize_value(const JsonValue& value,
|
|
260
261
|
std::string& output) {
|
|
261
|
-
|
|
262
|
+
// Chunked frames keep one live frame per open container without the
|
|
263
|
+
// doubling reallocation churn of a vector on deeply nested values.
|
|
264
|
+
std::deque<SerializationFrame> frames;
|
|
262
265
|
frames.emplace_back(value);
|
|
263
266
|
|
|
264
267
|
while (!frames.empty()) {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
#include <cstddef>
|
|
10
10
|
#include <cstdint>
|
|
11
|
+
#include <deque>
|
|
11
12
|
#include <limits>
|
|
12
13
|
#include <map>
|
|
13
14
|
#include <string>
|
|
@@ -240,7 +241,10 @@ Result<void> audit_document(yyjson_val* root, const JsonParseLimits& limits) {
|
|
|
240
241
|
return root_check;
|
|
241
242
|
}
|
|
242
243
|
|
|
243
|
-
|
|
244
|
+
// A chunked stack avoids the repeated reallocation of a growing vector:
|
|
245
|
+
// deep documents otherwise churn close to twice the peak frame count in
|
|
246
|
+
// cumulative allocation before the first frame is popped.
|
|
247
|
+
std::deque<AuditFrame> pending;
|
|
244
248
|
if (yyjson_is_ctn(root)) {
|
|
245
249
|
pending.push_back(make_audit_frame(root, path.mark(), UINT64_C(1)));
|
|
246
250
|
}
|
|
@@ -497,9 +501,9 @@ JsonValue JsonDocument::to_json_value() const {
|
|
|
497
501
|
while (yyjson_val* child = yyjson_arr_iter_next(&iterator)) {
|
|
498
502
|
children.push_back(child);
|
|
499
503
|
}
|
|
500
|
-
for (auto
|
|
501
|
-
|
|
502
|
-
pending.push_back(ConvertItem{*
|
|
504
|
+
for (auto reverse_child = children.rbegin();
|
|
505
|
+
reverse_child != children.rend(); ++reverse_child) {
|
|
506
|
+
pending.push_back(ConvertItem{*reverse_child, false});
|
|
503
507
|
}
|
|
504
508
|
} else {
|
|
505
509
|
std::vector<yyjson_val*> children;
|
|
@@ -507,9 +511,9 @@ JsonValue JsonDocument::to_json_value() const {
|
|
|
507
511
|
while (yyjson_val* key = yyjson_obj_iter_next(&iterator)) {
|
|
508
512
|
children.push_back(yyjson_obj_iter_get_val(key));
|
|
509
513
|
}
|
|
510
|
-
for (auto
|
|
511
|
-
|
|
512
|
-
pending.push_back(ConvertItem{*
|
|
514
|
+
for (auto reverse_child = children.rbegin();
|
|
515
|
+
reverse_child != children.rend(); ++reverse_child) {
|
|
516
|
+
pending.push_back(ConvertItem{*reverse_child, false});
|
|
513
517
|
}
|
|
514
518
|
}
|
|
515
519
|
continue;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
#include <new>
|
|
13
13
|
#include <stdexcept>
|
|
14
14
|
#include <string>
|
|
15
|
+
#include <type_traits>
|
|
15
16
|
#include <utility>
|
|
16
17
|
#include <variant>
|
|
17
18
|
#include <vector>
|
|
@@ -1136,3 +1137,13 @@ Result<GraphLayout> GraphLayout::plan(
|
|
|
1136
1137
|
}
|
|
1137
1138
|
|
|
1138
1139
|
} // namespace fastdb::payload::layout
|
|
1140
|
+
|
|
1141
|
+
// A GraphLayout travels through the same noexcept ownership transfers as
|
|
1142
|
+
// RecordLayout; see RuntimeSchema.cpp for the failure this guards against.
|
|
1143
|
+
static_assert(
|
|
1144
|
+
std::is_nothrow_move_constructible_v<
|
|
1145
|
+
fastdb::payload::layout::GraphLayout>,
|
|
1146
|
+
"GraphLayout must be nothrow move constructible");
|
|
1147
|
+
static_assert(
|
|
1148
|
+
std::is_nothrow_move_assignable_v<fastdb::payload::layout::GraphLayout>,
|
|
1149
|
+
"GraphLayout must be nothrow move assignable");
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
#include <limits>
|
|
13
13
|
#include <new>
|
|
14
14
|
#include <string>
|
|
15
|
+
#include <type_traits>
|
|
15
16
|
#include <utility>
|
|
16
17
|
#include <variant>
|
|
17
18
|
|
|
@@ -890,3 +891,15 @@ Result<RecordLayout> RecordLayout::plan(
|
|
|
890
891
|
}
|
|
891
892
|
|
|
892
893
|
} // namespace fastdb::payload::layout
|
|
894
|
+
|
|
895
|
+
// A RecordLayout travels through the noexcept plan ownership transfers
|
|
896
|
+
// (ProfileLayout, Result<BuildPlan>), so its move must not allocate or throw;
|
|
897
|
+
// see RuntimeSchema.cpp for the failure this guards against.
|
|
898
|
+
static_assert(
|
|
899
|
+
std::is_nothrow_move_constructible_v<
|
|
900
|
+
fastdb::payload::layout::RecordLayout>,
|
|
901
|
+
"RecordLayout must be nothrow move constructible");
|
|
902
|
+
static_assert(
|
|
903
|
+
std::is_nothrow_move_assignable_v<
|
|
904
|
+
fastdb::payload::layout::RecordLayout>,
|
|
905
|
+
"RecordLayout must be nothrow move assignable");
|