PyUptobox
PyUptobox is a Python client for the Uptobox API. It provides convenient methods for authentication, file management, and file download/upload operations with Uptobox, a popular file hosting service.
Features
- Authenticate with Uptobox using login credentials or token
- Get user account information
- Set various user settings (SSL download, direct download, etc.)
- Manage files and folders (create, delete, move, rename)
- Retrieve file information and download links
- Upload files to Uptobox
- Get streaming links and transcode files
- and more...
Installation
You can install PyUptobox using pip:
pip install pyuptobox
Usage
Here's an example of how to use the PyUptobox library:
from pyuptobox.client import Client
from pyuptobox.utils import get_code, get_size
# Create client
client = Client()
# Login
client.login(token="YOUR_USER_TOKEN")
# Get file code
file_code = get_code(value="https://uptobox.com/your-file-url")
# Get file info
info = client.get_files_info(file_codes=[file_code])[0]
file_size = get_size(info["file_size"])
# Get file download link
link = client.get_file_link(file_code=file_code)["dlLink"]
print("File Name: {}".format(info["file_name"]))
print("File Size: {}".format(file_size))
print("Download Link: {}".format(link))
For more information on how to use PyUptobox, please refer to the documentation.
Disclaimer
PyUptobox is an unofficial library and is not affiliated with or endorsed by Uptobox or Uptostream. The library is provided "as is" without any warranty, and the usage of this library is at your own risk. Make sure to comply with the terms and conditions of the Uptobox service while using this library.
License
This project is licensed under the GPL v3 License.
Metadata
Release files for pyuptobox 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyuptobox-1.1.0.tar.gz | 18.6 kB | Without provenance | Details for pyuptobox-1.1.0.tar.gz |
Release files / pyuptobox-1.1.0.tar.gz
| Download URL | pyuptobox-1.1.0.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef8869ad6d35874dd7702f87ef8c8f27f09cd823274fad61330d50bfdd243039
|
|
BLAKE2b-256 checksum How to use checksums |
f4d334095c2303df1ad8198cb956aa5dce9fa12500f93993630b3978c0ebb883
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for pyuptobox 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.