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.1.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.1-py3-none-win_arm64.whl (2.5 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ s390x

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ppc64le

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

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARMv7l

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

swig-4.4.1-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.1-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.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl (2.0 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ i686

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

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

swig-4.4.1-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.1.tar.gz.

File metadata

  • Download URL: swig-4.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 db9a625653f6454530a6c6553d17cf576d7aa2d253c76dc8cdd5979f0cb15012
MD5 e1bbd998f6723e1d5041a62ea9b43a66
BLAKE2b-256 9c990556919f96b1c291a7ff83793adb328e2a1a5e6cfb379d5acc637cdec959

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1.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.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 063224fe9a2f22fffc7d3b9add250112630f0e00f5f8dd9b9591ac106560177a
MD5 d5dfd7b73c694c16d8985ca955675f29
BLAKE2b-256 26c1c316899d55a476ee9433bede6b94899b117c5e4b7947a073ef21053d4a21

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4548c06ea2ed60c91f003bbc3892db58e185f572705653ab1470ca770f70495d
MD5 22351acd187d1f9f4708d7c602fada89
BLAKE2b-256 a72f7a6b14eea6d0247d3f803649f50df3cf3905714bd82f2c386fcfde9544f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 43a0a876b4660f6addb6ae72d14a72324dc1388e1c168ed38bb00fd123048749
MD5 7122a88532e3162ee5804a273ce62e3f
BLAKE2b-256 974496586955c0f08b0b9b6c8b2b68ecb43a815da94d5362cfb6691ede3b9fdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-musllinux_1_2_s390x.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-musllinux_1_2_s390x.whl
Algorithm Hash digest
SHA256 2d076358cded172d2f44b3c617923c593dbae664b3fa45051641f028f7f74010
MD5 0033fc927c83d4a51b981f08c4c22ec6
BLAKE2b-256 bf975ca3d750f294048c983edfad1f2ad093a83480494fccb2f2e2496304f965

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-musllinux_1_2_riscv64.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 6a6a6331a5c7759ba5a910aa83aa5d33022b8e691b6cb466635c7fc2238facd2
MD5 effad4ab1019f16a70020929f039cb14
BLAKE2b-256 0c0388ca92d3d8e9dd765a66985202db23745bd26a368570a8d8db9a218bfe90

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-musllinux_1_2_ppc64le.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-musllinux_1_2_ppc64le.whl
Algorithm Hash digest
SHA256 b6909a8bd68037ea0df061a52c664431b062dbdfb1eb90768719518c120139d1
MD5 dc4b6cd95cd58c93ccd2fdd91938b587
BLAKE2b-256 d6fa516b95f9966c57acf1da9f2eb22e4e63104452d6e28686d57b216171ee7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-musllinux_1_2_i686.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 98d61b45215982dd3a71745dfc31599176ed79d286b58bc712c10ed031432fdf
MD5 beaadfaa662d7c3dcbcea8daf2e323dd
BLAKE2b-256 17e6a15efd9cbf39b1289ee7c1acb8d18824a0c2532b85cdbd93acfdf15ee000

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-musllinux_1_2_armv7l.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 a8f06227e6472832dad3ae34d5bd88710b7bbb109f2927e14a21e6725146e944
MD5 de47d017ca30276c13c14a15652056d2
BLAKE2b-256 de0b5b46e61798982f3cb0ed54fc30a30bad5fa6e3bdd1d9177e439976f7a7e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for swig-4.4.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a95ae66aebb8ccce4c50febd496e6927b888d98aba272dd5642fe9312bf61a3b
MD5 6f9e14e65ac650335e35ece5c6d6ff4a
BLAKE2b-256 7e38efa343b506221a9d43bb1132f08b29fcb07d4113165f598d8a1ea733a1e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-manylinux_2_31_riscv64.whl.

File metadata

File hashes

Hashes for swig-4.4.1-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 5a9c74b87151d8247d802bda33f78cab9f27c759f0605b760a8f9c9893b5606b
MD5 1fdcc101183b6d0cca1cf0ea796d1cd6
BLAKE2b-256 864ba08a2673a2fd3185932db110de67a9f6fdfcece6bf9220e18502bf745f7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl.

File metadata

File hashes

Hashes for swig-4.4.1-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 7945f153f7fc93f1ab280f44a3740d6bbfeec3829f954784ba83990fc61a11a8
MD5 6843b3cf562ead1f3ebf3a477e0c70b2
BLAKE2b-256 f0a6c961a911385a4cc4ae10b4dcbcf5dede0407530e59870ce6e4f7bacce47d

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for swig-4.4.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ae3da2bf679a4c942a2c100789395d4d167e7da8286018124e4665f5eff43e31
MD5 48d706df29d2217b3e4a926e1c32f898
BLAKE2b-256 fa7be3a14d053fa18b0d2e14efcc21883816964ddbe52a0c43018e195a99aba2

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for swig-4.4.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 9c98d7b882b6debe3cbb87e6503858e104162d7ce5ab4cfc23425da2e26e51b5
MD5 f5c7064fa5c4154eb0387de52ceef0ba
BLAKE2b-256 102e4baa50fcf932f9d58bc8394b211c7daf3b7ec1e53c08d560142f1bc99cb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl.

File metadata

File hashes

Hashes for swig-4.4.1-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 bfe6ce6189fc8b983f65f5ed3db8e1d8be03accb0ec3869f986a8343f014e4d9
MD5 ac146a9386e04db24f395bb61642a9ed
BLAKE2b-256 9642d49992f3c39c90d3d46c431a4afea60fc16bae542cf07f394b298a1b21b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl.

File metadata

File hashes

Hashes for swig-4.4.1-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 d8cca45a0e8d1e045a1490ea2d05bc1c49e2c266dbbe5954048e2a93d125ee07
MD5 5eb641c6c5106b80059bb4361370465b
BLAKE2b-256 84e15cd4de23ff2b1d225279f7c7826191b1dbdb77fc858fe12ee7be2562ddb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for swig-4.4.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 520fde8805b4775ef3814576929b8c44d666220b06d8da625f292192f9e74fe8
MD5 65eb11500d750f17d44578d331604dfa
BLAKE2b-256 c04d860e5475fe38b9c7dc36f61d0c370a62b6cc725d2bd11ada1d22a60ff5f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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.1-py3-none-macosx_10_9_universal2.whl.

File metadata

  • Download URL: swig-4.4.1-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.1-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c185b217d2ed96ef475c48956e52dd3572a63d3aa3344bc45ee3fb4dc339ada0
MD5 0adb4c98d8d95a8efc094b085b88056d
BLAKE2b-256 5e925c2d8617871eeda00467afe94a7d58a1ad0217d71a39905ed682da9dfef8

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.4.1-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