MCPcopy Index your code
hub / github.com/BilalAlpaslan/Pyonize

github.com/BilalAlpaslan/Pyonize @v0.1.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.5 ↗ · + Follow
13 symbols 35 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Pyonize

convert json|dict to python object

Setup

pip install pyonize

Examples

from pyonize import pyonize

deneme = pyonize({"id": 1, "name": "jhon", "job": {"id": 1, "title": "CTO"}, "list": [
                1, 2, 3], "dictlist": [{"name": "foo"}, {"name": "bar"}]})

print(deneme.name)
print(deneme.job)
print(deneme.job.title)

from pyonize import Pyon

class Foo(Pyon):
    def bar(self):
        ...

data = {"id": 1, "name": "jhon", "job": {"id": 1, "title": "CTO"},
    "list": [1, 2, 3], "dictlist": [{"name": "foo"}, {"name": "bar"}]}

foo = Foo(data)

print(foo.id)
print(foo.dictlist[1].name)


Core symbols most depended-on inside this repo

pyonize
called by 2
pyonize/__main__.py
convert_to_obj
called by 1
pyonize/__main__.py
convert_to_obj
called by 1
pyonize/__main__.py

Shape

Method 7
Function 4
Class 2

Languages

Python100%

Modules by API surface

pyonize/__main__.py10 symbols
test/test_main.py3 symbols

For agents

$ claude mcp add Pyonize \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact