tkintertools-media


Nametkintertools-media JSON
Version 1.1.3 PyPI version JSON
download
home_pageNone
SummaryExtension package for tkintertools to matplotlib
upload_time2025-01-13 13:58:37
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License
keywords tkinter tkintertools media cross-platform themed video
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">tkintertools-media</h1>

<p align="center"><a title="Official Website" href="https://xiaokang2022.github.io/tkintertools/">https://xiaokang2022.github.io/tkintertools/</a></p>

<p align="center">Extension package of <code>tkintertools</code> to play media files</p>

<p align="center">
<a href="https://github.com/Xiaokang2022/tkintertools-media/releases"><img alt="Version" src="https://img.shields.io/github/v/release/Xiaokang2022/tkintertools-media?include_prereleases&logo=github&label=Version" title="Latest Version" /></a>
<a href="https://pypistats.org/packages/tkintertools-media"><img alt="Downloads" src="https://img.shields.io/pypi/dm/tkintertools-media?label=Downloads&logo=pypi&logoColor=skyblue" title="Downloads" /></a>
<a href="https://pepy.tech/project/tkintertools-media"><img alt="Total Downloads" src="https://img.shields.io/pepy/dt/tkintertools-media?logo=pypi&logoColor=gold&label=Total%20Downloads" title="Total Downloads" /></a>
<a href="https://github.com/Xiaokang2022/tkintertools-media"><img alt="Size" src="https://img.shields.io/github/languages/code-size/Xiaokang2022/tkintertools-media?label=Size&logo=github" title="Code Size"/></a>
<br/>
<a href="https://github.com/Xiaokang2022/tkintertools-media/watchers"><img alt="Watchers" src="https://img.shields.io/github/watchers/Xiaokang2022/tkintertools-media?label=Watchers&logo=github&style=flat" title="Watchers" /></a>
<a href="https://github.com/Xiaokang2022/tkintertools-media/forks"><img alt="Forks" src="https://img.shields.io/github/forks/Xiaokang2022/tkintertools-media?label=Forks&logo=github&style=flat" title="Forks" /></a>
<a href="https://github.com/Xiaokang2022/tkintertools-media/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/Xiaokang2022/tkintertools-media?label=Stars&color=gold&logo=github&style=flat" title="Stars" /></a>
<a href="https://github.com/Xiaokang2022/tkintertools-media/issues"><img alt="Issues" src="https://img.shields.io/github/issues/Xiaokang2022/tkintertools-media?label=Issues&logo=github" title="Issues" /></a>
<a href="https://github.com/Xiaokang2022/tkintertools-media/pulls"><img alt="Pull Requests" src="https://img.shields.io/github/issues-pr/Xiaokang2022/tkintertools-media?label=Pull%20Requests&logo=github" title="Pull Requests" /></a>
<a href="https://github.com/Xiaokang2022/tkintertools-media/discussions"><img alt="Discussions" src="https://img.shields.io/github/discussions/Xiaokang2022/tkintertools-media?label=Discussions&logo=github" title="Discussions" /></a>
</p>

<p align="center">
<a href="https://github.com/Xiaokang2022/tkintertools-media/pulse"><img alt="Insights" src="https://repobeats.axiom.co/api/embed/0be944bbd1d27b25b519ea2ac7ffcdfbc98369fb.svg" /></a>
</p>

<p align="center">
    <a href="https://star-history.com/#Xiaokang2022/tkintertools-media&Date">
        <picture>
            <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Xiaokang2022/tkintertools-media&type=Date&theme=dark" />
            <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Xiaokang2022/tkintertools-media&type=Date" />
            <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Xiaokang2022/tkintertools-media&type=Date" />
        </picture>
    </a>
</p>

📦 Installation
----------------

```shell
pip install tkintertools-media
```

### 👀 Preview

