174 Commits

Author SHA1 Message Date
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
Jean-Francois Dockes
8fdc8a215e python module: it is necessary to discriminate iternext and fetchone: they do the same thing, but the former must throw an exception at the end of the results, the other must return None 2018-11-20 17:59:58 +01:00
Jean-Francois Dockes
b57fcddbf8 remove spurious shebang 2018-09-05 08:17:48 +02:00
Jean-Francois Dockes
9bb50ccdd5 Renamed bundled pychm to recollchm to ease cohexistence with possible system version 2018-06-12 19:29:37 +02:00
Jean-Francois Dockes
d8b8856f8f conftree import 2018-06-12 19:16:10 +02:00
Jean-Francois Dockes
65d8951e44 fix comment typo 2018-06-12 19:15:35 +02:00
Jean-Francois Dockes
e2bd66d56f pyrecoll: get fetchmany to raise an exception if there is no result set (PEP 249 database API) 2018-06-06 08:13:11 +02:00
Jean-Francois Dockes
4f4e8ff8f8 Python module: fetchone/fetchmany return None/short list instead of exception at the end of the results 2018-06-05 15:34:40 +02:00
Jean-Francois Dockes
ad4365c40c rclconfig: python3-compatible import of conftree 2018-06-05 15:33:39 +02:00
Jean-Francois Dockes
f3d3f5b0bf rclzip: add useSkippedNames variable to also use the base skippedNames 2018-06-04 09:05:23 +02:00
Jean-Francois Dockes
ec4bb12df0 none 2018-06-02 18:15:34 +02:00
Jean-Francois Dockes
1196f1f4f9 sample python3 compat 2018-06-02 18:15:12 +02:00
Jean-Francois Dockes
a5a6b4112b Split rclconfig.py into rclconfig / conftree for sharing code with other users 2018-06-02 18:14:35 +02:00
Jean-Francois Dockes
892e579438 none 2018-06-02 08:41:12 +02:00
Jean-Francois Dockes
48918e93a2 sample: python gui python3 compat 2018-06-02 08:40:47 +02:00
Jean-Francois Dockes
52d3bfa54f Change the shebang line from python2 to python3 for all scripts 2018-06-01 14:55:10 +02:00
Jean-Francois Dockes
9d6f4b98ea use setuptools in place of distutils as this seems to be the current standard 2018-06-01 14:52:49 +02:00
Jean-Francois Dockes
29e63aeda1 CHM handler: bundle pychm for Python3 2018-06-01 14:52:12 +02:00
Jean-Francois Dockes
dae381f49b Centralize the python build/install bits in the top Makefile. Build for python2 and python3 (if both present) 2018-06-01 09:42:20 +02:00
Jean-Francois Dockes
be3ac2e180 Fix cc errors in pyrclextract after TempFile interface change 2018-05-31 15:38:44 +02:00
Jean-Francois Dockes
92e172cad0 python module: termMatch: add option to return term frequencies 2018-04-13 14:30:43 +02:00
Jean-Francois Dockes
3d4fd3c62e When storing doc text, always use a metadata entry. Get rid of the code to
store it in the data record. Make storing the default.  Add "fetchtext"
parameter to getDoc() to fetch and store the text in doc.text. Make this
accessible from Python. Misc comments and indents.
2018-01-25 13:20:02 +01:00