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-cp313-cp313-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.13Windows x86-64

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-cp311-cp311-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.11Windows x86-64

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-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-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-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.

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