Metadata-Version: 2.4
Name: mega-lite
Version: 2.0.0
Summary: A simplified library for downloading files from Mega.nz public URLs
Author-email: pbat <pbat0602@gmail.com>
Project-URL: Homepage, https://github.com/Pbat6/mega-lite
Project-URL: Bug Reports, https://github.com/Pbat6/mega-lite/issues
Project-URL: Source, https://github.com/Pbat6/mega-lite
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.28.0
Requires-Dist: pycryptodome>=3.19.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0; extra == "dev"
Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
Requires-Dist: black>=22.0; extra == "dev"
Requires-Dist: flake8>=5.0; extra == "dev"
Requires-Dist: mypy>=1.0; extra == "dev"
Requires-Dist: isort>=5.0; extra == "dev"
Requires-Dist: sphinx>=5.0; extra == "dev"
Requires-Dist: sphinx-rtd-theme>=1.0; extra == "dev"
Dynamic: license-file

# 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

```bash
pip install mega-lite
```

## Usage

### Basic Usage

```python
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

```bash
# 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**

