bouquin 0.1.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bouquin/__init__.py +0 -0
- bouquin/__main__.py +4 -0
- bouquin/db.py +499 -0
- bouquin/editor.py +897 -0
- bouquin/history_dialog.py +176 -0
- bouquin/key_prompt.py +41 -0
- bouquin/lock_overlay.py +127 -0
- bouquin/main.py +24 -0
- bouquin/main_window.py +904 -0
- bouquin/save_dialog.py +35 -0
- bouquin/search.py +209 -0
- bouquin/settings.py +39 -0
- bouquin/settings_dialog.py +302 -0
- bouquin/theme.py +105 -0
- bouquin/toolbar.py +221 -0
- bouquin-0.1.10.dist-info/LICENSE +674 -0
- bouquin-0.1.10.dist-info/METADATA +83 -0
- bouquin-0.1.10.dist-info/RECORD +20 -0
- bouquin-0.1.10.dist-info/WHEEL +4 -0
- bouquin-0.1.10.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: bouquin
|
|
3
|
+
Version: 0.1.10
|
|
4
|
+
Summary: Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher.
|
|
5
|
+
Home-page: https://git.mig5.net/mig5/bouquin
|
|
6
|
+
License: GPL-3.0-or-later
|
|
7
|
+
Author: Miguel Jacq
|
|
8
|
+
Author-email: mig@mig5.net
|
|
9
|
+
Requires-Python: >=3.9,<3.14
|
|
10
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Requires-Dist: markdownify (>=1.2.0,<2.0.0)
|
|
17
|
+
Requires-Dist: pyside6 (>=6.8.1,<7.0.0)
|
|
18
|
+
Requires-Dist: sqlcipher3-wheels (>=0.5.5.post0,<0.6.0)
|
|
19
|
+
Project-URL: Repository, https://git.mig5.net/mig5/bouquin
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
# Bouquin
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Introduction
|
|
26
|
+
|
|
27
|
+
Bouquin ("Book-ahn") is a simple, opinionated notebook application written in Python, PyQt and SQLCipher.
|
|
28
|
+
|
|
29
|
+
It uses [SQLCipher bindings](https://pypi.org/project/sqlcipher3-wheels) as a drop-in replacement
|
|
30
|
+
for SQLite3. This means that the underlying database for the notebook is encrypted at rest.
|
|
31
|
+
|
|
32
|
+
To increase security, the SQLCipher key is requested when the app is opened, and is not written
|
|
33
|
+
to disk unless the user configures it to be in the settings.
|
|
34
|
+
|
|
35
|
+
There is deliberately no network connectivity or syncing intended.
|
|
36
|
+
|
|
37
|
+
## Screenshot
|
|
38
|
+
|
|
39
|
+

|
|
40
|
+
|
|
41
|
+
## Features
|
|
42
|
+
|
|
43
|
+
* Data is encrypted at rest
|
|
44
|
+
* Encryption key is prompted for and never stored, unless user chooses to via Settings
|
|
45
|
+
* Every 'page' is linked to the calendar day
|
|
46
|
+
* All changes are version controlled, with ability to view/diff versions and revert
|
|
47
|
+
* Text is HTML with basic styling
|
|
48
|
+
* Images are supported
|
|
49
|
+
* Search
|
|
50
|
+
* Automatic periodic saving (or explicitly save)
|
|
51
|
+
* Transparent integrity checking of the database when it opens
|
|
52
|
+
* Automatic locking of the app after a period of inactivity (default 15 min)
|
|
53
|
+
* Rekey the database (change the password)
|
|
54
|
+
* Export the database to json, txt, html, csv or .sql (for sqlite3)
|
|
55
|
+
* Backup the database to encrypted SQLCipher format (which can then be loaded back in to a Bouquin)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
## How to install
|
|
59
|
+
|
|
60
|
+
Make sure you have `libxcb-cursor0` installed (it may be called something else on non-Debian distributions).
|
|
61
|
+
|
|
62
|
+
### From PyPi/pip
|
|
63
|
+
|
|
64
|
+
* `pip install bouquin`
|
|
65
|
+
|
|
66
|
+
### From source
|
|
67
|
+
|
|
68
|
+
* Clone this repo or download the tarball from the releases page
|
|
69
|
+
* Ensure you have poetry installed
|
|
70
|
+
* Run `poetry install` to install dependencies
|
|
71
|
+
* Run `poetry run bouquin` to start the application.
|
|
72
|
+
|
|
73
|
+
### From the releases page
|
|
74
|
+
|
|
75
|
+
* Download the whl and run it
|
|
76
|
+
|
|
77
|
+
## How to run the tests
|
|
78
|
+
|
|
79
|
+
* Clone the repo
|
|
80
|
+
* Ensure you have poetry installed
|
|
81
|
+
* Run `poetry install --with test`
|
|
82
|
+
* Run `poetry run pytest -vvvv --cov=bouquin`
|
|
83
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
bouquin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
bouquin/__main__.py,sha256=Vdhw8YA1K3wPMlbJQYL5WqvRzAKVeZ16mZQFO9VRmCo,62
|
|
3
|
+
bouquin/db.py,sha256=Ukh37u397QS_BuH-BJOJUF_F9Q9t3iCOBIf7O4Tqims,17699
|
|
4
|
+
bouquin/editor.py,sha256=IkczFheXi5QMUGWqFpdRD1VQxzKRWAusUZz_sP29vV8,32301
|
|
5
|
+
bouquin/history_dialog.py,sha256=Z3BO60HD-vO9KQ84s0ccpzVWs0X898GzzHfjqARQPqg,6175
|
|
6
|
+
bouquin/key_prompt.py,sha256=N5UxgDDnVAaoAIs9AqoydPSRjJ4Likda4-ejlE-lr-Y,1076
|
|
7
|
+
bouquin/lock_overlay.py,sha256=8Q9NG8ejaGRZ6Tmc5uB6532JWgb3lLO5TQj718CraPA,4052
|
|
8
|
+
bouquin/main.py,sha256=lBOMS7THgHb4CAJVj8NRYABtNAEez9jlL0wI1oOtfT4,611
|
|
9
|
+
bouquin/main_window.py,sha256=am6EksRbExZQjOlyFMK7-TEwf5w2NCtgFhMVGbWXXvw,33853
|
|
10
|
+
bouquin/save_dialog.py,sha256=nPLNWeImJZamNg53qE7_aeMK_p16aOiry0G4VvJsIWY,939
|
|
11
|
+
bouquin/search.py,sha256=6ygbXck21iwA3RUM6yLIuxUr7AsLI4UYOc7H30XwsZw,7099
|
|
12
|
+
bouquin/settings.py,sha256=F3WLkk2G_By3ppZsRbrnq3PtL2Zav7aA-mIegvGTc8Y,1128
|
|
13
|
+
bouquin/settings_dialog.py,sha256=apqCjrvKsZWZrMxDTF0EK-6Dehw6tvUgXdVzmkMxsM0,10701
|
|
14
|
+
bouquin/theme.py,sha256=rjiAJCjoJbKrsDJmbTPxWFLv_WxzPfWJB08bj5cNW7I,3576
|
|
15
|
+
bouquin/toolbar.py,sha256=3FH-hNdOD64C6v78IdFTf4nAdtEdOWnqhMrs4ZYdEow,8099
|
|
16
|
+
bouquin-0.1.10.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
17
|
+
bouquin-0.1.10.dist-info/METADATA,sha256=3C8lmSuzl006oXC7oaCN5_7R0tAu0y5UdbKV3h5aDHo,2848
|
|
18
|
+
bouquin-0.1.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
19
|
+
bouquin-0.1.10.dist-info/entry_points.txt,sha256=d2C5Mc85suj1vWg_mmcfFuEBAYEkdwhZquusme5EWuQ,49
|
|
20
|
+
bouquin-0.1.10.dist-info/RECORD,,
|