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

Uploaded Source

Built Distributions

swig-4.3.1-py3-none-win_amd64.whl (2.6 MB view details)

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 musllinux: musl 1.2+ x86-64

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

Uploaded Python 3 musllinux: musl 1.2+ s390x

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

Uploaded Python 3 musllinux: musl 1.2+ ppc64le

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

Uploaded Python 3 musllinux: musl 1.2+ i686

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

Uploaded Python 3 musllinux: musl 1.2+ ARMv7l

swig-4.3.1-py3-none-musllinux_1_2_aarch64.whl (2.9 MB view details)

Uploaded Python 3 musllinux: musl 1.2+ ARM64

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

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

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

Uploaded Python 3 manylinux: glibc 2.17+ s390x

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

Uploaded Python 3 manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3 manylinux: glibc 2.12+ x86-64

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

Uploaded Python 3 manylinux: glibc 2.12+ i686

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

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

File details

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

File metadata

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

File hashes

Hashes for swig-4.3.1.tar.gz
Algorithm Hash digest
SHA256 bbb43485d120d3fd2c979f258f81eae78274f83ba3767d5b3fe376ac70504934
MD5 539a1f39cbcb2cddedc39757ed74c262
BLAKE2b-256 35d2f7298d9e970531ea0078332e3f7813ee0133303e365d0940a83438a296d3

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for swig-4.3.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 efec16327029f682f649a26da726bb0305be8800bd0f1fa3e81bf0769cf5b476
MD5 558abb686a0e343ed19f134a43f77e27
BLAKE2b-256 2882bb4c482352bbf50e1c595ddf3ed699a9265257ca0093d0bb65f28aa52a19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7687a1c1b6c3033f75b753d638cac967e3f6011c04fb25ab405cf9086ecf8d4c
MD5 9fdd2dce5225eed7140fd7dc46d07212
BLAKE2b-256 bba015b41ab8e522c39ffe151d859e5faad5b86afd18030107b1c594a85a6878

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-musllinux_1_2_s390x.whl
Algorithm Hash digest
SHA256 0743063399e373b17d658481f4cd327245ef58a1d17a3e2071de88dec60082fc
MD5 9ffbf10c20fd938b8e7a24704a228e2e
BLAKE2b-256 40efc0fd6af515771abfa338dce0c0c0419aab2f776456d195f1a79e5b6f3328

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-musllinux_1_2_ppc64le.whl
Algorithm Hash digest
SHA256 fc496c0d600cf1bb2d91e28d3d6eae9c4301e5ea7a0dec5a4281b5efed4245a8
MD5 7d4c55cda50222c1d9a7f90134faa116
BLAKE2b-256 79d0355910dfee9fc96a4e1719f375b5a5b2ed8a46ba2470e9f9cb230e3ed101

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 86600ddde81e24f6fa989920784d72c3ca7ca6a7583fe74b4c5c80076dddd0a5
MD5 e947487588f09613bb07d4bd8e5be80b
BLAKE2b-256 000341b240524c56cd9eb01ba880fdffa3c5a28700594ff3ce09ac10fdf7edef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 07082c2f8693f83ba136136e54e92a5af014488ca4f2a3de4b471337c00d92aa
MD5 19bda3a49274e0f05bdbf9c5e37ad5ab
BLAKE2b-256 69b91cbadf2935b96eb5c5aa895aff676d43d21094fb4f5b69afb18766f5a167

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 19936cb924e7c86f207bf4e12e00c930342068fcb7073dcc9c8b49bd7a2c7389
MD5 fbc233f02824abb8c8f5cb1892bed30c
BLAKE2b-256 241fa1e3362bdc3fbb227ee8db48aeaea11ea83dce3a41b8adcfdccea601d5f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-manylinux_2_24_armv7l.manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 54fd71196e1999fd0e204c8fa5ab39d472eb8831f30a951d7115c82d07bdf5f3
MD5 3a8e21c7f64a8671bceedd661d857381
BLAKE2b-256 a575cd152ad55c53c2ad977fd31e43cde465401f1efb46ed9ec8d4c594c592c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 444b11d8ee27aa64ac83e827dbeb724aa0cfb1062c20ecbb88180bffa39d5dc3
MD5 a17ed7e5cef4d5fc418db79952ea360b
BLAKE2b-256 d97e484a883f002c050b67d49e1b23186b36d9641c50c8acc3bf986005e72f89

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.3.1-py3-none-manylinux_2_17_s390x.manylinux2014_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.3.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 d4ffde3e87cd2a764495a516751c2c3c301f8b237aba2ac3963f786ff59b7f68
MD5 6ed6851abd75943c1346990141340574
BLAKE2b-256 9bd01ddf2870f84264052c8760bf93268c5e2a694f2da33964a212fa9db5d8fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.3.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_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.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c5391080a3785b0505eb211af1cbb1f1e3838e5bb1e54f740a9d7ba2e385c879
MD5 8c8f2630a1f783d103040f19f55aadca
BLAKE2b-256 7fb8e674e91c1288991505479a4fb0d8af44e939426e1494455a634e35c525fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_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.3.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5f31b7e815b76b42cc503322ad88e6eb3ebb0bb0b91044445c8a31b5b4aa4664
MD5 ccca3c2cf692e7c8c22533ab4aad1c05
BLAKE2b-256 365ab2827a74526f579a9d836e0f098df3d07a050cec6150f7c58a8b6c347787

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 d84b3e31d943d81b28bd4144dcf5271909ad2313f0f2afbd7f2fb37ef2a6d8bb
MD5 caa293f63bd5a46a24df106f71cc82e0
BLAKE2b-256 2ab736eef269f4d2ed7cd9a4c0ebe5c86cc548165a5c6c157ad9bba6962a385f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for swig-4.3.1-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3d34c3fd96c5c288881a25418df06d814aa09e734bc32af5cd92e9217841b5f6
MD5 43f474715e580057e28646ccec52762e
BLAKE2b-256 e2fb961c3ed626f2019eff345e7a178e49943890cf4615f7b543b01cce1228fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for swig-4.3.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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page