I’ve been building Python integrations with Qomplement for a while and decided to clean up my code into a proper library.\n\n## qomplement-py\n\nA Python wrapper that makes the API easier to work with:\n\npython\nfrom qomplement import Client\n\nclient = Client(api_key='your-key')\n\n# Simple processing\nresult = client.parse('invoice.pdf')\nprint(result.fields)\nprint(result.confidence)\n\n# With template\nresult = client.parse('invoice.pdf', template='invoice_v2')\n\n# Batch processing\nresults = client.batch_parse(['doc1.pdf', 'doc2.pdf', 'doc3.pdf'], workers=5)\n\n# Export to different formats\nresult.to_csv('output.csv')\nresult.to_excel('output.xlsx')\nresult.to_json('output.json')\n\n\nFeatures:\n- Automatic retry with exponential backoff\n- Concurrent batch processing\n- Type hints and good documentation\n- Export to CSV, Excel, JSON\n- Confidence score filtering\n\nIt’s on GitHub if anyone wants to use it or contribute. Not affiliated with Qomplement — just a user who got tired of writing the same boilerplate code.\n\nNote: link removed per forum rules, but DM me if you want the repo URL.
2 Likes
Nice work! Would love to contribute, especially around batch processing and error handling. DMing you for the repo.
5 Likes
The .to_csv() and .to_excel() built in saves a lot of pandas boilerplate. Definitely using this.
4 Likes