A simplified library for downloading files from Mega.nz public URLs
Project description
Mega Lite
A simplified Python library for downloading files from Mega.nz public URLs.
Features
- Simple and easy-to-use API
- Download files from Mega.nz public URLs
- Support for large file downloads
- Progress tracking support
- Automatic file decryption
- Cross-platform compatibility
Installation
pip install mega-lite
Usage
Basic Usage
from mega_downloader import download_mega_file
# Download a file from Mega.nz
file_path = download_mega_file('https://mega.nz/file/...', './downloads/')
print(f"Downloaded to: {file_path}")
Command Line Interface
# Using the command after installing
mega-download "https://mega.nz/file/..." ./downloads/
# Or using the script directly
python3 mega_downloader.py "https://mega.nz/file/..." ./downloads/
Requirements
- Python 3.8+
- requests >= 2.28.0
- pycryptodome >= 3.19.0
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Author
pbat + github copilot
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mega_lite-2.0.0.tar.gz
(7.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mega_lite-2.0.0.tar.gz.
File metadata
- Download URL: mega_lite-2.0.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8d6048c99027b8a774c80b9d5c8db80bcb3af7ea7ef7f1ac78a24912a138706
|
|
| MD5 |
22d3eec618c826a2759ac56e1b78ec38
|
|
| BLAKE2b-256 |
0a48cb055a504c495203b48343c401458ec217767b2f01d5ddb2b67d52dc0535
|
File details
Details for the file mega_lite-2.0.0-py3-none-any.whl.
File metadata
- Download URL: mega_lite-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fae25a9333de0a297b8a573bf00eda6677bde4c2cb786dc2524e66d2ba23313
|
|
| MD5 |
825431477883341fe7806d9d7e3a5b33
|
|
| BLAKE2b-256 |
8b6a2e46302c6fbfbedbbf0df8179526f7353df09dd4c84b1618492d98a08ceb
|