Skip to content

Conversation

@munlicode
Copy link
Owner

No description provided.

Implements a flexible, high-level utility for downloading machine learning models. This provides a centralized and reliable way to fetch model files for the project.

Key Features:
- Adds a low-level `download_custom_model` function for downloading from any URL.
- Includes a high-level `download_model` wrapper for fetching official fastText models by category.
- Supports both Basic Auth (user/pass) and Bearer Token (API key) authentication.
- Displays a real-time `tqdm` progress bar for large files.
- Automatically de-compresses `.gz` files after download.
- Ensures atomic downloads by using `.part` files, which are cleaned up automatically if the download is interrupted.
2. Fixed inconsistency with old cmd.
3. Updated project dependecies
This commit introduces a .github/CODEOWNERS file to safeguard key
repository files from unintended modifications.

By assigning ownership to repository administrators, we ensure that any
changes to the following critical areas require an explicit review
and approval:

- CI/CD workflows (.github/)
- Project packaging and build configuration (pyproject.toml, MANIFEST.in, etc.)
- Legal and licensing information (LICENSE)
- Core repository settings (.gitignore)

This is enforced by a branch protection rule on the main branch that
requires reviews from code owners before merging a pull request.
@munlicode munlicode merged commit 45e0110 into main Oct 5, 2025
8 checks passed
@munlicode munlicode deleted the feat/model-downloader branch October 5, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants