Examples for https://github.com/asottile/setuptools-golang
Project description
setuptools-golang-examples
A few examples utilizing setuptools-golang.
c_module
- Demonstrates that you can mix go extensions with c extensions seamlessly.
go_sum
- A very basic hello-world-y demo
- This example is roughly lifted from @FiloSottile's blog post
hello_lib
- This module demonstrates importing go code within the project.
red
- This module demonstrates importing external code (in this case ansi)
sum_pure_go
- This module demonstrates it is possible to write an extension using only go files.
- It's slightly cheaty in that one of the go files is entirely a C header.
- You could instead do something similar to this example but it's much more difficult to support multiple versions of python.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file setuptools_golang_examples-2.2.0.tar.gz
.
File metadata
- Download URL: setuptools_golang_examples-2.2.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fdf9d084d2dc969c03eebc70ee942d7a107041acc363556116502b47a203364 |
|
MD5 | ac035329fccbecaa133709ca1151852c |
|
BLAKE2b-256 | 0d8dc7ff9e6f3c60c2d4efb30dcc7074cf29a3938daf33cb4d83bf1ca4dbcec9 |
File details
Details for the file setuptools_golang_examples-2.2.0-cp38-abi3-macosx_12_0_arm64.whl
.
File metadata
- Download URL: setuptools_golang_examples-2.2.0-cp38-abi3-macosx_12_0_arm64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.8+, macOS 12.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 984994e22e8b3686a687ca9e35595eb125dcd7038a32b62cbe87af13325cd6c2 |
|
MD5 | 7bf76985c048c4f766bde5eba58b683b |
|
BLAKE2b-256 | be0b60f71f29cf6f116f6e2f1705946dda98c7160c5d126208a5338be0f789c9 |
File details
Details for the file setuptools_golang_examples-2.2.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-2.2.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.6+, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc901897d908e3c1b62207856979b5094103a9b2582c45f902585c5b53c80a2 |
|
MD5 | 1e215ceb9e38c24d9c339e9531bcdb83 |
|
BLAKE2b-256 | 8aba9b0e53f5c5d0ee89e3ef07a1e845c48577b7ecad78049837eba463bc2162 |
File details
Details for the file setuptools_golang_examples-2.2.0-cp36-abi3-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-2.2.0-cp36-abi3-macosx_10_14_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.6+, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13cde35291344c145a61dc0658a3eb2bdda310f1c8d094adf1556764876d89be |
|
MD5 | 7bb2b790921e172d11510865b98d7da4 |
|
BLAKE2b-256 | 25916a60aa77ec81a7a619dc42859faecb31207476d6b1d796c409a7c115c626 |