ez-pyload


Nameez-pyload JSON
Version 1.0.4 PyPI version JSON
download
home_pageNone
SummaryWrapper for pyLoad to allow downloading files through Python (no webserver). Includes CLI
upload_time2024-04-15 00:06:28
maintainerNone
docs_urlNone
author7x11x13
requires_python<4.0,>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ez-pyload

Wrapper for [pyLoad](https://github.com/pyload/pyload) so it can be used in your Python projects without starting a webserver like pyLoad normally does.

## Why?
I've been trying to find a library or CLI app which is able to download from many different filehosting sites for a long while now. The only free downloaders I have been able to find with support for many filehosting sites are jDownloader2 and pyLoad, neither of which seem to have a CLI interface or developer friendly API/documentation, and both of which seem to run a webserver just to be able to download some files. This library (hopefully) fixes this problem.

## Installation

`$ python3 -m pip install ez-pyload`

## Using as a library

ez-pyload comes with a single function: `download(url: str, download_dir: str | Path, loglevel: int = logging.INFO) -> Path)`
This function will download the file/folder at `url` to the directory `download_dir`. If loglevel is set to `logging.DEBUG`, debug mode will be enabled.

### Example

```py
from ez_pyload import download

path = download("https://drive.google.com/file/d/xxxxxxxxxxxxxxxxxxx-xxxxxxxx/view?usp=drive_link", ".")
print("Downloaded file:", path)
```

## Using as a CLI app
After installing, you may use `pydl [url] [path]` to download a file/folder at url to the given path (defaults to current working directory)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ez-pyload",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "7x11x13",
    "author_email": "x7x11x13@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/12/18/2fa34e58df4b3a6b3df5f4eb734081d4084dd90698eef1cad283b1688f01/ez_pyload-1.0.4.tar.gz",
    "platform": null,
    "description": "# ez-pyload\n\nWrapper for [pyLoad](https://github.com/pyload/pyload) so it can be used in your Python projects without starting a webserver like pyLoad normally does.\n\n## Why?\nI've been trying to find a library or CLI app which is able to download from many different filehosting sites for a long while now. The only free downloaders I have been able to find with support for many filehosting sites are jDownloader2 and pyLoad, neither of which seem to have a CLI interface or developer friendly API/documentation, and both of which seem to run a webserver just to be able to download some files. This library (hopefully) fixes this problem.\n\n## Installation\n\n`$ python3 -m pip install ez-pyload`\n\n## Using as a library\n\nez-pyload comes with a single function: `download(url: str, download_dir: str | Path, loglevel: int = logging.INFO) -> Path)`\nThis function will download the file/folder at `url` to the directory `download_dir`. If loglevel is set to `logging.DEBUG`, debug mode will be enabled.\n\n### Example\n\n```py\nfrom ez_pyload import download\n\npath = download(\"https://drive.google.com/file/d/xxxxxxxxxxxxxxxxxxx-xxxxxxxx/view?usp=drive_link\", \".\")\nprint(\"Downloaded file:\", path)\n```\n\n## Using as a CLI app\nAfter installing, you may use `pydl [url] [path]` to download a file/folder at url to the given path (defaults to current working directory)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Wrapper for pyLoad to allow downloading files through Python (no webserver). Includes CLI",
    "version": "1.0.4",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a5d247969a9599066eac8ff912cb4f365a1a1366584942aee73ee87821c0832d",
                "md5": "3d56ddbfeceedbfe984ab999f3baa022",
                "sha256": "9ba2e4c254d03c6d062bbb24d91dc0682c603b578192686dc12ecf7747266218"
            },
            "downloads": -1,
            "filename": "ez_pyload-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3d56ddbfeceedbfe984ab999f3baa022",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.6",
            "size": 4559,
            "upload_time": "2024-04-15T00:06:27",
            "upload_time_iso_8601": "2024-04-15T00:06:27.432083Z",
            "url": "https://files.pythonhosted.org/packages/a5/d2/47969a9599066eac8ff912cb4f365a1a1366584942aee73ee87821c0832d/ez_pyload-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12182fa34e58df4b3a6b3df5f4eb734081d4084dd90698eef1cad283b1688f01",
                "md5": "f71353958359f52719e46795fa80276e",
                "sha256": "454023c756544e26f246484ddd231ee820f84d0164e84df035155edc1efa35c2"
            },
            "downloads": -1,
            "filename": "ez_pyload-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "f71353958359f52719e46795fa80276e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.6",
            "size": 3289,
            "upload_time": "2024-04-15T00:06:28",
            "upload_time_iso_8601": "2024-04-15T00:06:28.875207Z",
            "url": "https://files.pythonhosted.org/packages/12/18/2fa34e58df4b3a6b3df5f4eb734081d4084dd90698eef1cad283b1688f01/ez_pyload-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-15 00:06:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ez-pyload"
}
        
Elapsed time: 0.20881s