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
Metadata
Release files for mega-lite 2.0.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 |
|---|---|---|---|---|
| mega_lite-2.0.0.tar.gz | 7.4 kB | Without provenance | Details for mega_lite-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mega_lite-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for mega_lite-2.0.0-py3-none-any.whl |
Total release size: 14.5 kB
Release files / mega_lite-2.0.0.tar.gz
| Download URL | mega_lite-2.0.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8d6048c99027b8a774c80b9d5c8db80bcb3af7ea7ef7f1ac78a24912a138706
|
|
BLAKE2b-256 checksum How to use checksums |
0a48cb055a504c495203b48343c401458ec217767b2f01d5ddb2b67d52dc0535
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mega_lite-2.0.0-py3-none-any.whl
| Download URL | mega_lite-2.0.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fae25a9333de0a297b8a573bf00eda6677bde4c2cb786dc2524e66d2ba23313
|
|
BLAKE2b-256 checksum How to use checksums |
8b6a2e46302c6fbfbedbbf0df8179526f7353df09dd4c84b1618492d98a08ceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for mega-lite 2.0.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.