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_CONST 0 (<code foo>)"
1:"MAKE_FUNCTION"
2:"STORE_GLOBAL 0 (foo)"
]
"varnames":[]
"freevars":[]
"names":[
0:"foo"
]
"constants":[
0:{
"type":"Code"
"value":{
"name":"foo"
"bytecode":[
0:"LOAD_CONST 0 (1)"
1:"LOAD_CONST 1 (2)"
2:"BUILD_TUPLE 2"
3:"RETURN_VALUE"
]
"varnames":[]
"freevars":[]
"names":[]
"constants":[
0:{
"type":"Int"
"value":1
}
1:{
"type":"Int"
"value":2
}
]
}
}
]
}