{ "info": { "author": "RedFantom", "author_email": "redfantom@outlook.com", "bugtrack_url": null, "classifiers": [ "Environment :: Win32 (MS Windows)", "Environment :: X11 Applications", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Tcl Extensions" ], "description": "# TkImg for Python\n[![Build Status](https://travis-ci.com/RedFantom/python-tkimg.svg?branch=master)](https://travis-ci.org/RedFantom/python-tkimg)\n[![Build status](https://ci.appveyor.com/api/projects/status/49k2xqvu7x52ul36?svg=true)](https://ci.appveyor.com/project/RedFantom/python-tkimg)\n[![codecov](https://codecov.io/gh/RedFantom/python-tkimg/branch/master/graph/badge.svg)](https://codecov.io/gh/RedFantom/python-tkimg)\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)\n[![PyPI version](https://badge.fury.io/py/tkimg.svg)](https://pypi.python.org/pypi/tkimg)\n\nPython wrapper around TkImg to support more image formats in Tkinter\n\n## Usage\nThis wrapper uses the binary distributions of `TkImg` (because compiling\nthem as C-extensions at installation time would be quite difficult on \nthe different platforms) and loads them dynamically into a \nTcl-interpreter instance (belonging to a `Tk` instance) by evaluating\na `pkgIndex.tcl` file.\n\nAfter the evaluation of this file, the built-in `PhotoImage` class can\nbe used to open files of all the file types supported by `TkImg`, \nincluding PNG and TIFF.\n\n```python\nimport tkinter as tk\nfrom tkimg import load_tkimg\n\nwindow = tk.Tk()\nload_tkimg(window)\ntk.PhotoImage('path_to_file.png')\n```\n\n## License\n\n python-tkimg: A Python wrapper to load TkImg into a Tcl-interpreter\n Copyright (C) 2018 RedFantom\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program. If not, see .\n\nThe `tkimg` project and the files that belong to it, located in\n`/binaries`, are under a separate license, described in\n`binaries/LICENSE`. This license allows distribution under another \nlicense, and is thus GNU GPLv3 compatible, as long as the `LICENSE` file\nis included.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/RedFantom/python-tkimg", "keywords": "tkinter,gui,tcl", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "tkimg", "package_url": "https://pypi.org/project/tkimg/", "platform": "", "project_url": "https://pypi.org/project/tkimg/", "project_urls": { "Homepage": "https://github.com/RedFantom/python-tkimg" }, "release_url": "https://pypi.org/project/tkimg/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "A Python wrapper to load TkImg into a Tk interpreter", "version": "0.0.1" }, "last_serial": 3965899, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "67c535a010be8414d701400f099bc05c", "sha256": "0e6634a1ea37b40ffc9bde7982c36efe144765a597d7a8d479779bc34c7851c1" }, "downloads": -1, "filename": "tkimg-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "67c535a010be8414d701400f099bc05c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 755735, "upload_time": "2018-06-15T19:46:33", "url": "https://files.pythonhosted.org/packages/04/a4/090301d95773cc066f37116dbc1a39abce92a520e3a1b17a2666bea1af45/tkimg-0.0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "67c535a010be8414d701400f099bc05c", "sha256": "0e6634a1ea37b40ffc9bde7982c36efe144765a597d7a8d479779bc34c7851c1" }, "downloads": -1, "filename": "tkimg-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "67c535a010be8414d701400f099bc05c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 755735, "upload_time": "2018-06-15T19:46:33", "url": "https://files.pythonhosted.org/packages/04/a4/090301d95773cc066f37116dbc1a39abce92a520e3a1b17a2666bea1af45/tkimg-0.0.1-py3-none-any.whl" } ] }