pibooth-ceeeeb 2.0.8.2__tar.gz

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.
Files changed (57) hide show
  1. pibooth-ceeeeb-2.0.8.2/LICENSE +22 -0
  2. pibooth-ceeeeb-2.0.8.2/PKG-INFO +66 -0
  3. pibooth-ceeeeb-2.0.8.2/README.rst +55 -0
  4. pibooth-ceeeeb-2.0.8.2/pibooth/__init__.py +15 -0
  5. pibooth-ceeeeb-2.0.8.2/pibooth/booth.py +589 -0
  6. pibooth-ceeeeb-2.0.8.2/pibooth/camera/__init__.py +52 -0
  7. pibooth-ceeeeb-2.0.8.2/pibooth/camera/base.py +134 -0
  8. pibooth-ceeeeb-2.0.8.2/pibooth/camera/gphoto.py +311 -0
  9. pibooth-ceeeeb-2.0.8.2/pibooth/camera/hybrid.py +89 -0
  10. pibooth-ceeeeb-2.0.8.2/pibooth/camera/opencv.py +239 -0
  11. pibooth-ceeeeb-2.0.8.2/pibooth/camera/rpi.py +169 -0
  12. pibooth-ceeeeb-2.0.8.2/pibooth/config/__init__.py +4 -0
  13. pibooth-ceeeeb-2.0.8.2/pibooth/config/menu.py +424 -0
  14. pibooth-ceeeeb-2.0.8.2/pibooth/config/parser.py +533 -0
  15. pibooth-ceeeeb-2.0.8.2/pibooth/counters.py +66 -0
  16. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/Amatic-Bold.ttf +0 -0
  17. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/AmaticSC-Regular.ttf +0 -0
  18. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/DancingScript-Bold.ttf +0 -0
  19. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/DancingScript-Regular.ttf +0 -0
  20. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/Monoid-Bold.ttf +0 -0
  21. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/Monoid-Regular.ttf +0 -0
  22. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/Monoid-Retina.ttf +0 -0
  23. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/Roboto-BoldItalic.ttf +0 -0
  24. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/Roboto-LightItalic.ttf +0 -0
  25. pibooth-ceeeeb-2.0.8.2/pibooth/fonts/__init__.py +111 -0
  26. pibooth-ceeeeb-2.0.8.2/pibooth/language.py +278 -0
  27. pibooth-ceeeeb-2.0.8.2/pibooth/pictures/__init__.py +192 -0
  28. pibooth-ceeeeb-2.0.8.2/pibooth/pictures/factory.py +528 -0
  29. pibooth-ceeeeb-2.0.8.2/pibooth/pictures/pool.py +36 -0
  30. pibooth-ceeeeb-2.0.8.2/pibooth/pictures/sizing.py +114 -0
  31. pibooth-ceeeeb-2.0.8.2/pibooth/plugins/__init__.py +152 -0
  32. pibooth-ceeeeb-2.0.8.2/pibooth/plugins/camera_plugin.py +116 -0
  33. pibooth-ceeeeb-2.0.8.2/pibooth/plugins/hookspecs.py +512 -0
  34. pibooth-ceeeeb-2.0.8.2/pibooth/plugins/lights_plugin.py +72 -0
  35. pibooth-ceeeeb-2.0.8.2/pibooth/plugins/picture_plugin.py +159 -0
  36. pibooth-ceeeeb-2.0.8.2/pibooth/plugins/printer_plugin.py +67 -0
  37. pibooth-ceeeeb-2.0.8.2/pibooth/plugins/view_plugin.py +187 -0
  38. pibooth-ceeeeb-2.0.8.2/pibooth/printer.py +135 -0
  39. pibooth-ceeeeb-2.0.8.2/pibooth/scripts/__init__.py +0 -0
  40. pibooth-ceeeeb-2.0.8.2/pibooth/scripts/count.py +45 -0
  41. pibooth-ceeeeb-2.0.8.2/pibooth/scripts/diagnostic.py +223 -0
  42. pibooth-ceeeeb-2.0.8.2/pibooth/scripts/fonts.py +38 -0
  43. pibooth-ceeeeb-2.0.8.2/pibooth/scripts/printer.py +78 -0
  44. pibooth-ceeeeb-2.0.8.2/pibooth/scripts/regenerate.py +93 -0
  45. pibooth-ceeeeb-2.0.8.2/pibooth/states.py +105 -0
  46. pibooth-ceeeeb-2.0.8.2/pibooth/utils.py +296 -0
  47. pibooth-ceeeeb-2.0.8.2/pibooth/view/__init__.py +3 -0
  48. pibooth-ceeeeb-2.0.8.2/pibooth/view/background.py +681 -0
  49. pibooth-ceeeeb-2.0.8.2/pibooth/view/window.py +392 -0
  50. pibooth-ceeeeb-2.0.8.2/pibooth_ceeeeb.egg-info/PKG-INFO +66 -0
  51. pibooth-ceeeeb-2.0.8.2/pibooth_ceeeeb.egg-info/SOURCES.txt +55 -0
  52. pibooth-ceeeeb-2.0.8.2/pibooth_ceeeeb.egg-info/dependency_links.txt +1 -0
  53. pibooth-ceeeeb-2.0.8.2/pibooth_ceeeeb.egg-info/entry_points.txt +7 -0
  54. pibooth-ceeeeb-2.0.8.2/pibooth_ceeeeb.egg-info/requires.txt +7 -0
  55. pibooth-ceeeeb-2.0.8.2/pibooth_ceeeeb.egg-info/top_level.txt +1 -0
  56. pibooth-ceeeeb-2.0.8.2/setup.cfg +4 -0
  57. pibooth-ceeeeb-2.0.8.2/setup.py +40 -0
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017-2026 Vincent Verdeil, Antoine Rousseaux and contributors
4
+ Copyright (c) 2026 Christophe (ceeeeb) — fork modifications
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,66 @@
1
+ Metadata-Version: 2.1
2
+ Name: pibooth-ceeeeb
3
+ Version: 2.0.8.2
4
+ Summary: A photo booth application in pure Python for the Raspberry Pi (custom fork by ceeeeb).
5
+ Home-page: https://github.com/ceeeeb/pibooth
6
+ Author: Vincent Verdeil, Antoine Rousseaux, Christophe (ceeeeb)
7
+ License: MIT
8
+ Requires-Python: >=3.7
9
+ Description-Content-Type: text/x-rst
10
+ License-File: LICENSE
11
+
12
+ pibooth-ceeeeb
13
+ ==============
14
+
15
+ Custom fork of `pibooth <https://github.com/pibooth/pibooth>`_ — a photo
16
+ booth application in pure Python for the Raspberry Pi — maintained by
17
+ ceeeeb for personal events.
18
+
19
+ This fork tracks upstream pibooth at the time of forking and adds local
20
+ modifications. It is published under a different distribution name on
21
+ PyPI (``pibooth-ceeeeb``) to avoid colliding with the upstream
22
+ ``pibooth`` package; the importable Python module is still named
23
+ ``pibooth``.
24
+
25
+ Differences vs upstream
26
+ -----------------------
27
+
28
+ - Settings menu sized to 85% of the screen (was hard-capped at 600x400).
29
+ - 4-finger gesture inside the open settings menu pops a save / discard
30
+ / cancel confirmation dialog (in addition to the existing 4-finger
31
+ open).
32
+ - Bundled with companion plugins maintained in their own repos:
33
+ ``pibooth-pcloud``, ``pibooth-nextcloud`` (forked), ``pibooth-gallery-qr``,
34
+ ``pibooth-forget-button``, ``pibooth-background-changer``.
35
+
36
+ Install
37
+ -------
38
+
39
+ This package conflicts with upstream ``pibooth``. Install in a fresh
40
+ virtualenv::
41
+
42
+ python3 -m venv pibooth-env
43
+ source pibooth-env/bin/activate
44
+ pip install pibooth-ceeeeb
45
+
46
+ Or directly from git::
47
+
48
+ pip install git+https://github.com/ceeeeb/pibooth.git@v2.0.8.2
49
+
50
+ Plugins that depend on ``pibooth>=2.0.0`` (e.g. ``pibooth-pcloud``,
51
+ ``pibooth-nextcloud``) will not see ``pibooth-ceeeeb`` as satisfying the
52
+ requirement, so install plugins with ``--no-deps`` if you want to avoid
53
+ pulling upstream pibooth alongside this fork::
54
+
55
+ pip install --no-deps pibooth-pcloud
56
+
57
+ License
58
+ -------
59
+
60
+ MIT — see the ``LICENSE`` file. Upstream credits preserved.
61
+
62
+ Upstream
63
+ --------
64
+
65
+ For the unmodified, supported version of pibooth, see
66
+ https://github.com/pibooth/pibooth.
@@ -0,0 +1,55 @@
1
+ pibooth-ceeeeb
2
+ ==============
3
+
4
+ Custom fork of `pibooth <https://github.com/pibooth/pibooth>`_ — a photo
5
+ booth application in pure Python for the Raspberry Pi — maintained by
6
+ ceeeeb for personal events.
7
+
8
+ This fork tracks upstream pibooth at the time of forking and adds local
9
+ modifications. It is published under a different distribution name on
10
+ PyPI (``pibooth-ceeeeb``) to avoid colliding with the upstream
11
+ ``pibooth`` package; the importable Python module is still named
12
+ ``pibooth``.
13
+
14
+ Differences vs upstream
15
+ -----------------------
16
+
17
+ - Settings menu sized to 85% of the screen (was hard-capped at 600x400).
18
+ - 4-finger gesture inside the open settings menu pops a save / discard
19
+ / cancel confirmation dialog (in addition to the existing 4-finger
20
+ open).
21
+ - Bundled with companion plugins maintained in their own repos:
22
+ ``pibooth-pcloud``, ``pibooth-nextcloud`` (forked), ``pibooth-gallery-qr``,
23
+ ``pibooth-forget-button``, ``pibooth-background-changer``.
24
+
25
+ Install
26
+ -------
27
+
28
+ This package conflicts with upstream ``pibooth``. Install in a fresh
29
+ virtualenv::
30
+
31
+ python3 -m venv pibooth-env
32
+ source pibooth-env/bin/activate
33
+ pip install pibooth-ceeeeb
34
+
35
+ Or directly from git::
36
+
37
+ pip install git+https://github.com/ceeeeb/pibooth.git@v2.0.8.2
38
+
39
+ Plugins that depend on ``pibooth>=2.0.0`` (e.g. ``pibooth-pcloud``,
40
+ ``pibooth-nextcloud``) will not see ``pibooth-ceeeeb`` as satisfying the
41
+ requirement, so install plugins with ``--no-deps`` if you want to avoid
42
+ pulling upstream pibooth alongside this fork::
43
+
44
+ pip install --no-deps pibooth-pcloud
45
+
46
+ License
47
+ -------
48
+
49
+ MIT — see the ``LICENSE`` file. Upstream credits preserved.
50
+
51
+ Upstream
52
+ --------
53
+
54
+ For the unmodified, supported version of pibooth, see
55
+ https://github.com/pibooth/pibooth.
@@ -0,0 +1,15 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ """A photo booth application in pure Python for the Raspberry Pi."""
4
+
5
+ __version__ = "2.0.8.2"
6
+
7
+ try:
8
+
9
+ import pluggy
10
+
11
+ # Marker to be imported and used in plugins (and for own implementations)
12
+ hookimpl = pluggy.HookimplMarker('pibooth')
13
+
14
+ except ImportError:
15
+ pass # When running the setup.py, pluggy is not yet installed