Skip to content

Commit

Permalink
move to github.com/gotray/go-python
Browse files Browse the repository at this point in the history
  • Loading branch information
cpunion committed Nov 22, 2024
1 parent a6258cd commit a697220
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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()
Expand All @@ -75,7 +75,7 @@ func main() {
```go
package main

import . "github.com/cpunion/go-python"
import . "github.com/gotray/got"

type plt struct {
Module
Expand Down Expand Up @@ -113,7 +113,7 @@ package foo
import (
"fmt"

. "github.com/cpunion/go-python"
. "github.com/gotray/got"
)

type Point struct {
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -235,7 +235,7 @@ import (
"fmt"
"os"

. "github.com/cpunion/go-python"
. "github.com/gotray/got"
)

/*
Expand Down
4 changes: 2 additions & 2 deletions demo/autoderef/autoderef.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion demo/gradio/gradio.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

. "github.com/cpunion/go-python"
. "github.com/gotray/got"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion demo/module/foo/foo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package foo
import (
"fmt"

. "github.com/cpunion/go-python"
. "github.com/gotray/got"
)

type Point struct {
Expand Down
4 changes: 2 additions & 2 deletions demo/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion demo/plot/plot.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import . "github.com/cpunion/go-python"
import . "github.com/gotray/got"

func main() {
Initialize()
Expand Down
2 changes: 1 addition & 1 deletion demo/plot2/plot2.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import . "github.com/cpunion/go-python"
import . "github.com/gotray/got"

type plt struct {
Module
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/cpunion/go-python
module github.com/gotray/got

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion math/math.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package math

import (
gp "github.com/cpunion/go-python"
gp "github.com/gotray/got"
)

var math_ gp.Module
Expand Down
2 changes: 1 addition & 1 deletion math/math_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package math
import (
"testing"

gp "github.com/cpunion/go-python"
gp "github.com/gotray/got"
)

func TestSqrt(t *testing.T) {
Expand Down

0 comments on commit a697220

Please sign in to comment.