Skip to main content

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

PyPI

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 PyPI Package Homepage

SWIG Homepage

SWIG Source Code

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swig-4.2.0.post0.tar.gz (27.3 kB view details)

Uploaded Source

Built Distributions

swig-4.2.0.post0-py2.py3-none-win_amd64.whl (2.5 MB view details)

Uploaded Python 2 Python 3 Windows x86-64

swig-4.2.0.post0-py2.py3-none-win32.whl (2.5 MB view details)

Uploaded Python 2 Python 3 Windows x86

swig-4.2.0.post0-py2.py3-none-musllinux_1_1_x86_64.whl (2.5 MB view details)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ x86-64

swig-4.2.0.post0-py2.py3-none-musllinux_1_1_s390x.whl (2.5 MB view details)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ s390x

swig-4.2.0.post0-py2.py3-none-musllinux_1_1_ppc64le.whl (2.6 MB view details)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ ppc64le

swig-4.2.0.post0-py2.py3-none-musllinux_1_1_i686.whl (2.7 MB view details)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ i686

swig-4.2.0.post0-py2.py3-none-musllinux_1_1_aarch64.whl (2.5 MB view details)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ ARM64

swig-4.2.0.post0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.9 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ s390x

swig-4.2.0.post0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.0 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ ppc64le

swig-4.2.0.post0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ ARM64

swig-4.2.0.post0-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.9 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.5+ x86-64

swig-4.2.0.post0-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl (1.8 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.5+ i686

swig-4.2.0.post0-py2.py3-none-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded Python 2 Python 3 macOS 11.0+ ARM64

swig-4.2.0.post0-py2.py3-none-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded Python 2 Python 3 macOS 10.9+ x86-64

swig-4.2.0.post0-py2.py3-none-macosx_10_9_universal2.whl (2.6 MB view details)

Uploaded Python 2 Python 3 macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file swig-4.2.0.post0.tar.gz.

File metadata

  • Download URL: swig-4.2.0.post0.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for swig-4.2.0.post0.tar.gz
Algorithm Hash digest
SHA256 615a9f13d2849650aeddc9cd149df1ddff6a58fe1d1e56f36f98b8672aa1e3c6
MD5 4b369e9247e25f375b4003f3e028e8da
BLAKE2b-256 6b648d9b8f6fc1ac4f3877317460be8635144e9e26420526dbeaaa6f96f2cf1d

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 aa442f154a4af21bcde04a756d4ceb95d6edd223e1eb0b847be78b7e3b75b454
MD5 79d9becefd82b78fab69d226dfe70ed8
BLAKE2b-256 78af56dd3d377d714372cf912f39294c92b748d284326e8bd5b585d08e310c97

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-win32.whl.

File metadata

  • Download URL: swig-4.2.0.post0-py2.py3-none-win32.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 2, Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 ac8b4c944d940514e46f956005842949bcda15d593187c49116942ff41804fca
MD5 d2b48a1b5be2387ff81cef58aac1a2ef
BLAKE2b-256 ebafabf8304e6de9c302540d3b66b37c3c2f6120fd8b899d83ebbdb3a3c7e03c

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 519504bbed90fb27f5b854f944f208de74e98e3e71a3a40a228e78a9b025af3a
MD5 99463765a91bc313138b2a87f20bb389
BLAKE2b-256 36295c7ecdd308164ff8fbd85fb433156b9661b30e26854bb462c30bdd464d8b

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-musllinux_1_1_s390x.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-musllinux_1_1_s390x.whl
Algorithm Hash digest
SHA256 7c40e63ed19248ffc84459acab3fd4b61b755e0eda4dcbbdcfea80a9718c73c8
MD5 1e31a711abccb1e8fb37a3662a909210
BLAKE2b-256 05a46202bbedc7d0fa5f560e1c6333d9275925c80060e075763972ad63f739e5

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-musllinux_1_1_ppc64le.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 4c9586cc0720d2e8f9c63a608e208d372578e0e17febe1143d465452e18dd6d0
MD5 29c06acf75f668858db6531b5ae96b87
BLAKE2b-256 79292143dae0ee119761509ea71bb52b9af3bc80e23c2ef65dbcb8390cb313aa

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 9151b2603a7a065103a91c51c8720b1081c39626b299ff691e4f93dd93bbefb9
MD5 2a6e131abc902ce92934b45fc68cdc72
BLAKE2b-256 0e4ae9b9669aa331ea9c9b9b0f097214783650cc3add3552c6f0bc8e35f914f5

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 66ab65da61da3408d623f84cfc0992d11266354e0814130174f03d148fa5c1e1
MD5 68f3d9a0da9172ca180ee2b4f85e0a4f
BLAKE2b-256 83e23da7068b6ef65eaaeed9e7fe595af72c0b64aaade925d83b08c5b1248d5c

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 f397dc4d29b7f74c614042ac99dfc9aadea2571ad2720bfe1c12b1791066364e
MD5 ec8fc3974b025c2ba02a046d0158801c
BLAKE2b-256 6a940a4fa43fceeb04bdbd5b50e51d5a03e3ccc734ec1b77e2628d80c0c72195

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 e5048bb91a2dd15531bdb98fed4a83a229158fef440be8f94239599219b15136
MD5 8984a85901491ace537b21c4d8dfc680
BLAKE2b-256 aad67d1b257b6c7558ba1cbc4350277d3b32848007a36559a438a0be44f2866f

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7f2d412ea6641973e494e6ef806c3fcc77ba7325d60a43c94a89e66336c7d57f
MD5 449031cd79f71eb94840fc2ca99c5c10
BLAKE2b-256 bbf82951e96ab593061f55322005154c102e8dd4edfce56d8ba79c692d323191

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3ae1b2e8d1b6e0f4fadea54878d71b6ec7907816651ef6dfecb05862942e93f6
MD5 85f3be77e97db3b882b170d323cfe84d
BLAKE2b-256 c5e71103934e9451c1b39cecb04263e286f7c5efa6725f9bb01fd4e7efce7bf7

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 e1bfb41a09ecf925dd88d34ab8a41d5eebc065e52e259a900474670d7fd3adc2
MD5 3591b80b06896e28142a8e68a25c4ee2
BLAKE2b-256 64e0158dbf04a1465414ab9d76c7826f896ad3295b023280e089c3ee98b6e077

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ccec84b382f2711625404e84ef25991cea548e48b1346903197ce1f16c22783c
MD5 346766ade142987a9d5f71a788567fa7
BLAKE2b-256 282280d2d4f24ca3ceedb36d9489d25a14a31c3b3c77c38d4c2122246e98f34f

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4d17dfe04331d166c6f0859eccc52f3986824f5562571e3efbd2734e80eed115
MD5 95d96170852375e68f9be52ae9a0bd3b
BLAKE2b-256 e227317cd899cd07c8453229a4188b720439c1cc964a36f206ec2aa42a8f5639

See more details on using hashes here.

File details

Details for the file swig-4.2.0.post0-py2.py3-none-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for swig-4.2.0.post0-py2.py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9be3c8de9f0e689934652b222bb2ece8d9b6df1f0d0691ba0882d99a5ec4bcda
MD5 a15bc315bd773d782cc69c9a35a0fb0f
BLAKE2b-256 9e01665ec529f68051e440bba68b47c99af8e40e459d8aeb73caa0d9c048ed9e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page