195 Commits

Author SHA1 Message Date
Jean-Francois Dockes
c54ee06489 Windows build: use embedded python distribution. Build recoll extension for multiple python versions. Clean up windows build dir 2021-04-21 08:19:18 +01:00
Jean-Francois Dockes
3c52e45bee conftree: add subkeys_unsorted method 2021-04-16 12:53:03 +02:00
Jean-Francois Dockes
f57530e2a6 Python module: add method to retrieve the full snippets list 2021-03-10 13:30:50 +01:00
Jean-Francois Dockes
46ccac27a4 none 2021-02-25 11:07:17 +00:00
Jean-Francois Dockes
d44f89933b MacOS app: fix python code not finding datadir 2021-02-22 10:24:23 -08:00
freddii
89c7efe682 fixed typos 2021-02-04 17:12:22 +01:00
Jean-Francois Dockes
91cc912808 rm unused -I in py module build 2021-01-16 11:52:17 +01:00
Jean-Francois Dockes
c6341b2438 Small 1.28 adjustments for Windows build 2021-01-07 15:47:13 +00:00
Jean-Francois Dockes
d39ee1e58c Python extension: oops Doc setattro did not set values in metadata array 2020-12-30 08:51:11 +01:00
Jean-Francois Dockes
b4eb0cacef pyresultstore: implement sequence protocol 2020-12-19 10:41:08 +01:00
Jean-Francois Dockes
22f62216d2 Implement doc_ass_subscript, cleanup the Doc interface. Connect the qresultstore to the python module 2020-12-18 11:20:39 +01:00
Jean-Francois Dockes
ea9b5ab9eb resultstore: 1st working. Interface needs improvements 2020-12-17 11:15:07 +01:00
Jean-Francois Dockes
93f96ef68b Have the query parser directly return a shared_ptr and consequent simplifications 2020-12-13 15:47:14 +01:00
Jean-Francois Dockes
406c6b3257 Python module: merge pyrecoll and pyrclextract C extensions into one _pyrecoll and create 2 python modules to maintain compat 2020-10-14 17:36:33 +02:00
Jean-Francois Dockes
6daba6884f conftree: also decode empty values 2020-10-14 15:27:26 +02:00
Jean-Francois Dockes
2d21d4a460 indent 2020-10-14 11:57:18 +02:00
Jean-Francois Dockes
6545591967 python rclconfig, getDbDir(): allow for set cachedir 2020-09-22 10:12:21 +02:00
Jean-Francois Dockes
24fedb5608 rclconfig python implementation: raise exception if recoll datadir is not found 2020-09-04 18:04:51 +02:00
Jean-Francois Dockes
7ba8a79ee7 indent 2020-09-04 16:16:01 +02:00
Jean-Francois Dockes
9f818ebe70 python samples: scripts to compute a file udi and list non-indexed files 2020-08-06 16:00:13 +02:00
Jean-Francois Dockes
0f36253565 python rclconfig: implemente getDbDir() 2020-08-06 15:57:55 +02:00
Jean-Francois Dockes
560041cab9 cleared out errant tabs 2020-05-30 15:54:49 +02:00
Jean-Francois Dockes
51f524a3d4 Use https for URLs 2020-05-28 09:57:00 +02:00
Jean-Francois Dockes
1a5d081093 updated sample for python3 2020-05-25 08:37:20 +02:00
Jean-Francois Dockes
9766fd983e windows recoll python module setup.py 2020-04-15 14:47:44 +01:00
Jean-Francois Dockes
23c2776cb4 Recoll Python module build with msvc. Help the module find the datadir. 2020-04-09 10:26:04 +01:00
Jean-Francois Dockes
6a8c53b566 conftree: explicitely close the input file, else python sometimes complains 2020-04-09 10:21:18 +01:00
Jean-Francois Dockes
1fb9421163 OCR: small adjustments for Windows 2020-02-28 09:22:03 +01:00
Jean-Francois Dockes
e802fce01e added python sample for extracting doc texts 2020-01-05 17:49:06 +01:00
Jean-Francois Dockes
10b6069f0d Add recollq and Python API options to collapse duplicate results 2019-11-12 09:30:29 +01:00
Jean-Francois Dockes
32ad0396d3 remove build files from git 2019-11-05 09:31:45 +01:00
Jean-Francois Dockes
af42fe8f5e rclconfig.py, rclexecm.py: implement part of mimetype identification for rclexecm test mode 2019-10-06 07:44:50 +02:00
Jean-Francois Dockes
84855d5241 conftree.py: fix stringToStrings + remove before rename to existing on windows. 2019-08-06 16:31:07 +02:00
Jean-Francois Dockes
05c4f87aed fix the python module for the new hldata structure 2019-07-21 19:13:24 +02:00
Jean-Francois Dockes
cc4f4e0c74 ckpt: pst: basic indexing of email. no getipath/preview 2019-05-26 12:30:59 +02:00
Jean-Francois Dockes
c0b014b955 shared conftree.py: improved stringToStrings 2019-05-02 10:31:19 +02:00
Jean-Francois Dockes
5d22ad3bcb python module: properly manage a per-db config 2019-04-21 10:55:56 +02:00
Jean-Francois Dockes
b6fb1f7f26 python module: docs returned by fetchmany() had one extra ref and were never deallocated 2019-04-20 16:41:42 +02:00
Jean-Francois Dockes
54f0eda990 make doc.meta an unordered_map 2019-04-20 15:04:19 +02:00
Jean-Francois Dockes
aa04bff86f rclconfig.py: ensure importing conftree works whether we are inside the recoll package or not 2019-03-23 15:55:01 +01:00
Jean-Francois Dockes
549f1bf77d Python module: fixed several instances of calling PY_DECREF while using the char* returned by PyBytes_AsString. Caused a crash in uprcl 2019-03-22 09:59:54 +01:00
Jean-Francois Dockes
4a15f240ec mode 2019-03-12 14:53:06 +01:00
Jean-Francois Dockes
b3c1c260f0 comments 2019-03-12 14:51:23 +01:00
Jean-Francois Dockes
20910d3911 Add pylogfilename and pyloglevel functions to allow separating python logging. Unify recollinit calls 2019-03-10 14:52:46 +01:00
Jean-Francois Dockes
bacbdce8b8 more fsf address fixes 2019-03-04 11:33:59 +01:00
Jean-Francois Dockes
0cbc46732f Fixed the FSF address 2019-03-04 11:19:14 +01:00
Jean-Francois Dockes
6716aba6c6 Python module: got rid of the static arrays which held object pointers: just trust python 2019-02-21 10:40:22 +01:00
Jean-Francois Dockes
fe66ad214a Python module: avoid exception for 'for doc in q' where q is empty 2019-02-20 18:32:56 +01:00
Jean-Francois Dockes
e802db5d96 Rclconfig: fix import for dynconf 2019-01-25 15:20:25 +01:00
Jean-Francois Dockes
4b60a6a462 Python: highlight method: no need to copy the output unicode object 2018-12-07 19:00:45 +01:00