Kaydet (Commit) ac7ef3ca authored tarafından Batuhan Taşkaya's avatar Batuhan Taşkaya

update desc

üst bc6dae0b
# Karavana
Object Visualization
......@@ -5,9 +5,11 @@ from dataclasses import dataclass, field
from enum import Enum, auto
from typing import Any, Optional
class Display(Enum):
COLLECTION = auto()
@dataclass
class Node:
value: Display
......@@ -16,11 +18,13 @@ class Node:
def add_child(self, child):
self.children.append(child)
@dataclass
class ConnectedNode:
lhs: Any
rhs: Any
class Viz:
typeregs = {}
......@@ -48,6 +52,7 @@ def mapping(self, obj):
node.add_child(child)
return node
viz = Viz()
node = viz.visit({1: 1, 2: 2, 3: {1: 2}})
print(node)
......@@ -11,7 +11,7 @@ setup(
version="0.1",
packages=find_packages(),
url="https://github.com/karavana",
description = "Karavana",
description = "Object Visualization",
long_description = long_description,
long_description_content_type = "text/markdown",
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment