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 (impossible?) to support py2 + py3.
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-1.0.0.tar.gz
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9864fb04bd6dcf00a7a73555357be5b2f9206bb2e46945a87b16a6bd92f5c7 |
|
MD5 | d8bc9e01a8fecc2e88024b9a3086ed2c |
|
BLAKE2b-256 | 8d2bfa08b522889d1dbb5e232e70bea922d4bb47cf83e2129d38bb0f84582cf2 |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33743b33e0ebec2e491d7df47371e9e715eeec3973055247c81f811eac35dc2b |
|
MD5 | 72fcd8ff9892d007d9453c9767c566e7 |
|
BLAKE2b-256 | 9db4c1a24fcdae7ea68450d2f889b23b54c60fa360c859fff6c27ec19157cbb7 |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 819dcf27710ed737af5152f56916338da31801c8d5148b72c8d5ea96a387e97a |
|
MD5 | 4f0785adcdc35c6f4f6ac42e8f5205ee |
|
BLAKE2b-256 | 9a1a4639a97ddd4123d420b923cd9e163f165ce4797365eab1a87751e430185f |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e6bee5698a844d9335eb90083d498726b8de8fdb238e1b77b087b77048c190 |
|
MD5 | 72db0976a7755289d095913406d65250 |
|
BLAKE2b-256 | 8ae21b1957b9fd8f5a48c71a089bc20e5acd8a7fb73122862a246451caeb3a7c |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 448443f94df93146a9b654c7a603b66631c431f276b187c3d4a23f9f680c443b |
|
MD5 | 940d9788c2c43f44be305e5ca9f2eebf |
|
BLAKE2b-256 | 01e6bc5fb6028619a46a34558dc161e7ce402f0fb3913a3377fe31b02aec8dba |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp36-cp36m-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp36-cp36m-macosx_10_14_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.6m, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c9d652477151a0a215feb169153f5313c8112d91778c10360b5580501bf4caa |
|
MD5 | a5fa40e255255a63a1dd00d2c03ff146 |
|
BLAKE2b-256 | 35815cdbb595224ff0b9fb7d130fdcad29c2389c939416db34afc1e2286b0c2b |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da7ea1ec1d7b2c0d8bce4049add997f5a1764d28f86f6217ec37ae1fde9860b4 |
|
MD5 | 57c0d40ae92242f79742fa755d3e10d1 |
|
BLAKE2b-256 | add6e5683f976211f33592e2f0824e2b2e5384c5aafe822a5d185f31ba7469be |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8aa50611e94a09d13e4b5224d3b1da80e04a4dd96fb5f302d7e9d1b4917fa3d |
|
MD5 | b84279a60bb7e9c10bd87fe701bb8bea |
|
BLAKE2b-256 | b1795f33f2a0aa6802c001bce38eb5dc373c0b3fcdb3cbbc5314278108a66230 |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp27-cp27mu-manylinux1_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67096e92a7fbb3f295f4425c6c66b392866d024d05455f8f39ba93f13cd36464 |
|
MD5 | 39bf87fc2b2fe8b10014904f7228aaa2 |
|
BLAKE2b-256 | bce04618811ec6e1192c02ae76ce487c34a0a377d5d2966bfb01e61d14efb6dd |
Provenance
File details
Details for the file setuptools_golang_examples-1.0.0-cp27-cp27m-macosx_10_14_intel.whl
.
File metadata
- Download URL: setuptools_golang_examples-1.0.0-cp27-cp27m-macosx_10_14_intel.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 2.7m, macOS 10.14+ intel
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ba68c82b73c103384064d1adb9690f98dfdea418e9d15f37e1f4a29fdb2b500 |
|
MD5 | 6c417ce9cea75c17aa69b2828502150f |
|
BLAKE2b-256 | ce4b848bfa490251bfd429c44c7634e9a548aa1fd519570096a7e05f85975b84 |