tkintertools-media


Nametkintertools-media JSON
Version 1.1.2 PyPI version JSON
download
home_pageNone
SummaryExtension package for tkintertools to matplotlib
upload_time2024-11-17 15:58:00
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
----------------

```bash
pip install tkintertools-media
```

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

### 👀 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 as tkt
import tkintertools.media as media

root = tkt.Tk(title="tkintertools-media")
cv = media.VideoCanvas(root, 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/f7/2b/a01c31449a8b27ddc90110509cd3a047b9a369e0c692cb15b453861fd90f/tkintertools_media-1.1.2.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\r\n----------------\r\n\r\n```bash\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\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 as tkt\r\nimport tkintertools.media as media\r\n\r\nroot = tkt.Tk(title=\"tkintertools-media\")\r\ncv = media.VideoCanvas(root, 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.2",
    "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": "2e133db3ea7f029e9752e348f4cfc781fadf63f8474741f40f304b3f43882e9a",
                "md5": "38558dbfef5e15b188abc96492b2245e",
                "sha256": "96eab2e4684bdd2cf1d5a541f12c678eb5d798fb81bfdaf57a97839cb387ef62"
            },
            "downloads": -1,
            "filename": "tkintertools_media-1.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "38558dbfef5e15b188abc96492b2245e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 9817,
            "upload_time": "2024-11-17T15:57:59",
            "upload_time_iso_8601": "2024-11-17T15:57:59.129878Z",
            "url": "https://files.pythonhosted.org/packages/2e/13/3db3ea7f029e9752e348f4cfc781fadf63f8474741f40f304b3f43882e9a/tkintertools_media-1.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f72ba01c31449a8b27ddc90110509cd3a047b9a369e0c692cb15b453861fd90f",
                "md5": "77553411a27eae807335f6776056491b",
                "sha256": "92eb0c8daa9a30721a527bdebc3601a98a815731a316bfdf449255330cedee31"
            },
            "downloads": -1,
            "filename": "tkintertools_media-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "77553411a27eae807335f6776056491b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 10192,
            "upload_time": "2024-11-17T15:58:00",
            "upload_time_iso_8601": "2024-11-17T15:58:00.863074Z",
            "url": "https://files.pythonhosted.org/packages/f7/2b/a01c31449a8b27ddc90110509cd3a047b9a369e0c692cb15b453861fd90f/tkintertools_media-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-17 15:58:00",
    "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.35697s