From a6972202a641664255df9fdef5193e99c021851d Mon Sep 17 00:00:00 2001 From: Li Jie Date: Fri, 22 Nov 2024 15:45:17 +0800 Subject: [PATCH] move to github.com/gotray/go-python --- README.md | 20 ++++++++++---------- demo/autoderef/autoderef.go | 4 ++-- demo/gradio/gradio.go | 2 +- demo/module/foo/foo.go | 2 +- demo/module/module.go | 4 ++-- demo/plot/plot.go | 2 +- demo/plot2/plot2.go | 2 +- go.mod | 2 +- math/math.go | 2 +- math/math_test.go | 2 +- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 09a39f5..dc6666c 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # go-python: Write Python in Go - The most intuitive Python wrapper for Golang -[![Build Status](https://github.com/cpunion/go-python/actions/workflows/go.yml/badge.svg)](https://github.com/cpunion/go-python/actions/workflows/go.yml) +[![Build Status](https://github.com/gotray/got/actions/workflows/go.yml/badge.svg)](https://github.com/gotray/got/actions/workflows/go.yml) [![Coverage Status](https://codecov.io/github/cpunion/go-python/graph/badge.svg?token=DLVMvjAOFM)](https://codecov.io/github/cpunion/go-python) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/cpunion/go-python) [![GitHub commits](https://badgen.net/github/commits/cpunion/go-python)](https://GitHub.com/Naereen/cpunion/go-python/commit/) -[![GitHub release](https://img.shields.io/github/v/tag/cpunion/go-python.svg?label=release)](https://github.com/cpunion/go-python/releases) -[![Go Report Card](https://goreportcard.com/badge/github.com/cpunion/go-python)](https://goreportcard.com/report/github.com/cpunion/go-python) -[![Go Reference](https://pkg.go.dev/badge/github.com/cpunion/go-python.svg)](https://pkg.go.dev/github.com/cpunion/go-python) +[![GitHub release](https://img.shields.io/github/v/tag/cpunion/go-python.svg?label=release)](https://github.com/gotray/got/releases) +[![Go Report Card](https://goreportcard.com/badge/github.com/gotray/got)](https://goreportcard.com/report/github.com/gotray/got) +[![Go Reference](https://pkg.go.dev/badge/github.com/gotray/got.svg)](https://pkg.go.dev/github.com/gotray/got) ## Goal @@ -57,7 +57,7 @@ See the [examples](demo). ```go package main -import . "github.com/cpunion/go-python" +import . "github.com/gotray/got" func main() { Initialize() @@ -75,7 +75,7 @@ func main() { ```go package main -import . "github.com/cpunion/go-python" +import . "github.com/gotray/got" type plt struct { Module @@ -113,7 +113,7 @@ package foo import ( "fmt" - . "github.com/cpunion/go-python" + . "github.com/gotray/got" ) type Point struct { @@ -165,8 +165,8 @@ package main import ( "fmt" - . "github.com/cpunion/go-python" - "github.com/cpunion/go-python/demo/module/foo" + . "github.com/gotray/got" + "github.com/gotray/got/demo/module/foo" ) func main() { @@ -235,7 +235,7 @@ import ( "fmt" "os" - . "github.com/cpunion/go-python" + . "github.com/gotray/got" ) /* diff --git a/demo/autoderef/autoderef.go b/demo/autoderef/autoderef.go index 4bdd41e..2ebb4b1 100644 --- a/demo/autoderef/autoderef.go +++ b/demo/autoderef/autoderef.go @@ -4,8 +4,8 @@ import ( "fmt" "runtime" - . "github.com/cpunion/go-python" - pymath "github.com/cpunion/go-python/math" + . "github.com/gotray/got" + pymath "github.com/gotray/got/math" ) func main() { diff --git a/demo/gradio/gradio.go b/demo/gradio/gradio.go index dfeefe0..51fe8fd 100644 --- a/demo/gradio/gradio.go +++ b/demo/gradio/gradio.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - . "github.com/cpunion/go-python" + . "github.com/gotray/got" ) /* diff --git a/demo/module/foo/foo.go b/demo/module/foo/foo.go index cb89430..ffc3b8d 100644 --- a/demo/module/foo/foo.go +++ b/demo/module/foo/foo.go @@ -3,7 +3,7 @@ package foo import ( "fmt" - . "github.com/cpunion/go-python" + . "github.com/gotray/got" ) type Point struct { diff --git a/demo/module/module.go b/demo/module/module.go index 6f41d61..a264edf 100644 --- a/demo/module/module.go +++ b/demo/module/module.go @@ -3,8 +3,8 @@ package main import ( "fmt" - . "github.com/cpunion/go-python" - "github.com/cpunion/go-python/demo/module/foo" + . "github.com/gotray/got" + "github.com/gotray/got/demo/module/foo" ) func main() { diff --git a/demo/plot/plot.go b/demo/plot/plot.go index 13d6db1..10dbf84 100644 --- a/demo/plot/plot.go +++ b/demo/plot/plot.go @@ -1,6 +1,6 @@ package main -import . "github.com/cpunion/go-python" +import . "github.com/gotray/got" func main() { Initialize() diff --git a/demo/plot2/plot2.go b/demo/plot2/plot2.go index 2412009..f50d819 100644 --- a/demo/plot2/plot2.go +++ b/demo/plot2/plot2.go @@ -1,6 +1,6 @@ package main -import . "github.com/cpunion/go-python" +import . "github.com/gotray/got" type plt struct { Module diff --git a/go.mod b/go.mod index 0753726..7273d68 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/cpunion/go-python +module github.com/gotray/got go 1.21 diff --git a/math/math.go b/math/math.go index 98a170d..0bed29d 100644 --- a/math/math.go +++ b/math/math.go @@ -1,7 +1,7 @@ package math import ( - gp "github.com/cpunion/go-python" + gp "github.com/gotray/got" ) var math_ gp.Module diff --git a/math/math_test.go b/math/math_test.go index ee4bcfb..75e5cf2 100644 --- a/math/math_test.go +++ b/math/math_test.go @@ -3,7 +3,7 @@ package math import ( "testing" - gp "github.com/cpunion/go-python" + gp "github.com/gotray/got" ) func TestSqrt(t *testing.T) {