Python bindings for Fable. This library will eventually contain Python (stdlib) bindings for Fable based on Python typeshed.
It will also contain type binding for many other libraries as well such as Flask, MicroBit and many more
dotnet package add Fable.Pythonopen Fable.Python.Json
let object = {| A=10; B=20 |}
let result = json.dumps objectParts of this library could benefit from code-generation based on the type annotations in Python typeshed similar to ts2fable. Even so we should keep this library manually updated based on PRs to ensure the quality of the code.
Current plan:
- Add bindings for Python
astmodule (in progress) - Use
astmodule to parse Python typeshed annotations - Generate F# bindings