Pixeldrain
A pixeldrain uploader and downloader made with pixeldrain api
Installation
pip3 install Pixeldrain
Usage
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
Metadata
Release files for Pixeldrain 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Pixeldrain-1.1.2.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Pixeldrain-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / Pixeldrain-1.1.2.tar.gz
| Download URL | Pixeldrain-1.1.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf9a7259b9acfd074d89088e4e2678deb121a3cc79e715804dbd7bc8dc164f52
|
|
BLAKE2b-256 checksum How to use checksums |
9c7e91017156b6b4c21db57f96c1912793c9ad2e260509ebd4f1859f7f3ddf8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / Pixeldrain-1.1.2-py3-none-any.whl
| Download URL | Pixeldrain-1.1.2-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43ea6f85fc1707ffbcbe1cde1c30bc5a3f75da5ade27c0a783af5ad56ced65a6
|
|
BLAKE2b-256 checksum How to use checksums |
4dd79d0455ebd7f1b645b1fbe5834a0c81c8c9e50453a60f9b3d8ba5c7576a6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|