SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
Project description
SWIG Python Distributions
A project that packages SWIG as a Python package, enabling swig
to be installed from PyPI:
pip install swig
or used as part of build-system.requires
in a pyproject.toml file:
[build-system]
requires = ["swig"]
PyPI package versions will follow the major.minor.patch
version numbers of SWIG releases.
Binary wheels for Windows, macOS, and Linux for most CPU architectures supported on PyPI are provided. ARM wheels for Raspberry Pi available at https://www.piwheels.org/project/swig/.
SWIG License: GPL-3.0-or-later with portions under LICENSE-UNIVERSITIES (see LICENSE-SWIG for details)
Installing SWIG
SWIG can be installed by pip with:
pip install swig
or:
python -m pip install swig
Building from the source dist package requires internet access in order to download a copy of the SWIG source code.
Using with pipx
Using pipx run swig <args>
will run SWIG without any install step, as long as the machine has pipx installed (which includes GitHub Actions runners).
Using with pyproject.toml
SWIG can be added to the build-system.requires
key in a pyproject.toml file for building Python extensions that use SWIG to generate bindings.
[build-system]
requires = ["swig"]
License
The code for this project is covered by the Apache License, Version 2.0. Source distributions do not include a copy of the SWIG source code or binaries. Binary wheels are covered by the SWIG license (GPLv3), due to their inclusion of a compiled SWIG binary and library files.
SWIG is distributed under the GNU General Public License v3 or later with portions under the file LICENSE-UNIVERSITIES. For more information about SWIG, visit http://www.swig.org
Project details
Release history Release notifications | RSS feed
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 swig-4.3.0.tar.gz
.
File metadata
- Download URL: swig-4.3.0.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9faa1925657ebc5236f6d7b93203c461eb109927dc67044e82639baf99535bd |
|
MD5 | 77a9870dee09f638175c6b01cfd8a6e0 |
|
BLAKE2b-256 | 8591ba71c5554c8e3871eeaac085d5a5dca378cfa9620a9283134329806d7167 |
Provenance
The following attestation bundles were made for swig-4.3.0.tar.gz
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0.tar.gz
- Subject digest:
b9faa1925657ebc5236f6d7b93203c461eb109927dc67044e82639baf99535bd
- Sigstore transparency entry: 151124742
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-win_amd64.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-win_amd64.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 2, Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 133ad207bc37b85b01bdac14eb0cbdc634166895563e06fd6c01e1c0c7ae2bea |
|
MD5 | 3fb0409070ab094a7bf4014ff94bb6bb |
|
BLAKE2b-256 | 325afd3de7fa6ef45b8bb39723de65aeedbe7b213ee397d2e9fa9fefe0507636 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-win_amd64.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-win_amd64.whl
- Subject digest:
133ad207bc37b85b01bdac14eb0cbdc634166895563e06fd6c01e1c0c7ae2bea
- Sigstore transparency entry: 151124753
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 2, Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 444e0d95598ba59a8165b24fcc8260e46595b3f67f0dcbf376d44a9e464f0630 |
|
MD5 | 6f16af6569387434a077ce71e4159d8d |
|
BLAKE2b-256 | 641d7a3a7be6a7e15611880aa017d33ac1c9e420d3528ac53b34d193f290a023 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-musllinux_1_2_x86_64.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-musllinux_1_2_x86_64.whl
- Subject digest:
444e0d95598ba59a8165b24fcc8260e46595b3f67f0dcbf376d44a9e464f0630
- Sigstore transparency entry: 151124744
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-musllinux_1_2_s390x.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-musllinux_1_2_s390x.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 2, Python 3, musllinux: musl 1.2+ s390x
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bca08882090c392e81be9f3bc7248d366a5fed370be350b6a407d8e7b0f9d5b5 |
|
MD5 | 6b5b7caa8bbad343a363196d4b8b69bc |
|
BLAKE2b-256 | 776136797cfef776c45485599d44dc6fd055bee1c9615d606b86ca414a0bfb20 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-musllinux_1_2_s390x.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-musllinux_1_2_s390x.whl
- Subject digest:
bca08882090c392e81be9f3bc7248d366a5fed370be350b6a407d8e7b0f9d5b5
- Sigstore transparency entry: 151124751
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-musllinux_1_2_ppc64le.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-musllinux_1_2_ppc64le.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 2, Python 3, musllinux: musl 1.2+ ppc64le
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3114515a4b93fa50f0145fcd4cc9bd8843be6778bfb9b3d6e7993a12c40dae3a |
|
MD5 | 0d98f143aef5790a4fb4a16a0b7e51f5 |
|
BLAKE2b-256 | 59851d212bf57885c064d539d5d8c1f07cd2f24a36e1bb87272f4cf8c9e72c6b |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-musllinux_1_2_ppc64le.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-musllinux_1_2_ppc64le.whl
- Subject digest:
3114515a4b93fa50f0145fcd4cc9bd8843be6778bfb9b3d6e7993a12c40dae3a
- Sigstore transparency entry: 151124752
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-musllinux_1_2_i686.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-musllinux_1_2_i686.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 2, Python 3, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285015fd5f75c89a6ed1065912d135fdf42ae20ce3ef9fe2612dbf063cca9eed |
|
MD5 | 05eb5199b3708c96635da956b1d7c02e |
|
BLAKE2b-256 | 618f22c92bcd240f76c2b4ebad29b8b52f8ee7e8160442a4616f96de4d864342 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-musllinux_1_2_i686.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-musllinux_1_2_i686.whl
- Subject digest:
285015fd5f75c89a6ed1065912d135fdf42ae20ce3ef9fe2612dbf063cca9eed
- Sigstore transparency entry: 151124745
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-musllinux_1_2_armv7l.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 2, Python 3, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cde121f11fd85dbff40e5d41c2ce5d02fc24ec864f2144fde75879e11008f7a1 |
|
MD5 | dcff9d5eacb34f59e036ce455a440c98 |
|
BLAKE2b-256 | a9c579d8fce26bd96fd5a0d9da4b6c70e35089850dcf4481ac3dae60703f7ed4 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-musllinux_1_2_armv7l.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-musllinux_1_2_armv7l.whl
- Subject digest:
cde121f11fd85dbff40e5d41c2ce5d02fc24ec864f2144fde75879e11008f7a1
- Sigstore transparency entry: 151124759
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-musllinux_1_2_aarch64.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 2, Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d34d3a26181a4bd659c28984f7f75dbd5088948f9e2805ac268d4222741225 |
|
MD5 | 9559c70bbe0135abef779e595d8d3862 |
|
BLAKE2b-256 | 3fc3fd9a828082f2eccfacdd473ba18f54da825569856a4252ccb655d47bbc99 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-musllinux_1_2_aarch64.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-musllinux_1_2_aarch64.whl
- Subject digest:
f2d34d3a26181a4bd659c28984f7f75dbd5088948f9e2805ac268d4222741225
- Sigstore transparency entry: 151124749
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.24+ ARMv7l, manylinux: glibc 2.31+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 812d8a3885a0fccb42dd12098acee4b28c66072fe0a46d66b2bb3ee985567333 |
|
MD5 | d00527f581fb236b33eb5f0724e22336 |
|
BLAKE2b-256 | da265d6067c701952a987996129e56458e13ada513c97dd415b633000a56d640 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl
- Subject digest:
812d8a3885a0fccb42dd12098acee4b28c66072fe0a46d66b2bb3ee985567333
- Sigstore transparency entry: 151124746
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 432c586a4469e108cf53e6988d8287c8c8ac375ccd7d66aa2c34327117799aa2 |
|
MD5 | ca06a79c8ed7633bb32e557ba32ec5c6 |
|
BLAKE2b-256 | e841ef592c27e66eb38b7c3d445a5bc143d2c5d4405ada5af2a4a80244e9fa77 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl
- Subject digest:
432c586a4469e108cf53e6988d8287c8c8ac375ccd7d66aa2c34327117799aa2
- Sigstore transparency entry: 151124747
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d22ffd53efa64b037c5d1efdbe75358ef6cb54d94c5ff43af6aa64d01ca4869 |
|
MD5 | b844190512747965db07ecb2ca591691 |
|
BLAKE2b-256 | 39e52791c36c55b56113e50bf06e74ecc68eaab68f44a6345a64a50672c44445 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl
- Subject digest:
2d22ffd53efa64b037c5d1efdbe75358ef6cb54d94c5ff43af6aa64d01ca4869
- Sigstore transparency entry: 151124750
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80760b5761a7a1ba540d920e28a7c39e1fd1c50e0e654ff8b3c28ce6312f55f9 |
|
MD5 | 6e17b8dedc597b3589c141e077dff096 |
|
BLAKE2b-256 | 562835c52a179c778e936e0e6a64e80e727707e0f29743d349534573c7afd496 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
- Subject digest:
80760b5761a7a1ba540d920e28a7c39e1fd1c50e0e654ff8b3c28ce6312f55f9
- Sigstore transparency entry: 151124758
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cbbb7a6a12a0127b8d1f9c7f670f9e7ad0721f7303922d8b348c1646f8dbef3 |
|
MD5 | 9ee4783ee7ae75833975181ef01b581c |
|
BLAKE2b-256 | 1156b3503019d00b2cd8bb8e770cc7ac8108a1dfba8d38fc4d16c4259d7ea914 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl
- Subject digest:
6cbbb7a6a12a0127b8d1f9c7f670f9e7ad0721f7303922d8b348c1646f8dbef3
- Sigstore transparency entry: 151124755
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b33392fd90862b31879cc11eab78c13e43c53bcf9bcd1d0847025db306aabc09 |
|
MD5 | 68a6ac0849f528591930ced28afad103 |
|
BLAKE2b-256 | e9bddfeff163132491d0432c8833819dacfa2d943f4a0a9b76f2dfbc2aacdf91 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-manylinux1_i686.manylinux_2_5_i686.whl
- Subject digest:
b33392fd90862b31879cc11eab78c13e43c53bcf9bcd1d0847025db306aabc09
- Sigstore transparency entry: 151124757
- Sigstore integration time:
- Predicate type:
File details
Details for the file swig-4.3.0-py2.py3-none-macosx_10_9_universal2.whl
.
File metadata
- Download URL: swig-4.3.0-py2.py3-none-macosx_10_9_universal2.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 2, Python 3, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afcf678d1d0711dba1630684c35c01fc29f4c0e2da5f1a2ff986f6c1e53b5e0f |
|
MD5 | 013d3e1e92475f7c3b301208cd0e28ec |
|
BLAKE2b-256 | e179316f515d463aa028a51ad116eb826b5215ae4cac75c782bc9e5f5fd63344 |
Provenance
The following attestation bundles were made for swig-4.3.0-py2.py3-none-macosx_10_9_universal2.whl
:
Publisher:
build.yml
on nightlark/swig-pypi
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
swig-4.3.0-py2.py3-none-macosx_10_9_universal2.whl
- Subject digest:
afcf678d1d0711dba1630684c35c01fc29f4c0e2da5f1a2ff986f6c1e53b5e0f
- Sigstore transparency entry: 151124754
- Sigstore integration time:
- Predicate type: