Skip to main content

This is a Python wrapper for the FLTK

Project description

pyFLTK:

A Python Wrapper for the FLTK library

GOALS:

  • To wrap FLTK1.4 in Python
  • To port all programs in test/ to Python using pyFLTK

If you'd like to help out, I'd suggest using the pyfltk mailing list (at the bottom) to coordinate who's working on what.

  1. This wrapper requires:
  • SWIG 4.0 or later
  • Python 3.11 or later
  • Fast Light Toolkit 1.4 or later
  1. Restrictions

At present, the Python wrapper has been ported and is quite stable. You might encounter certain parts that are not yet or only partailly wrapped.

  1. The wrapper is available on PyPi: https://pypi.org/project/pyfltk/

  2. see INSTALL file for instructions how to build or install the Python wrapper of FLTK

  3. Do the following to run some tests:

    cd fltk/test

    python hello.py or python3 hello.py (depending on your platform)

  • ./test contains demo programs from the FLTK distribution reimplemented in Python.
  • You can run ./test/demos.py for a little menu of the demos

On the web:

pyFLTK home page: http://pyfltk.sourceforge.io

License:

pyFLTK Copyright (C) 2003-2025 Andreas Held and others licensed under the GNU Library General Public License, version 2.0, June 1991

This library is free software you can redistribute it and/or modify it under the terms of the GNU Library General Public License, version 2.0 as published by the Free Software Foundation.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

Leads:

Andreas Held andreasheld[at]users.sourceforge.net

Robert Arkiletian

Mailing List:

http://lists.sourceforge.net/lists/listinfo/pyfltk-user

Thanks:

Especial thanks to Kevin Dalhausen, the originator of pyFLTK. He did such a good job, the rest was easy.

Many thanks to the creators of fltk (www.fltk.org), the best, fastest and lightest toolkit there is!

Finally, not to forget the creators of SWIG (www.swig.org) a unique tool for doing what we've done here.

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

pyfltk-1.4.5.0.tar.gz (270.1 kB view details)

Uploaded Source

Built Distributions

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

pyfltk-1.4.5.0-cp314-cp314-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.14Windows x86-64

pyfltk-1.4.5.0-cp314-cp314-macosx_15_0_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pyfltk-1.4.5.0-cp314-cp314-macosx_15_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

pyfltk-1.4.5.0-cp313-cp313-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.13Windows x86-64

pyfltk-1.4.5.0-cp313-cp313-macosx_15_0_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pyfltk-1.4.5.0-cp313-cp313-macosx_15_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pyfltk-1.4.5.0-cp312-cp312-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.12Windows x86-64

pyfltk-1.4.5.0-cp312-cp312-macosx_15_0_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pyfltk-1.4.5.0-cp312-cp312-macosx_15_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pyfltk-1.4.5.0-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11Windows x86-64

pyfltk-1.4.5.0-cp311-cp311-macosx_15_0_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pyfltk-1.4.5.0-cp311-cp311-macosx_15_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

File details

Details for the file pyfltk-1.4.5.0.tar.gz.

File metadata

  • Download URL: pyfltk-1.4.5.0.tar.gz
  • Upload date:
  • Size: 270.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyfltk-1.4.5.0.tar.gz
Algorithm Hash digest
SHA256 40359bb281fd8170bc77b660ecfffd98b0787a72dce61a51f90f3bdd106e5abf
MD5 372761737831d2fe1aa10e575c22fa5a
BLAKE2b-256 2d52367375ffbf92c7a01b78c6b047515971c9db0a087806ee0cd5c43db97f0e

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: pyfltk-1.4.5.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyfltk-1.4.5.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d63e615bfb7adb6f2398a5c025b4bc2023792e5e69791c49c293b94c304492ed
MD5 bd768561f8cbba2013a2f19315f32002
BLAKE2b-256 a2f761023be067c8ac267982c2a87dc8968533d379d6faa4dcaecc8db5797b50

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp314-cp314-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.5.0-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5fb2f894417dfcb7ab78c64b1e370dbd8f3ed5c81fabca121dd54e20b42042af
MD5 3cf0d314b5105ea53a641e5355ae2417
BLAKE2b-256 2650b037875c99bb4f6a9118841b11a33031d127796d0252071a21efdce0d5e0

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.5.0-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 04f9195882cd661c52c3432434cb1050387de991bc0beae12898d205cabb53d4
MD5 48e2ebc22d9e295339dbf654af633591
BLAKE2b-256 c889040d8d4bb573ec318ad6c5ce6b5f3b3369c347ee87d0c4e767187c434d6d

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pyfltk-1.4.5.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyfltk-1.4.5.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2e70b0d9b2626ab3fe2f5ed1e0bcf03449ad5ee88eb79e4314b6555810d94ec7
MD5 7650442414b956ed2c296ff8da923712
BLAKE2b-256 3377dda05506b770a2b8656cc55b0a84757a84d553283c4eb8bf651e6003726f

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.5.0-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2c2884e7840837cb86ad1cdd2c1caa6d57bf7546b32ec2a631f2f4a312661d6f
MD5 9a519151e87a7e8feb11422f0910da80
BLAKE2b-256 1ab5dcb686ff89022a997c22a95433b5218f5717ce32ac905dfc3cb90e6bb048

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.5.0-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 41aea3319d5112ef05eeb9f81a361d136f49015e2ea4c15f1ba92493ef285db6
MD5 9739fc53656c5298101853933e9b777d
BLAKE2b-256 9aac68a32e4bb2768ddbfe2763504f14b110134c20ca3dfc4e93fa8bfb65fbe5

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyfltk-1.4.5.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyfltk-1.4.5.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 aad92b826cfda6d9515657a95c0ce0e7697031f6da29395b721590384486a302
MD5 91e6f16212fb5b6322061be67ed0db32
BLAKE2b-256 b67b132e8ab4cb329f12062d1e50d67df8d12037c9d9fdf7782d19cab9aaaff4

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.5.0-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5b8102bcac94fb1384d8b917ab511255c9fb3889e9e07a177a2fb2e0d8164085
MD5 5a78dba23a4cb2497f3f37d8b5ebc850
BLAKE2b-256 1848e0c01bf30176fc5ae6d100727ff689e33306c57006584a9ff760441ba4e4

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.5.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e640b4b942c401ce67c081b1f638e5752f5c5fca23bda5ef3a33f59eb877886b
MD5 d26a62928c3af3bb5e47b3e8aad51dc0
BLAKE2b-256 aa8abf4723a99c471e2da3bed4948aa62570ecb35bd6693a59246c9991181782

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyfltk-1.4.5.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyfltk-1.4.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 01fec1f28739585e316740823540ea01df45deb8ee66a5e8f54c1c7d8026e6b8
MD5 ece7ebfca2a839efbfb446ea4cbf29ca
BLAKE2b-256 e5b8c28ce4e3a4e98287baa4e86d0224781035fb4dccb1fccee208de0a617161

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.5.0-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 6661499f9e1a05c83a61100c8633435da07d9711c504c33324978c313f32065b
MD5 a747b20133375db26e4bd233351002f7
BLAKE2b-256 c41a293c8546c04bbba2f5f278aa7c8d5f068b15f394d83ab32840caa1a17dd3

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.5.0-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.5.0-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 89c1a78a3a2a9384b31a07a216fa49fd3fc07d9140ffc4e8a812ff0163a3a8b0
MD5 ca686f38d82039c55bdfd146486b6e8d
BLAKE2b-256 88a6216d0d49e812c800e38128b7aa03a77c029c8351fe5b37ed566189ab95f9

See more details on using hashes here.

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