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
Release files for swig 4.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swig-4.5.0.tar.gz | 25.8 kB | Details |
Built distributions (wheels)
Total release size: 43.6 MB
Release files / swig-4.5.0.tar.gz
| Download URL | swig-4.5.0.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb6594f05a1f87783f981e92501c604ac08cc23bb20fa4e6bd5d3a283819f8a5
|
|
BLAKE2b-256 checksum How to use checksums |
7a4a0e273ba5c943f8bd1ec53671146f5062062199297e8dbc0d1f11977555a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-win_arm64.whl
| Download URL | swig-4.5.0-py3-none-win_arm64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
5cb1e345a7ae83e2b949262f46785bcdbe0f5c82916cba848322167efefc0db5
|
|
BLAKE2b-256 checksum How to use checksums |
1f257d3c3cc8026a1f02be42e345877844472e618cb9f4c7ac78f2f766f2575a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-win_amd64.whl
| Download URL | swig-4.5.0-py3-none-win_amd64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
030fcc0fcc7493a2ee78e167ef87ee550cedd712ed7e6fdf220b90e160d431dd
|
|
BLAKE2b-256 checksum How to use checksums |
05f6702e2a36f77302baaa5531f0282b34bd1ca935134d6ac9d112db06e93b96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | swig-4.5.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
762638d3f1fa1f27b09f8ef6854ffc0744e0f54ead3b19bfec5d22244bb9872f
|
|
BLAKE2b-256 checksum How to use checksums |
6b75d021463537e8cffd4d3f88228184e7b6aa6641ad97f0fc87f0195ec24150
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-musllinux_1_2_s390x.whl
| Download URL | swig-4.5.0-py3-none-musllinux_1_2_s390x.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Linux musl 1.2+ IBM System/390x Python 3 |
|
SHA-256 checksum How to use checksums |
a8319ab91625d2e15556eae923f8792ce0e3c11fd375912584f218a4f0e7cf34
|
|
BLAKE2b-256 checksum How to use checksums |
0722d65fc57e270f58cc44fc7f6d8ea56534afb71e65b67089b09f04987b32c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-musllinux_1_2_riscv64.whl
| Download URL | swig-4.5.0-py3-none-musllinux_1_2_riscv64.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Linux musl 1.2+ RISC-V 64 Python 3 |
|
SHA-256 checksum How to use checksums |
d5d479fa163e7ffce448bd00f658f688c9b5234eda501fc60c8cdc8087355c49
|
|
BLAKE2b-256 checksum How to use checksums |
5d3abee4314e01445e920598b8abcaf0fd1477c942b6c8ab167c544891ded065
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-musllinux_1_2_ppc64le.whl
| Download URL | swig-4.5.0-py3-none-musllinux_1_2_ppc64le.whl |
|---|---|
| Size | 3.2 MB |
| Tags | Linux musl 1.2+ PowerPC 64-le Python 3 |
|
SHA-256 checksum How to use checksums |
edf8a275f9c6b1e0ac6b07d7a9e1e1c835c3d2504f9cec6dc863a959b81ab09a
|
|
BLAKE2b-256 checksum How to use checksums |
0dba28ffbcdee529994f44ec3e9ba6fe19ba6edb10ef07f82609af468c4b7cf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-musllinux_1_2_i686.whl
| Download URL | swig-4.5.0-py3-none-musllinux_1_2_i686.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Linux musl 1.2+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
83d1ff7c4422ef1a89ca8f65061be4ef78eb5d02a75fae36043a454461f9c57b
|
|
BLAKE2b-256 checksum How to use checksums |
64e4c07a09a4be495c70983939c114ccf30d691cf15e61f8a84a444e12e02a3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-musllinux_1_2_armv7l.whl
| Download URL | swig-4.5.0-py3-none-musllinux_1_2_armv7l.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Linux musl 1.2+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
64f37fbaa975403d026a0bdfa4bea27c8e3861f2ee134b37d705d4ad3dd5b435
|
|
BLAKE2b-256 checksum How to use checksums |
441cd8c4df84868dbe1a0a73d10fed24c36a5e0155f0ba43a72be3bc975d0908
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | swig-4.5.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
b297421b229fe23245a2701598a3efd1ba29f4e809aa2cd07b426d52a37ce75a
|
|
BLAKE2b-256 checksum How to use checksums |
17b8fbac0cdf6ee2b99892c1fb296a8bad60adc6d2c33a49733609334ac39547
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-manylinux_2_31_riscv64.whl
| Download URL | swig-4.5.0-py3-none-manylinux_2_31_riscv64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.31+ RISC-V 64 Python 3 |
|
SHA-256 checksum How to use checksums |
05e5ec8b5d4fabb6e3a910cfb43b7ebb04851c8c66117795350b80bdcb878d24
|
|
BLAKE2b-256 checksum How to use checksums |
23f17b75796cc856636efc69529075a7653801b23632e6aaefefe4a8ee17d976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl
| Download URL | swig-4.5.0-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Linux glibc 2.24+ ARMv7l Linux glibc 2.31+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
22c2f089ee929f3c714b70a657fd96ea395fc49890e7f345d175f9bf15c96a36
|
|
BLAKE2b-256 checksum How to use checksums |
e4ef6139883f1f9b0f0f7a0dee74192ddbd9a5c8b6cc7cee9b0bc390628eefbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | swig-4.5.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.12+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
4821eb0b69869af25547fcd00c8235e274e43515d001fd32cf079d52eb7d1d99
|
|
BLAKE2b-256 checksum How to use checksums |
2985f5f7976ea09a4a16eee5b96f7d7c289685b19651c51ce9946128f1315440
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | swig-4.5.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Linux glibc 2.12+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
0ea50150bf5f4782789dc2016ff3ea4f40d2e37ed1954ec8c0442b947fae244e
|
|
BLAKE2b-256 checksum How to use checksums |
efbd104089157d29013049b66a171d2ee74486af72b20d1621b06dd0cc998565
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl
| Download URL | swig-4.5.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Linux glibc 2.17+ IBM System/390x Python 3 |
|
SHA-256 checksum How to use checksums |
4f70be1618a6da71bd50c97222cc78ba1fc194a5ab3352dd9868f8cea10aecb2
|
|
BLAKE2b-256 checksum How to use checksums |
7dbbadd9f6cf59c9c49f3b4eea9260991eae112bf13a750ed76c9cb7739f5e2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl
| Download URL | swig-4.5.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux glibc 2.17+ PowerPC 64-le Python 3 |
|
SHA-256 checksum How to use checksums |
f166a61e0f31a61f80eb9e22e00649835b30bb92f703ca009c03f719337da1a4
|
|
BLAKE2b-256 checksum How to use checksums |
171cf21fadc56c517b072b2b0652bc767fc0e44da5238fe47c3ee9ece73d34a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | swig-4.5.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
59e35b68f32ada308b3d1e13fd2793df9e56d399fa136c50b24fd5a048a94ec9
|
|
BLAKE2b-256 checksum How to use checksums |
220c9a1ef12920e18f6638be03f6adf2f98b3ee23902c6401c85ffccb8cdbc17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / swig-4.5.0-py3-none-macosx_10_9_universal2.whl
| Download URL | swig-4.5.0-py3-none-macosx_10_9_universal2.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
d7185ecc74f514a5636d5b2e3197acf9eebd07c40d7a5198b03363d9f56ed864
|
|
BLAKE2b-256 checksum How to use checksums |
1c4f08973affe2b98b21c5ad32609b528e0bb9cc5dccf87ac107d3b0e1a423b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency log