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.Python
open Fable.Python.Json
let object = {| A=10; B=20 |}
let result = json.dumps object
Parts 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
ast
module (in progress) - Use
ast
module to parse Python typeshed annotations - Generate F# bindings