Ozark

Ozark is currently in beta. If you run into anything unexpected, feel free to file an issue on GitHub.

Inspect Python from source to bytecode, powered by Memphis.

Success!
{
"name":"<module>"
"bytecode":[
0:"LOAD_GLOBAL 0 (decorator)"
1:"LOAD_CONST 0 (<code foo>)"
2:"MAKE_FUNCTION"
3:"CALL 1"
4:"STORE_GLOBAL 1 (foo)"
]
"varnames":[]
"freevars":[]
"names":[
0:"decorator"
1:"foo"
]
"constants":[
0:{
"type":"Code"
"value":{
"name":"foo"
"bytecode":[]
"varnames":[]
"freevars":[]
"names":[]
"constants":[]
}
}
]
}