Fable.Python icon indicating copy to clipboard operation
Fable.Python copied to clipboard

Python bindings for Fable

Results 30 Fable.Python issues
Sort by recently updated
recently updated
newest added

Hello, I'm exploring if making a Pandas binding is an achievable task. So far I just need a limited subset of features: CSV(write), HDF5(read/write) and DataFrame(creation, indexing and HDF5/CSV export)....

Using `FSharp.Core ~> 4.7` means `FSharp.Core >= 4.7.2 && FSharp.Core < 5.0.0` I don't believe Fable.Python needs this strict requirement, especially since F# 6.0 project already pull in FSharp.Core >=...

What version will this be working starting from ? I.e. in https://github.com/python/typeshed/blob/master/stdlib/uuid.pyi there are separate type for version 3.7 and above and others. So, it's best to determine which this...

Here's an actual real world problem that Fable.Python can solve... PyTorch has a JIT mode, that can make neural network models run much faster: [Speeding up model training with PyTorch...

i would love to try this out! it seems docs still point to the JS version, maybe a good "up for grabs" or "first issue" could be extending/updating fable python...

good first issue

I'm now happy with Fable's reflection, which allows me to do what [pydantic](https://github.com/samuelcolvin/pydantic) does in the python world. However I want to step further. I want to allow syntax sugars...

```F# type S = S of string let s = sprintf "%A" (S "1") ``` `s` equals to `"S 1"` in Fable.Python, and it is `"S \"1\""` in F# .NET.

```fsharp let i = 123 $"\\u{i:X4}" # val it: string = "\u007B" ``` However it produces `\u%P(X4)` in `4.0.0-alpha-020`...

There is parser in progress for parsing PYI ast: https://github.com/alexpantyukhin/PythonParser From tests it seems that now it's possible to parse some simple modules without 'IF's.

Question mostly. How does it generate the python source from AST? Or it's not ready yet? Sorry, I can't find it.