Skip to main content
Glama

Dingo MCP Server

by MigoXLab
test_rule_utils.py628 B
import time import pytest from dingo.model.rule.utils.detect_lang import calculate_md5, download_fasttext class TestDownloadFasttext: def test_download_fasttext(self): expected_md5 = "01810bc59c6a3d2b79c79e6336612f65" path = download_fasttext() assert calculate_md5(path) == expected_md5 def test_not_download_fasttext(self): path_first = download_fasttext() timestamp1 = time.time() path_second = download_fasttext() timestamp2 = time.time() assert calculate_md5(path_first) == calculate_md5(path_second) assert timestamp2 - timestamp1 < 2

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MigoXLab/dingo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server