> [!WARNING]  
> The sample video from: https://github.com/Xiaokang2022/tkintertools-demos/tree/main/assets/videos. Please note that the video is for testing purposes only and may not be used for commercial purposes!

![preview-1](./preview-1.png)

![preview-2](./preview-2.png)

```python
import tkintertools
from tkintertools import media

root = tkintertools.Tk(title="tkintertools-media")
cv = media.VideoCanvas(free_anchor=True, keep_ratio="min", controls=True)
cv.place(width=1280, height=720, x=640, y=360, anchor="center")
cv.open("your_video_file.mp4")
root.mainloop()
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tkintertools-media",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Xiaokang2022 <2951256653@qq.com>",
    "keywords": "tkinter, tkintertools, media, cross-platform, themed, video",
    "author": null,
    "author_email": "Xiaokang2022 <2951256653@qq.com>",
    "download_url": "https://files.pythonhosted.org/packages/35/4d/0b518c09117ac161a533a85f54a20510be7a42b7fe7bffa6afd19aeb7a03/tkintertools_media-1.1.3.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">tkintertools-media</h1>\r\n\r\n<p align=\"center\"><a title=\"Official Website\" href=\"https://xiaokang2022.github.io/tkintertools/\">https://xiaokang2022.github.io/tkintertools/</a></p>\r\n\r\n<p align=\"center\">Extension package of <code>tkintertools</code> to play media files</p>\r\n\r\n<p align=\"center\">\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media/releases\"><img alt=\"Version\" src=\"https://img.shields.io/github/v/release/Xiaokang2022/tkintertools-media?include_prereleases&logo=github&label=Version\" title=\"Latest Version\" /></a>\r\n<a href=\"https://pypistats.org/packages/tkintertools-media\"><img alt=\"Downloads\" src=\"https://img.shields.io/pypi/dm/tkintertools-media?label=Downloads&logo=pypi&logoColor=skyblue\" title=\"Downloads\" /></a>\r\n<a href=\"https://pepy.tech/project/tkintertools-media\"><img alt=\"Total Downloads\" src=\"https://img.shields.io/pepy/dt/tkintertools-media?logo=pypi&logoColor=gold&label=Total%20Downloads\" title=\"Total Downloads\" /></a>\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media\"><img alt=\"Size\" src=\"https://img.shields.io/github/languages/code-size/Xiaokang2022/tkintertools-media?label=Size&logo=github\" title=\"Code Size\"/></a>\r\n<br/>\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media/watchers\"><img alt=\"Watchers\" src=\"https://img.shields.io/github/watchers/Xiaokang2022/tkintertools-media?label=Watchers&logo=github&style=flat\" title=\"Watchers\" /></a>\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media/forks\"><img alt=\"Forks\" src=\"https://img.shields.io/github/forks/Xiaokang2022/tkintertools-media?label=Forks&logo=github&style=flat\" title=\"Forks\" /></a>\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media/stargazers\"><img alt=\"Stars\" src=\"https://img.shields.io/github/stars/Xiaokang2022/tkintertools-media?label=Stars&color=gold&logo=github&style=flat\" title=\"Stars\" /></a>\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media/issues\"><img alt=\"Issues\" src=\"https://img.shields.io/github/issues/Xiaokang2022/tkintertools-media?label=Issues&logo=github\" title=\"Issues\" /></a>\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media/pulls\"><img alt=\"Pull Requests\" src=\"https://img.shields.io/github/issues-pr/Xiaokang2022/tkintertools-media?label=Pull%20Requests&logo=github\" title=\"Pull Requests\" /></a>\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media/discussions\"><img alt=\"Discussions\" src=\"https://img.shields.io/github/discussions/Xiaokang2022/tkintertools-media?label=Discussions&logo=github\" title=\"Discussions\" /></a>\r\n</p>\r\n\r\n<p align=\"center\">\r\n<a href=\"https://github.com/Xiaokang2022/tkintertools-media/pulse\"><img alt=\"Insights\" src=\"https://repobeats.axiom.co/api/embed/0be944bbd1d27b25b519ea2ac7ffcdfbc98369fb.svg\" /></a>\r\n</p>\r\n\r\n<p align=\"center\">\r\n    <a href=\"https://star-history.com/#Xiaokang2022/tkintertools-media&Date\">\r\n        <picture>\r\n            <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=Xiaokang2022/tkintertools-media&type=Date&theme=dark\" />\r\n            <source media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=Xiaokang2022/tkintertools-media&type=Date\" />\r\n            <img alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=Xiaokang2022/tkintertools-media&type=Date\" />\r\n        </picture>\r\n    </a>\r\n</p>\r\n\r\n\ud83d\udce6 Installation\r\n----------------\r\n\r\n```shell\r\npip install tkintertools-media\r\n```\r\n\r\n### \ud83d\udc40 Preview\r\n\r\n> [!WARNING]  \r\n> The sample video from: https://github.com/Xiaokang2022/tkintertools-demos/tree/main/assets/videos. Please note that the video is for testing purposes only and may not be used for commercial purposes!\r\n\r\n![preview-1](./preview-1.png)\r\n\r\n![preview-2](./preview-2.png)\r\n\r\n```python\r\nimport tkintertools\r\nfrom tkintertools import media\r\n\r\nroot = tkintertools.Tk(title=\"tkintertools-media\")\r\ncv = media.VideoCanvas(free_anchor=True, keep_ratio=\"min\", controls=True)\r\ncv.place(width=1280, height=720, x=640, y=360, anchor=\"center\")\r\ncv.open(\"your_video_file.mp4\")\r\nroot.mainloop()\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Extension package for tkintertools to matplotlib",
    "version": "1.1.3",
    "project_urls": {
        "Bug tracker": "https://github.com/Xiaokang2022/tkintertools-media/issues",
        "Source code": "https://github.com/Xiaokang2022/tkintertools-media"
    },
    "split_keywords": [
        "tkinter",
        " tkintertools",
        " media",
        " cross-platform",
        " themed",
        " video"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a0f0284a8b7fdc98c111086fb1c4babb9c9549b25b18a633861c017e76912d8",
                "md5": "8d037ea024d73fe05893bc5f4878b701",
                "sha256": "df6df2fabe33a4d00b63fb3a346762e6b95e253d8b49dc0acc6729cd27a183b0"
            },
            "downloads": -1,
            "filename": "tkintertools_media-1.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8d037ea024d73fe05893bc5f4878b701",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 9851,
            "upload_time": "2025-01-13T13:58:34",
            "upload_time_iso_8601": "2025-01-13T13:58:34.927255Z",
            "url": "https://files.pythonhosted.org/packages/3a/0f/0284a8b7fdc98c111086fb1c4babb9c9549b25b18a633861c017e76912d8/tkintertools_media-1.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "354d0b518c09117ac161a533a85f54a20510be7a42b7fe7bffa6afd19aeb7a03",
                "md5": "3bc2a40b87c06cfffdf6fc77e0cbc9cd",
                "sha256": "4da2e93aa330f596d9ba602d4fef63136c221afec4a20a7218bc0ec7e522c6e4"
            },
            "downloads": -1,
            "filename": "tkintertools_media-1.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "3bc2a40b87c06cfffdf6fc77e0cbc9cd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 10325,
            "upload_time": "2025-01-13T13:58:37",
            "upload_time_iso_8601": "2025-01-13T13:58:37.927382Z",
            "url": "https://files.pythonhosted.org/packages/35/4d/0b518c09117ac161a533a85f54a20510be7a42b7fe7bffa6afd19aeb7a03/tkintertools_media-1.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-13 13:58:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Xiaokang2022",
    "github_project": "tkintertools-media",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tkintertools-media"
}
        
Elapsed time: 0.93343s