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.1.1.post0.tar.gz (26.5 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 2 Python 3 Windows x86-64

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

Uploaded Python 2 Python 3 Windows x86

swig-4.1.1.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.1.1.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.1.1.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.1.1.post0-py2.py3-none-musllinux_1_1_i686.whl (2.6 MB view details)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ i686

swig-4.1.1.post0-py2.py3-none-musllinux_1_1_aarch64.whl (2.4 MB view details)

Uploaded Python 2 Python 3 musllinux: musl 1.1+ ARM64

swig-4.1.1.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.1.1.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.1.1.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.1.1.post0-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.8 MB view details)

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

swig-4.1.1.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.1.1.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.1.1.post0-py2.py3-none-macosx_10_9_x86_64.whl (1.7 MB view details)

Uploaded Python 2 Python 3 macOS 10.9+ x86-64

swig-4.1.1.post0-py2.py3-none-macosx_10_9_universal2.whl (2.5 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for swig-4.1.1.post0.tar.gz
Algorithm Hash digest
SHA256 6c9619f2160e11aab6ec2918cec1ff3c12ac2e98e49e95c1e0c83bd3cd85a37e
MD5 dbe16b677784b507c8c470a42ac6eea2
BLAKE2b-256 d25f026ba64cdbaac2be1f33231fbfc98fb27ee1f0f4045b5a59b25cfa5c7eee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b39b9108b04019c3b5c190d020546d49aa097c420115c7ffe4be574871a68fa8
MD5 31a2c8985fe336049cef8416f8101b5c
BLAKE2b-256 8771e9c34d30fac796b6d3c2d1320f9c49415e3ec43d2282dab40a31431845bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swig-4.1.1.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.6

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 d59f39a8e0b0cf678e6ad25bb42c141b31e1b93a46610e4f8b94c28cf6764e26
MD5 2c1db992b5324cce264e495fe4a4436e
BLAKE2b-256 a249d9125fe5c22d7d9c55854cfdf29071c7f24355e99a27cccc7bbaed930e94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 919c51d22f5d064f9a46bb827a57e6563dfa5f3db5a5fac4c4c9c0708d59bcb1
MD5 7abd35ee506784a93b317426e75f66e1
BLAKE2b-256 ea9466cc80706adcb01c59fa156f8f11765ee2d45b143fc0c54ead97ea238918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-musllinux_1_1_s390x.whl
Algorithm Hash digest
SHA256 c86fb87395618f43b10368947d55e9536ad890f460e0efbecec1b905b05ae33f
MD5 bc1e103d32d1dd70e8be9b03c8db9e6a
BLAKE2b-256 df30bc52381829a74ea75031e3b0ad81493692b03e1b35b9a4acb4a763a78726

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 1b2624494ff54014dd34eb39207134879b16db6a0b70b74fc8ffbe56a60ef95c
MD5 cdf04c33c6ea2c52364005a5e6cfcf2d
BLAKE2b-256 148fb6da2047200424ca30d2de39f89b73dc75fe94c53cda6dd36d78e213fea5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 95dab99f40f3ea95f2f8c5ead6c04f619126307a908e7f86a6fe08d649407a42
MD5 f5818ebea88b32d6f456d3de5c6005cd
BLAKE2b-256 90de1359e67b6fd74b283526f9492387a466e3983f32f18ffe13d65c7b1af926

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9a2bb1483b4124b370bba6d5c8851034aae056ff6b432215ab2c49076edd4455
MD5 bca0ecbea1bb8f3870f2cfc1bad5cbff
BLAKE2b-256 4977b986cb2690cf6773c5e9b05b8283f251f2be4bd07a6056268bdbc2f03686

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 eed8589fea9c31b8310f2c700599ab14db363356816a6ba4862301734e3551bb
MD5 30ef2d3a11d1858bb8d61c5b23021653
BLAKE2b-256 b8e7bb4e1faec36226fcac3b6d17f9b058c4049d7aaeab0d0c0eddea579042b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 f3aaf5f57e4bf40b2fbfd357af8458c610437abb2f8888bc1926085bc397f93a
MD5 da6605fae9ce35057d2e83339fe16850
BLAKE2b-256 98cb9d8a3f358501b646f3625ab4de7722c0ff4b52336a53ee4f86af58527c5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 abb7c9325c1ac2b2c6650ec91e2367c56b16f8e3f251d6d5db5afdf89137b775
MD5 26195d6c274d84af3852a01e0516ff3b
BLAKE2b-256 ff99baa0dcac39c0f715683a4e9f20f0e10ca91b5f52f4f77fd4e1a5abdc981d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2712f7b236b7be8ea288f587907855ec7b6c9a118416fae22f675f9d6dd50239
MD5 3994334530e046dd8502d69e2db1e0ed
BLAKE2b-256 50ced683fd61491983749484105a752291fe094d6247e336de1b76eab5600e14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 0e331072f08969f67bb172d1d4e80c8539378ed6dc529dc67bd62c9886f6831e
MD5 1dcd7be1a93de26d2327f67fbe3e305e
BLAKE2b-256 e7f5da8729889ec9b2fcf18ede0641608f43ba65f9e14b641e36408e89ab1a0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b9b2e2df4496cc9cc0eac84019c4f39022702d694322ebe191ed2afbe2d926d0
MD5 42115059eac68b28c715df1a3da9714a
BLAKE2b-256 33f59119fa6a4bc6048aa5da6c4700a6eb703719008c78f0ddea41980f550ba8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a97c0ea8ad1ecff951ecca8f658b2e6ea127576cd5a758f8b16813e603a1ebed
MD5 f3bbf2a4490645494f91714062c3594a
BLAKE2b-256 e83948c8dcad0b983b0ff4341c4e756ac1030d5d4c0ecc25f74f15cf56f21992

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post0-py2.py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6b338be539a78dbad57733d7d7af4466290091a042f6b5eb267e29dc3e1fe93e
MD5 93429925c9617f05b3c49749aee5a5b7
BLAKE2b-256 7c77f5e6d36b19885f8d40533c506aa09f9a0f359c75c84271ce819ffff15921

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