This is a Python wrapper for the FLTK
Project description
pyFLTK:
A Python Wrapper for the FLTK library
GOALS:
- To wrap FLTK1.3 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.
- This wrapper requires:
- SWIG 4.0 or later
- Python 3.8 or later
- Fast Light Toolkit 1.3.7 or later (it will also work with earlier versions)
- Restrictions
At present, the Python wrapper has been ported and is stable. A preliminary release of flconvert is available but work on it has stopped.
-
The wrapper is available on PyPi: https://pypi.org/project/pyFltk/
-
To build the wrappers yourself do the following: (see INSTALL for more details):
python setup.py swig (not required if you downloaded the _WithSwig source)
python setup.py build
python setup.py install
You might have to edit setup.py to fit your platform.
-
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-2021 Andreas Held and others licensed under the GNU Lesser General Public License, version 2.1, February 1999
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pyFltk-1.3.7.tar.gz
.
File metadata
- Download URL: pyFltk-1.3.7.tar.gz
- Upload date:
- Size: 967.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c00dc1c63f3f9f4c542b2a2700c17d540405046abe38942eeab08d41652071b |
|
MD5 | c651a87b6aabe3a24451139ef026a62d |
|
BLAKE2b-256 | 8218013b96211a06add561b9dd3e55f873c2db51986b233d6262aa65a8cb0dee |
Provenance
File details
Details for the file pyFltk-1.3.7-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: pyFltk-1.3.7-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc1d1d9f072723587f2630927b97c7c1b4f33c3ce8e4a69efe1d4be36f64626 |
|
MD5 | 7e85ed31a6d25b210db1005fa5fa8caf |
|
BLAKE2b-256 | 4bc52602776dc16bb7cb6236a4b7cc31f3ac0cc2ef0e3267017c4c569c0392c3 |
Provenance
File details
Details for the file pyFltk-1.3.7-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: pyFltk-1.3.7-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78424d420e1770e9a83b9637d2a49285471d3382565935e864acc29a4dc101bf |
|
MD5 | 323c4aceb622e57850d15f1bc9329dab |
|
BLAKE2b-256 | 7ef4e8d9dc7a0ecb311a86230a3cb3d21ada483769a3ad34acb1cfe5e42c0e81 |
Provenance
File details
Details for the file pyFltk-1.3.7-cp39-cp39-win32.whl
.
File metadata
- Download URL: pyFltk-1.3.7-cp39-cp39-win32.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d11e5d3cff1ca18adb6a0f38381752f6935873c47661f0d4a72f3e34275fc2e9 |
|
MD5 | c7f2ffef5885fc6847775643f5a422d4 |
|
BLAKE2b-256 | 92b135db1a2b2010dc1cd22f0df054a68764822dce7317f43df7b88ee4ebd9ae |
Provenance
File details
Details for the file pyFltk-1.3.7-cp39-cp39-linux_armv7l.whl
.
File metadata
- Download URL: pyFltk-1.3.7-cp39-cp39-linux_armv7l.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15fcf4f4a4cadcdde1d0c23549e23751e92c5ba3ae99b87c560de96199650c9f |
|
MD5 | 68ce185ea05b0a7214471a7642eefe94 |
|
BLAKE2b-256 | 1be165a4bbf659cd150bca88ff2ec0798ef8fdf175aea17666fb17c6a4a06cef |
Provenance
File details
Details for the file pyFltk-1.3.7-cp38-cp38-win32.whl
.
File metadata
- Download URL: pyFltk-1.3.7-cp38-cp38-win32.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b08d41ad62391d94897ab51c3c86b11f0e8d8c3139f4bbcd16096f028d73f5 |
|
MD5 | fec7d2bfe8663459209e4f895fc5101c |
|
BLAKE2b-256 | a0593a5a6c7c6d7636beed839ae6d949a30f288c5c8acad51e3aacd958705626 |