Skip to main content

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)

Source distribution for mega-lite 2.0.0
File Size Uploaded
mega_lite-2.0.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mega-lite 2.0.0
File Interpreter ABI Platform
mega_lite-2.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page