{"success":true,"data":{"ext":"wkq","name":"WKQ","description":"WKQ is a legacy spreadsheet file format used by Quattro Pro, originally developed by Borland and later supported by subsequent Quattro Pro vendors. It was used to store worksheets, formulas, calculations, and related tabular data for business and personal spreadsheets. The format is largely obsolete today, and while it is generally safe to open, very old files may require compatibility support in modern office software.","mime":["application/x-quattro-pro;version=1-4","application/x-quattro-pro;version=5"],"risk_level":"Safe","signatures":[{"hex":"00 00 02 00 20 51","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"00 00 02 00 21 51","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["wq1","wb1","wb2","wk1","wk2","wq2"],"usage":{"python":"def is_wkq(file_path: str) -> bool:\n    \"\"\"Check if file is a valid WKQ by magic bytes.\"\"\"\n    signature = bytes([0x00, 0x00, 0x02, 0x00, 0x20, 0x51])\n    with open(file_path, \"rb\") as f:\n        return f.read(6) == signature","node":"function isWKQ(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x00, 0x00, 0x02, 0x00, 0x20, 0x51]);\n  return buffer.subarray(0, 6).equals(signature);\n}","go":"func IsWKQ(data []byte) bool {\n    signature := []byte{0x00, 0x00, 0x02, 0x00, 0x20, 0x51}\n    if len(data) < 6 {\n        return false\n    }\n    return bytes.Equal(data[:6], signature)\n}"}}}