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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

swig-4.4.0-py3-none-win_arm64.whl (2.5 MB view details)

Uploaded Python 3Windows ARM64

swig-4.4.0-py3-none-win_amd64.whl (2.5 MB view details)

Uploaded Python 3Windows x86-64

swig-4.4.0-py3-none-musllinux_1_2_x86_64.whl (3.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

swig-4.4.0-py3-none-musllinux_1_2_s390x.whl (3.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ s390x

swig-4.4.0-py3-none-musllinux_1_2_riscv64.whl (3.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

swig-4.4.0-py3-none-musllinux_1_2_ppc64le.whl (3.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ppc64le

swig-4.4.0-py3-none-musllinux_1_2_i686.whl (3.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

swig-4.4.0-py3-none-musllinux_1_2_armv7l.whl (2.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

swig-4.4.0-py3-none-musllinux_1_2_aarch64.whl (3.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

swig-4.4.0-py3-none-manylinux_2_31_riscv64.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

swig-4.4.0-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARMv7lmanylinux: glibc 2.31+ ARMv7l

swig-4.4.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ x86-64

swig-4.4.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl (2.0 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ i686

swig-4.4.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

swig-4.4.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl (2.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

swig-4.4.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

swig-4.4.0-py3-none-macosx_10_9_universal2.whl (2.6 MB view details)

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

File details

Details for the file swig-4.4.0.tar.gz.

File metadata

  • Download URL: swig-4.4.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0.tar.gz
Algorithm Hash digest
SHA256 a0d48c94e8b97e3661e201626341e4822154592c2ff42e40ade1957a5a0f6b52
MD5 dc416d65aafaa816d621b795dcc81a1b
BLAKE2b-256 1a3c89520319673788a934d7437aa6ff24ccbd371820a45cc387ef59e6a092af

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0.tar.gz:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 6b1788664ae9babaa6cecc259de9dc648c0e7683db74e5f5e3b4a2699712197d
MD5 35fcb29170f9ea6595b6da1187b2a944
BLAKE2b-256 190e996857f60ed53057b03b80e1aceee3246532ebfc7f7925a5dd17aba0c0ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-win_arm64.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9bdb677fd0643dfe72c4c68efac0789643b6053863242e5e8a572b403ea802a1
MD5 b2dcbc77d76bc24b9ae35e08e5d3d50d
BLAKE2b-256 b6cc25d92a4ff8958530fee7aa2697e2d477c264ba8127182c01704d8ea92d5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-win_amd64.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e38636d7f42a350cd3c380f75f8fe365a9aac77e9263d5b0cd0757c8829ef899
MD5 a0e525728952c9ec650655ac5ec3a7ae
BLAKE2b-256 20a90adc75c33aae1ec596e5e7bd990b8f2d2103498d0795ab3fcb71802f1f77

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-musllinux_1_2_x86_64.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-musllinux_1_2_s390x.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-musllinux_1_2_s390x.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3, musllinux: musl 1.2+ s390x
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-musllinux_1_2_s390x.whl
Algorithm Hash digest
SHA256 6b713d033bbe132f5ac84b9c773577e938116fd4d67faa3f2829ed261f082515
MD5 bb04f3f41254e4e075b44810e1ad6c49
BLAKE2b-256 3fee92a787e711df8021126a4c2ebc34e7a71717cc877a416fdde6404aae0dbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-musllinux_1_2_s390x.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-musllinux_1_2_riscv64.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-musllinux_1_2_riscv64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3, musllinux: musl 1.2+ riscv64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 e32e34fffd5268a46f5baa6a35d7c021667f8a2a80cd898d40b0f69750394542
MD5 1a89000fbaa334ab17b12e001dcc800f
BLAKE2b-256 f522cedb6846b43b4c0d8db6b48f610c79cd812f8cac7d63d72af7ffd2c17704

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-musllinux_1_2_riscv64.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-musllinux_1_2_ppc64le.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-musllinux_1_2_ppc64le.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3, musllinux: musl 1.2+ ppc64le
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-musllinux_1_2_ppc64le.whl
Algorithm Hash digest
SHA256 9d44e328e3649072942c40fb2f050f380e90e44ed310f0a41113a75c804ad98b
MD5 bd53364ab26d566e701462b07e5c397e
BLAKE2b-256 5d5196d2389e924850e13fa552f0af82f433139555431a38c932151332f4876c

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-musllinux_1_2_ppc64le.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-musllinux_1_2_i686.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-musllinux_1_2_i686.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3, musllinux: musl 1.2+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 9a2049995c39336ef53cafa0e66390235c8e2ceceb46d7894322cd79205f5125
MD5 6bf72316fed79d69f2f6ffca33343776
BLAKE2b-256 4f40c760a22bea210d50920ed958eaeb43752909a234175f169c84069d1f60e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-musllinux_1_2_i686.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-musllinux_1_2_armv7l.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-musllinux_1_2_armv7l.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3, musllinux: musl 1.2+ ARMv7l
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 2abd14fc9d67906b91337d0308309241dcce0bba6433c49b5d2b4e18649cc112
MD5 03040ab0714797308ec47a7122eb4826
BLAKE2b-256 0efff2604f79ab351c9cd96cf22ec2ce5440b5a625fb8f35c6d689c4ccfb967d

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-musllinux_1_2_armv7l.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for swig-4.4.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c3f53a15e8acf3c83abc25278ecf342ff0e0a4499389c2fecdfa3325507bd8b8
MD5 ee98640f0d589b77a4a7dc3551abddbc
BLAKE2b-256 b9ffab464169caa3dba66a6572348d6533577ab4cbe3618b4a7a02a3ee52276b

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-musllinux_1_2_aarch64.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-manylinux_2_31_riscv64.whl.

File metadata

File hashes

Hashes for swig-4.4.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 e87fe24b7da2546579551767615406663ee5bdc263ce3b5e35480154970935c9
MD5 c68c70db96dabb886fc7dbd9ff545da1
BLAKE2b-256 f05c53df42b0d10d2fac43e07c1da7724241d37b41cc9f4702dda02c016b8eea

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-manylinux_2_31_riscv64.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl.

File metadata

File hashes

Hashes for swig-4.4.0-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 043f99294fc045d0c987e0375dfb52ddb5a59303f3cabd0744bce595d2091e2d
MD5 c7e90b8e2ab91d95b8c5cb0fa3472ddf
BLAKE2b-256 f18bbf29f58b2cf9d2af9075e7b734b770151389ba8bd9c47e174554787c88fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for swig-4.4.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 55267923f99621c37a4979ec0db3592726906afaa9a1d441cd96229190aab3e4
MD5 e0000d6b86c9e258ac269b3fdb4744b1
BLAKE2b-256 18121496d875e304f262c9284fd72714cdfa705064910d525174ef89887cbdf8

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for swig-4.4.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 90ee0db1b7debf1570d1cd47349a770b66df3e04ebcb4f7f9cc52839fd3047ab
MD5 2bf1dcc7b9b152a2e5a589781997bd90
BLAKE2b-256 f78c413a4fc15ef32e95c198db5ae902f07f438b06049c015dda1a79e810e49c

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl.

File metadata

File hashes

Hashes for swig-4.4.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 191f63588f074343751bd28491c1552e39de808b0638e084e936d68004f065da
MD5 e5f36e7bb51cc80ba864dac41672b9e4
BLAKE2b-256 61ab5deb2aeb2f6559df1b68f2ec44a00366adefeb318f1d704c6c087094ebfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl.

File metadata

File hashes

Hashes for swig-4.4.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 ec190acba3ea0d243cda20b012bcadd16e3e766343cd084d6cd70e9b1f3d8d41
MD5 82eeaee2617739edae3698b32377f9ac
BLAKE2b-256 4e5bb0969a4f9c838049e5aab7ff9335e5b1875e8c73fdbe3bab026879e6c678

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for swig-4.4.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 1772479a714f835687183fa75ca0253ab6a90ffaa6acd838462068ecb68a0b1b
MD5 2441d27c51681230e22de1b30e747b11
BLAKE2b-256 71944877508b9158f26167a7dec8876ac1a0043d7b784ab05cb4c61176e1d829

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swig-4.4.0-py3-none-macosx_10_9_universal2.whl.

File metadata

  • Download URL: swig-4.4.0-py3-none-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swig-4.4.0-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b270c660843e9e9e611a99d1749e82af50d7ea29a797f1aab92f21911b683b47
MD5 4c0652b96fc0f973434b6e80d4e6ff83
BLAKE2b-256 64ead9a12778bf4fd27b1d65763f19151c35e12d04d020ac0ec97a1f5f678cfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.0-py3-none-macosx_10_9_universal2.whl:

Publisher: build.yml on nightlark/swig-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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