Pixeldrain


NamePixeldrain JSON
Version 1.1.2 PyPI version JSON
download
home_page
SummaryPixeldrain API
upload_time2024-02-11 17:04:15
maintainer
docs_urlNone
authorFayas Noushad
requires_python>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pixeldrain

A pixeldrain uploader and downloader made with pixeldrain api

## Installation

```sh
pip3 install Pixeldrain
```

## Usage

```py
import pixeldrain


# To get information about the file
info = pixeldrain.info(file_id)
# returns information as raw data

# To get file link
file = pixeldrain.file(file_id)
# returns file link

# To upload file
pixeldrain.upload_file(file_path)
# returns upload details

# To download file
pixeldrain.download_file(file_id, file_name, file_path)
# returns file name
# "file_name" and "file_path" are optional

# To get thumbnail
thumbnail = pixeldrain.thumbnail(file_id, width, height)
# returns thumbnail link
# width and height are optional
```

---

## Thanks to

- [Pixeldrain API](https://pixeldrain.com/api)
- [Contributors](https://github.com/FayasNoushad/Pixeldrain/graphs/contributors)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Pixeldrain",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Fayas Noushad",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/9c/7e/91017156b6b4c21db57f96c1912793c9ad2e260509ebd4f1859f7f3ddf8a/Pixeldrain-1.1.2.tar.gz",
    "platform": null,
    "description": "# Pixeldrain\n\nA pixeldrain uploader and downloader made with pixeldrain api\n\n## Installation\n\n```sh\npip3 install Pixeldrain\n```\n\n## Usage\n\n```py\nimport pixeldrain\n\n\n# To get information about the file\ninfo = pixeldrain.info(file_id)\n# returns information as raw data\n\n# To get file link\nfile = pixeldrain.file(file_id)\n# returns file link\n\n# To upload file\npixeldrain.upload_file(file_path)\n# returns upload details\n\n# To download file\npixeldrain.download_file(file_id, file_name, file_path)\n# returns file name\n# \"file_name\" and \"file_path\" are optional\n\n# To get thumbnail\nthumbnail = pixeldrain.thumbnail(file_id, width, height)\n# returns thumbnail link\n# width and height are optional\n```\n\n---\n\n## Thanks to\n\n- [Pixeldrain API](https://pixeldrain.com/api)\n- [Contributors](https://github.com/FayasNoushad/Pixeldrain/graphs/contributors)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Pixeldrain API",
    "version": "1.1.2",
    "project_urls": {
        "Source": "https://github.com/FayasNoushad/Pixeldrain",
        "Tracker": "https://github.com/FayasNoushad/Pixeldrain/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4dd79d0455ebd7f1b645b1fbe5834a0c81c8c9e50453a60f9b3d8ba5c7576a6f",
                "md5": "c6b1b98baecbf13912b75d700774a827",
                "sha256": "43ea6f85fc1707ffbcbe1cde1c30bc5a3f75da5ade27c0a783af5ad56ced65a6"
            },
            "downloads": -1,
            "filename": "Pixeldrain-1.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c6b1b98baecbf13912b75d700774a827",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3315,
            "upload_time": "2024-02-11T17:04:14",
            "upload_time_iso_8601": "2024-02-11T17:04:14.055447Z",
            "url": "https://files.pythonhosted.org/packages/4d/d7/9d0455ebd7f1b645b1fbe5834a0c81c8c9e50453a60f9b3d8ba5c7576a6f/Pixeldrain-1.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9c7e91017156b6b4c21db57f96c1912793c9ad2e260509ebd4f1859f7f3ddf8a",
                "md5": "dfac868c8ef63e5d8c6228f43e4c3d1d",
                "sha256": "bf9a7259b9acfd074d89088e4e2678deb121a3cc79e715804dbd7bc8dc164f52"
            },
            "downloads": -1,
            "filename": "Pixeldrain-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "dfac868c8ef63e5d8c6228f43e4c3d1d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3177,
            "upload_time": "2024-02-11T17:04:15",
            "upload_time_iso_8601": "2024-02-11T17:04:15.709882Z",
            "url": "https://files.pythonhosted.org/packages/9c/7e/91017156b6b4c21db57f96c1912793c9ad2e260509ebd4f1859f7f3ddf8a/Pixeldrain-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-11 17:04:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "FayasNoushad",
    "github_project": "Pixeldrain",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pixeldrain"
}
        
Elapsed time: 0.17919s