File tree 1 file changed +31
-8
lines changed
1 file changed +31
-8
lines changed Original file line number Diff line number Diff line change 1
- # go-python: a CPython wrapper for Go
2
-
3
- Make Go and Python code inter-operable.
1
+ # go-python: Write Python in Go - The most intuitive Python wrapper for Golang
4
2
5
3
## Goal
6
4
7
- - Provide automatically DecRef for Python objects.
8
- - Wrap generic PyObject(s) to typed Python objects.
9
- - Provide a way to define Python objects in Go.
10
-
11
- ## Usage
5
+ - Automatically DecRef for Python objects.
6
+ - Typed Python objects.
7
+ - Most intuitive and easy to use.
8
+
9
+ ## Roadmap
10
+
11
+ - [x] Call Python in Go.
12
+ - [x] Basic types.
13
+ - [x] Integers.
14
+ - [x] Floats.
15
+ - [x] Strings.
16
+ - [x] Bytes.
17
+ - [x] Booleans.
18
+ - [x] Lists.
19
+ - [x] Tuples.
20
+ - [x] Dicts.
21
+ - [x] Modules.
22
+ - [ ] Functions
23
+ - [x] Keyword arguments.
24
+ - [x] Mapping arguments and return values.
25
+ - [ ] Default arguments.
26
+ - [ ] Call Go in Python.
27
+ - [x] Export Go functions, struct types to Python.
28
+ - [ ] Auto export field types if it's a struct.
29
+ - [ ] Auto generate function signatures (used by gradio).
30
+ - [x] Basic tests on common used libraries.
31
+ - [x] matplotlib
32
+ - [x] gradio
33
+
34
+ ## Examples
12
35
13
36
See the [ examples] ( _demo ) .
14
37
You can’t perform that action at this time.
0 commit comments