tubex2


Nametubex2 JSON
Version 1.0.2 PyPI version JSON
download
home_page
SummaryQuick and easy-to-use package that allows downloading videos from YouTube both synchronously and asynchronously
upload_time2023-07-21 21:26:17
maintainer
docs_urlNone
authorAlson5
requires_python>=3.10
license
keywords async download youtube
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tubex2

tubex2 is a Python library for download video from YouTube.

## Features
asynchronous video download

set the number of chunks

faster than other video download packages

get video url

many new features are under development

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install tubex2.

```bash
py -m pip install tubex2
```

## Usage

```python
from tubex2 import YouTube
import asyncio

async def get_video():
     url = "youtube-video-url"

     #create YouTube object
     yt = YouTube(url)

     #get stream
     stream = yt.streams.all().first()

     #download video
     await stream.download(num_chunks=10)

asyncio.run(get_video())
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "tubex2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "async,download,youtube",
    "author": "Alson5",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f4/f0/60626dea98492ecbb62940c60cd1fa32feca7b65d675274ad6ab0846ad1e/tubex2-1.0.2.tar.gz",
    "platform": null,
    "description": "# tubex2\n\ntubex2 is a Python library for download video from YouTube.\n\n## Features\nasynchronous video download\n\nset the number of chunks\n\nfaster than other video download packages\n\nget video url\n\nmany new features are under development\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install tubex2.\n\n```bash\npy -m pip install tubex2\n```\n\n## Usage\n\n```python\nfrom tubex2 import YouTube\nimport asyncio\n\nasync def get_video():\n     url = \"youtube-video-url\"\n\n     #create YouTube object\n     yt = YouTube(url)\n\n     #get stream\n     stream = yt.streams.all().first()\n\n     #download video\n     await stream.download(num_chunks=10)\n\nasyncio.run(get_video())\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Quick and easy-to-use package that allows downloading videos from YouTube both synchronously and asynchronously",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/Alsond5/tubex2"
    },
    "split_keywords": [
        "async",
        "download",
        "youtube"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "463b3e3b2dcc243f96a9fe5ec0a6998eb9c2b44195ba9c804f5b72a8bf5286e8",
                "md5": "a5cd9d72eb7a78668d981d79185d8f77",
                "sha256": "20c8a2a55f26145d85a18bd654cc5c3c83b280646a3db2d55aa7a2838bcd48bd"
            },
            "downloads": -1,
            "filename": "tubex2-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a5cd9d72eb7a78668d981d79185d8f77",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 7172,
            "upload_time": "2023-07-21T21:26:15",
            "upload_time_iso_8601": "2023-07-21T21:26:15.525772Z",
            "url": "https://files.pythonhosted.org/packages/46/3b/3e3b2dcc243f96a9fe5ec0a6998eb9c2b44195ba9c804f5b72a8bf5286e8/tubex2-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4f060626dea98492ecbb62940c60cd1fa32feca7b65d675274ad6ab0846ad1e",
                "md5": "75c98f3457cd0128a0250c4a179ff1b7",
                "sha256": "400bc01c734b983136b0fc839e98c83800daee56a846cfa0506042902978d60c"
            },
            "downloads": -1,
            "filename": "tubex2-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "75c98f3457cd0128a0250c4a179ff1b7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6716,
            "upload_time": "2023-07-21T21:26:17",
            "upload_time_iso_8601": "2023-07-21T21:26:17.125829Z",
            "url": "https://files.pythonhosted.org/packages/f4/f0/60626dea98492ecbb62940c60cd1fa32feca7b65d675274ad6ab0846ad1e/tubex2-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-21 21:26:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Alsond5",
    "github_project": "tubex2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tubex2"
}
        
Elapsed time: 0.08819s