dagr-cli 2026.9.0__py3-none-any.whl
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.
- dagr/__init__.py +10 -0
- dagr/cli.py +2311 -0
- dagr/codegen/__init__.py +0 -0
- dagr/codegen/api.py +38 -0
- dagr/codegen/go/__init__.py +0 -0
- dagr/codegen/go/arena.py +988 -0
- dagr/codegen/go/core.py +2320 -0
- dagr/codegen/go/defaults.py +136 -0
- dagr/codegen/go/direct.py +192 -0
- dagr/codegen/go/graphs.py +55 -0
- dagr/codegen/go/naming.py +116 -0
- dagr/codegen/go/serde.py +1159 -0
- dagr/codegen/go/sharedbuffer.py +927 -0
- dagr/codegen/go/sink.py +715 -0
- dagr/codegen/go/validate.py +220 -0
- dagr/codegen/mojo/__init__.py +0 -0
- dagr/codegen/mojo/arena.py +2310 -0
- dagr/codegen/mojo/core.py +1130 -0
- dagr/codegen/mojo/defaults.py +348 -0
- dagr/codegen/mojo/direct.py +470 -0
- dagr/codegen/mojo/frozen.py +214 -0
- dagr/codegen/mojo/packed.py +1355 -0
- dagr/codegen/mojo/path_query.py +1365 -0
- dagr/codegen/mojo/restore.py +546 -0
- dagr/codegen/mojo/serde.py +1679 -0
- dagr/codegen/mojo/sharedbuffer.py +1532 -0
- dagr/codegen/mojo/sink.py +1257 -0
- dagr/codegen/odin/__init__.py +0 -0
- dagr/codegen/odin/arena.py +1594 -0
- dagr/codegen/odin/core.py +2278 -0
- dagr/codegen/odin/serde.py +1945 -0
- dagr/codegen/odin/sharedbuffer.py +1345 -0
- dagr/codegen/odin/sink.py +896 -0
- dagr/codegen/python.py +473 -0
- dagr/codegen/rust/__init__.py +0 -0
- dagr/codegen/rust/arrow.py +632 -0
- dagr/codegen/rust/arrow_lazy.py +1339 -0
- dagr/codegen/rust/core.py +1548 -0
- dagr/codegen/rust/direct.py +1209 -0
- dagr/codegen/rust/explain.py +2105 -0
- dagr/codegen/rust/fuzz.py +364 -0
- dagr/codegen/rust/git_tools.py +2965 -0
- dagr/codegen/rust/imhex.py +155 -0
- dagr/codegen/rust/lazy.py +3073 -0
- dagr/codegen/rust/path_query.py +2903 -0
- dagr/codegen/rust/serde.py +8886 -0
- dagr/codegen/rust/sharedbuffer.py +2212 -0
- dagr/codegen/rust/sharedbuffer_fuzz.py +357 -0
- dagr/codegen/rust/sink.py +3164 -0
- dagr/codegen/rust/sink_arrow.py +1620 -0
- dagr/codegen/rust/sink_fuzz.py +412 -0
- dagr/codegen/rust/types.py +353 -0
- dagr/codegen/shared.py +840 -0
- dagr/codegen/swift/__init__.py +0 -0
- dagr/codegen/swift/core.py +5269 -0
- dagr/codegen/swift/direct.py +295 -0
- dagr/codegen/swift/explain.py +2534 -0
- dagr/codegen/swift/lazy.py +3113 -0
- dagr/codegen/swift/path_query.py +2046 -0
- dagr/codegen/swift/serde.py +3457 -0
- dagr/codegen/swift/sharedbuffer.py +1584 -0
- dagr/codegen/swift/sharedbuffer_explain.py +598 -0
- dagr/codegen/swift/sink.py +2299 -0
- dagr/codegen/swift/sink_explain.py +239 -0
- dagr/codegen/swift/types.py +473 -0
- dagr/codegen/swift/union_emit.py +380 -0
- dagr/codegen/typescript/__init__.py +0 -0
- dagr/codegen/typescript/arena.py +1002 -0
- dagr/codegen/typescript/direct.py +186 -0
- dagr/codegen/typescript/graph_explorer.py +2448 -0
- dagr/codegen/typescript/lazy.py +1839 -0
- dagr/codegen/typescript/serde.py +1428 -0
- dagr/codegen/typescript/sharedbuffer.py +1600 -0
- dagr/codegen/typescript/sink.py +1202 -0
- dagr/codegen/typescript/sink_explorer.py +1788 -0
- dagr/config.py +223 -0
- dagr/dot.py +105 -0
- dagr/dsl.py +3101 -0
- dagr/favicons.py +5 -0
- dagr/importers/__init__.py +0 -0
- dagr/importers/asn1.py +781 -0
- dagr/importers/flatbuffers.py +869 -0
- dagr/importers/json_schema.py +969 -0
- dagr/importers/proto.py +1268 -0
- dagr/ir.py +495 -0
- dagr/layout.py +896 -0
- dagr/receipt.py +240 -0
- dagr/reserved_names.py +170 -0
- dagr/runtime/__init__.py +13 -0
- dagr/runtime/dagr_arrow.py +528 -0
- dagr/runtime/dagr_defaults.py +143 -0
- dagr/runtime/dagr_model.py +111 -0
- dagr/runtime/dagr_reader.py +264 -0
- dagr/runtime/dagr_restore.py +963 -0
- dagr/runtime/dagr_sb_concurrency.py +194 -0
- dagr/runtime/dagr_sb_fork_c.py +173 -0
- dagr/runtime/dagr_sb_reader.py +328 -0
- dagr/runtime/dagr_sb_typed.py +83 -0
- dagr/runtime/dagr_serialize.py +827 -0
- dagr/runtime/dagr_sink.py +359 -0
- dagr/runtime/dagr_typed.py +170 -0
- dagr/runtime/dagr_writer.py +958 -0
- dagr/runtimes/go/reader.go +547 -0
- dagr/runtimes/go/writer.go +2029 -0
- dagr/runtimes/mojo/dagr_reader.mojo +1173 -0
- dagr/runtimes/mojo/dagr_writer.mojo +1315 -0
- dagr/runtimes/mojo_fork_c/dagr_fork_c.mojo +175 -0
- dagr/runtimes/mojo_fork_c/fork_c_2proc.py +140 -0
- dagr/runtimes/mojo_fork_c/fork_c_gate.py +127 -0
- dagr/runtimes/mojo_fork_c/sb_fork_c_gate.py +58 -0
- dagr/runtimes/odin/dagr_reader.odin +378 -0
- dagr/runtimes/odin/dagr_writer.odin +888 -0
- dagr/runtimes/typescript/dagr_reader.ts +810 -0
- dagr/runtimes/typescript/dagr_writer.ts +944 -0
- dagr/sb_writer.py +607 -0
- dagr/test_data.py +229 -0
- dagr/theme.py +296 -0
- dagr/web_ui/__init__.py +0 -0
- dagr/web_ui/apple-touch-icon.png +0 -0
- dagr/web_ui/favicon.ico +0 -0
- dagr/web_ui/index.html +1464 -0
- dagr/web_ui/model.py +692 -0
- dagr/web_ui/server.py +640 -0
- dagr_cli-2026.9.0.dist-info/METADATA +140 -0
- dagr_cli-2026.9.0.dist-info/RECORD +129 -0
- dagr_cli-2026.9.0.dist-info/WHEEL +5 -0
- dagr_cli-2026.9.0.dist-info/entry_points.txt +2 -0
- dagr_cli-2026.9.0.dist-info/licenses/LICENSE +287 -0
- dagr_cli-2026.9.0.dist-info/top_level.txt +1 -0
dagr/__init__.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Dagr — data-graph binary serialization: schema DSL, code generators, and tooling.
|
|
2
|
+
|
|
3
|
+
Public schema-authoring surface: ``dagr.dsl`` and ``dagr.config``. Everything under
|
|
4
|
+
``dagr.codegen`` is the generator implementation; ``dagr.runtime`` is the reflective
|
|
5
|
+
pure-Python runtime that generated Python modules import. This module deliberately
|
|
6
|
+
imports nothing so that the shipped copy of the package inside a ``dagr build --target
|
|
7
|
+
python`` output stays self-contained.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
__version__ = "2026.9.0"
|