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.8 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.3.0.tar.gz (267.1 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.13Windows x86-64

pyfltk-1.4.3.0-cp313-cp313-macosx_15_0_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

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

Uploaded CPython 3.13macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

pyfltk-1.4.3.0-cp312-cp312-macosx_15_0_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

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

Uploaded CPython 3.12macOS 15.0+ ARM64

pyfltk-1.4.3.0-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 15.0+ ARM64

pyfltk-1.4.3.0-cp311-cp311-macosx_14_0_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 14.0+ x86-64

pyfltk-1.4.3.0-cp310-cp310-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.10Windows x86-64

pyfltk-1.4.3.0-cp310-cp310-macosx_15_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

pyfltk-1.4.3.0-cp310-cp310-macosx_14_0_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 14.0+ x86-64

File details

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

File metadata

  • Download URL: pyfltk-1.4.3.0.tar.gz
  • Upload date:
  • Size: 267.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyfltk-1.4.3.0.tar.gz
Algorithm Hash digest
SHA256 df6351e4662330951567ee6516f5efb1100ad7bed9cc1a73d05ba83fa12e380d
MD5 481a6aece6d542951ca3a546d203d4f0
BLAKE2b-256 bc56a69dd8ca8e06bb7e5e153b4aede3799c9a13638d794a648f4855d6bcb89a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfltk-1.4.3.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.1.0 CPython/3.12.3

File hashes

Hashes for pyfltk-1.4.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1642c1f777400377d2118e6d9fe0b92dca083f38629bd9743303622b44e92770
MD5 78526e8e00fb6d4f0456cff570f0605c
BLAKE2b-256 cab0af22ff9146c81d32e4736379711a90ae45b097e63853f61d89647c6be0ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfltk-1.4.3.0-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 39a875b140fb9d148200ce613bda03da9b052bcdab063fca3395fe0e7ba8fc5e
MD5 b7f91c5297f8232715099c9eeb377fea
BLAKE2b-256 94c1094f3cc04e9fb254edb11398845fb336381be46070bd0d20d455dd9fae57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfltk-1.4.3.0-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2f3c574bcd786f104e859fde7a265441e7dc4f9291d7905446b0435e9b329764
MD5 574750f2486bb7e761c91a62c0632af6
BLAKE2b-256 3fb283c5885b916c29e5b797f190b4d462c85beec6d046017e055ee08b60400b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfltk-1.4.3.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.1.0 CPython/3.12.3

File hashes

Hashes for pyfltk-1.4.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d79229024b4ecb832f3dec2d33c27e69f788b6d7228d3f923cf1c51ed6643b2e
MD5 4c51f8767a121106fed0a3990d7e060a
BLAKE2b-256 88e618336412bf1aaaac0d5fe0ba4cd40d44ac37a3263615e3382c243aa84162

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfltk-1.4.3.0-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 9c3470fb11dcdee1d16741962f5672ae058b06ed0af08f477058780285ba458d
MD5 e8076af178cfa6ced6cd8a814fd8abfb
BLAKE2b-256 e2ca9d077cad2cd835819364fc5291db800f5119146e988462a42694afc19201

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfltk-1.4.3.0-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 75633b786b8d82aa2a101996f6d761e6c41fb9a41595a4a8b229ee237b5806f2
MD5 af6d5a5d1dd938621350e09395769863
BLAKE2b-256 fa222b9868f526080facbec8d1c22c76a50a8e17e747194607f65c7f66a2d27c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfltk-1.4.3.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyfltk-1.4.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e0437cd4c6cf4a5884b65df38de276924721b95d79fef3dc0d79e6f5d6b43333
MD5 2224e073790cf18e12ca1a1261796bf1
BLAKE2b-256 ec86fb68f2a9a0ec7389a2c322bb02192b56fd48922d41fa35332f048370a4c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfltk-1.4.3.0-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b47bca5c89b58442626eb2f3db9b73ec9b364408ada1c7359af62ea57ff0706f
MD5 992ce622c7e5277611d5b8a012173daf
BLAKE2b-256 5ece890156bd6bbcaea86e9d3a6c48ac10a5ffbdf23eb18aec7d825c75e193f8

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.3.0-cp311-cp311-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.3.0-cp311-cp311-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 9158c4f426684672633977c23d12d3f5afac75a13a4d038f7563629f735cb972
MD5 87d27a481e8c8ec0bfb0259a5676d821
BLAKE2b-256 51e661294f2adb2a938641493a86ff475337246ade1b56ac9fd540d62d46eaf7

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.3.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyfltk-1.4.3.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyfltk-1.4.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5b7e301038d38f38149e0381cd55886be0bf9f0aa872af49651bae1290248229
MD5 f3fd019297d85111e4b13b6e32630b68
BLAKE2b-256 8d7d467b26de6ea672137868e69b88454cabdd5ae411e929debe9e292038bfe3

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.3.0-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.3.0-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0bc312849e351fd8cc2673fdb196dfb97b57d568a5d0af79fe93b81ff6ba73db
MD5 b10693c4cc4e462848c46ef6ea4003cf
BLAKE2b-256 ee69acf0c0af809eef7f84666ca9c13b3db8fecb18a1cda8c9dea3cc51f2d49b

See more details on using hashes here.

File details

Details for the file pyfltk-1.4.3.0-cp310-cp310-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfltk-1.4.3.0-cp310-cp310-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 5eeae3975686d8c1f4ccda361266cdd79fa20877e0516c2ce82def0466d0e46b
MD5 af7584a8b2e7fbaa64edda5418801262
BLAKE2b-256 4d13e2c790b5654ea8be1c5444358d94aed087cf97352d368b87a445fa9f4c72

See more details on using hashes here.

Supported by

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