{"success":true,"data":{"ext":"wq1","name":"WQ1","description":"WQ1 is a legacy spreadsheet file format associated with Quattro Pro, originally developed by Borland and later maintained by Corel. It was used for storing worksheets, formulas, and related workbook data in early versions of the application for business and personal calculations. The format is now largely obsolete, and files should be opened with trusted spreadsheet software because older documents may contain compatibility issues rather than active security risks.","mime":["application/x-quattro-pro;version=1-4"],"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"}]}],"related":["wkq","wb1","wb2","wk1","wk2","wq2"],"usage":{"python":"def is_wq1(file_path: str) -> bool:\n    \"\"\"Check if file is a valid WQ1 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 isWQ1(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 IsWQ1(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}"}}}