tkintertools-media


Nametkintertools-media JSON
Version 1.0.6 PyPI version JSON
download
home_pageNone
SummaryExtension package for tkintertools to matplotlib
upload_time2024-09-16 14:29:32
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">Extension package for tkintertools to media</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 / 安装
----------------------

```
pip install tkintertools-media
```

> [!IMPORTANT]  
> `tkintertools`: https://github.com/Xiaokang2022/tkintertools

### 👀 Preview / 预览

The sample video is downloaded from: http://www.sample-videos.com/

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

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

<details><summary>Code</summary>

```python
import tkintertools as tkt
import tkintertools.media as media

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

</details>

            

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/b3/81/e574f5b56ad25e4567c535e314ca457afedbb046e5836bdff4b8ffa16125/tkintertools_media-1.0.6.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">tkintertools-media</h1>\r\n\r\n<p align=\"center\">Extension package for tkintertools to media</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 / \u5b89\u88c5\r\n----------------------\r\n\r\n```\r\npip install tkintertools-media\r\n```\r\n\r\n> [!IMPORTANT]  \r\n> `tkintertools`: https://github.com/Xiaokang2022/tkintertools\r\n\r\n### \ud83d\udc40 Preview / \u9884\u89c8\r\n\r\nThe sample video is downloaded from: http://www.sample-videos.com/\r\n\r\n![preview-1](./preview-1.png)\r\n\r\n![preview-2](./preview-2.png)\r\n\r\n<details><summary>Code</summary>\r\n\r\n```python\r\nimport tkintertools as tkt\r\nimport tkintertools.media as media\r\n\r\nroot = tkt.Tk(title=\"tkintertools-media\")\r\ncv = media.VideoCanvas(root, keep_ratio=\"min\", free_anchor=True, control=True)\r\ncv.place(width=1280, height=720, x=640, y=360, anchor=\"center\")\r\ncv.play(\"your_video_file.mp4\")\r\nroot.mainloop()\r\n```\r\n\r\n</details>\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Extension package for tkintertools to matplotlib",
    "version": "1.0.6",
    "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": "e4ed9c51417d9fbbc4009a178498b84aad4560b22ffb12c3e327721a3f697987",
                "md5": "5039a9e6a386e1b9baaff0ae5d582caf",
                "sha256": "fa770c5dd30082881270ebe4340f67f8011f23a21980042e0a03a08e6eb50cb4"
            },
            "downloads": -1,
            "filename": "tkintertools_media-1.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5039a9e6a386e1b9baaff0ae5d582caf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 6492,
            "upload_time": "2024-09-16T14:29:30",
            "upload_time_iso_8601": "2024-09-16T14:29:30.760420Z",
            "url": "https://files.pythonhosted.org/packages/e4/ed/9c51417d9fbbc4009a178498b84aad4560b22ffb12c3e327721a3f697987/tkintertools_media-1.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b381e574f5b56ad25e4567c535e314ca457afedbb046e5836bdff4b8ffa16125",
                "md5": "ce243f77831753a64fd1ca0e2e11d55a",
                "sha256": "79ddc54636cc2fe190cc1096749206515d7db943d4b287dbe045ff1d6827a3d1"
            },
            "downloads": -1,
            "filename": "tkintertools_media-1.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "ce243f77831753a64fd1ca0e2e11d55a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 5958,
            "upload_time": "2024-09-16T14:29:32",
            "upload_time_iso_8601": "2024-09-16T14:29:32.247349Z",
            "url": "https://files.pythonhosted.org/packages/b3/81/e574f5b56ad25e4567c535e314ca457afedbb046e5836bdff4b8ffa16125/tkintertools_media-1.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-16 14:29:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Xiaokang2022",
    "github_project": "tkintertools-media",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tkintertools-media"
}
        
Elapsed time: 0.48428s