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.post1.tar.gz (27.1 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 2 Python 3 Windows x86-64

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

Uploaded Python 2 Python 3 Windows x86

swig-4.1.1.post1-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.post1-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.post1-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.post1-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.post1-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.post1-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.post1-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.post1-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.post1-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.post1-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.post1-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.post1-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.post1-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.post1.tar.gz.

File metadata

  • Download URL: swig-4.1.1.post1.tar.gz
  • Upload date:
  • Size: 27.1 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.post1.tar.gz
Algorithm Hash digest
SHA256 5cbf2d4dfc413f74cac197704296a9ef065a3f81c7b3792ff11a56d312c4f652
MD5 c2bf820a545f333d47b7be513baaee3c
BLAKE2b-256 dab8d1bfba3d7f75eeca60ecdcb2c214e5cdebb7477437d45db77b6dafee80f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d173b2b97ee3af97370207b35097c40e74cd5fcdd8358604d4b54b66dac7d77a
MD5 9263eee4eb893c202c35443aecdb5d7c
BLAKE2b-256 e13a93e1e2a7d16dca781b7653da94eda1aad3db6b730468ff49521cc744a85a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swig-4.1.1.post1-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.post1-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 8d7db989609f91b503d5e3758481f7097a947a5cdc866ec148008172cf2456fb
MD5 4b38525fa1dc0ad0c7905f75943d2d65
BLAKE2b-256 8684c7e63c3b986e30d5ca0e63b47b93c13ea06b0473889757c19a97ac1adbdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 de653fde8ffe33cc8b966902d731f6f3a750a4780f5fd841043e3886e6450573
MD5 e5fc9ee4d5da74e42f1410c75e38f4fb
BLAKE2b-256 4dcc02a204e65988025d6dc15b78e574ea469ec203745b9893c39cc915b92f4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-musllinux_1_1_s390x.whl
Algorithm Hash digest
SHA256 5352329d1ef99b759d6190876b8feb69070fe600744b2fe49bcb66374883e085
MD5 b003c3876224ccbd1d790641344bdc6e
BLAKE2b-256 0258cafa76d565884132febb6fd2dca6ee0986dd41b96696fcb2242d3c1d94ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 ffbcb5538c3a1f9cd42571632d5f8d468c77c0e08e63014c8435162fdd11f69c
MD5 2886535868f93ca8a0043d80ddaa0c90
BLAKE2b-256 fe793d38fb16c2038769102ded7799ef532f564334ab113fcc14036f455e9dcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 c74f75be0d86881cfdd2f4e97c8eaed6791da2d95910e887483c4ea62d404d30
MD5 e3533eaef63cacf9e089d6ef9bbee165
BLAKE2b-256 49dcae36d69681c884cb56ea2aaf6c565eddc8bfc37dc6113314ada54901a43c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ffefa3cd1a7a49fcf61804849a022d497b29bfe6214611ae2c08804c36cc2859
MD5 40b605040aceeb8f90869236e63cd901
BLAKE2b-256 e9efb746ece525d5415e8a85a74121b621b9dc8b29d1e13d712bab057864546c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 d69698dbdcc85e7a4cbae6316a019f2b0b5f169f6d81ab2c2696bff6ee9d6039
MD5 c4b6d080f74b89040fce56c4fa32e365
BLAKE2b-256 bc8ea22f81d2b46dd338d0f81d1c82aece723a9984dae01a83a6038a422e3eb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 953f8dc647c4329a4d2665d7cc9141d798ef62d29350b8090fa2174e4a8a0308
MD5 6dea8c4e802820c8bf77d418131a4c3a
BLAKE2b-256 aeadf1793ec038ca54d7f70272b133570a8b5113d936c7721a159151a139a459

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b479e1d47a8414d3ff9e86083419627f93aed84ec320dc49df095aedcd224b6d
MD5 07f012e05876b855c1a62c9f06fd0864
BLAKE2b-256 4ba0d6f3082bfed25d6d77bd78316969b23a7f48a00f85cb4728eb4ec02b5128

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 22d482802d0e034f185a56d61f7dc426267dd1e819fda4ac7dfeec61ee62cfda
MD5 8ff69a0f866dd4d0d62e46bf7f905c67
BLAKE2b-256 8957aec312f259b202185481a4c688d517dd62c40723695b3d04b851e682aa4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 df4af265fe6bb684cf01bdd52cde6e21d8073c316680c0e3ebbfcfa301983243
MD5 5d79bfc7b71362776c7955000ce98251
BLAKE2b-256 934ac0b5235791698af60fc088eb2603986ba0a8707e394d8837d423b9b7af43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 80f5e1b0da6cb69f7cf6cd6db88aee302f75b1994bbf06cdc0f116c6284f331d
MD5 900c600b7ba631771ce4390c83ae5d45
BLAKE2b-256 4fd99e50c83f759211fd6c2f8d4d6e85672341f1568b598d066d0c56ebaadd26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c237a497bc06d58e4815012b6d92af6319bd5321045d080b8581b2993dba8271
MD5 e80cbf06b017bf3892158def20d522cb
BLAKE2b-256 7aed3f8ed63284b817fadc808c968f71f36c7ba09f8a800f911d6f561bbfcd94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swig-4.1.1.post1-py2.py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 477cb580efd5746d7f633f40567c26cb4d75838fea2b38b4b3dc50c2ce758108
MD5 53f13de83031361691e6b309d6163713
BLAKE2b-256 ce32df5b0885c5fa006daa603a926989f9c712565758145a0fec96d3478ad0f4

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