epdlib 0.6.3.2__tar.gz → 0.6.4.0__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.
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/PKG-INFO +1 -1
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib/Screen.py +12 -4
- epdlib-0.6.4.0/epdlib/version.py +1 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib.egg-info/PKG-INFO +1 -1
- epdlib-0.6.3.2/epdlib/version.py +0 -1
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/LICENSE +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/README.md +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib/Block.py +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib/Layout.py +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib/__init__.py +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib/constants.py +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib.egg-info/SOURCES.txt +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib.egg-info/dependency_links.txt +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib.egg-info/requires.txt +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/epdlib.egg-info/top_level.txt +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/setup.cfg +0 -0
- {epdlib-0.6.3.2 → epdlib-0.6.4.0}/setup.py +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# extension: .py
|
|
7
7
|
# format_name: light
|
|
8
8
|
# format_version: '1.5'
|
|
9
|
-
# jupytext_version: 1.16.
|
|
9
|
+
# jupytext_version: 1.16.1
|
|
10
10
|
# kernelspec:
|
|
11
11
|
# display_name: venv_epdlib-bed2b1faf1
|
|
12
12
|
# language: python
|
|
@@ -20,6 +20,13 @@
|
|
|
20
20
|
# %autoreload 2
|
|
21
21
|
|
|
22
22
|
# %reload_ext autoreload
|
|
23
|
+
# -
|
|
24
|
+
|
|
25
|
+
import os
|
|
26
|
+
import logging
|
|
27
|
+
import sys
|
|
28
|
+
import time
|
|
29
|
+
import subprocess
|
|
23
30
|
|
|
24
31
|
# +
|
|
25
32
|
import logging
|
|
@@ -34,8 +41,7 @@ try:
|
|
|
34
41
|
except ImportError as e:
|
|
35
42
|
import constants
|
|
36
43
|
|
|
37
|
-
from waveshare_epd import epdconfig
|
|
38
|
-
|
|
44
|
+
# from waveshare_epd import epdconfig
|
|
39
45
|
|
|
40
46
|
# + code_folding=[0]
|
|
41
47
|
def strict_enforce(*types):
|
|
@@ -460,6 +466,7 @@ class Screen():
|
|
|
460
466
|
'''
|
|
461
467
|
|
|
462
468
|
import waveshare_epd
|
|
469
|
+
# from waveshare_epd import epdconfig
|
|
463
470
|
import pkgutil
|
|
464
471
|
import inspect
|
|
465
472
|
from importlib import import_module
|
|
@@ -728,7 +735,8 @@ class Screen():
|
|
|
728
735
|
# self.epd.module_exit(cleanup=True)
|
|
729
736
|
logging.info('shutting down epd interface')
|
|
730
737
|
try:
|
|
731
|
-
epdconfig.module_exit(cleanup=True)
|
|
738
|
+
# epdconfig.module_exit(cleanup=True)
|
|
739
|
+
pass
|
|
732
740
|
except GPIODeviceError as e:
|
|
733
741
|
logging.warning(f'failed to sleep module: {e}')
|
|
734
742
|
raise ScreenError(e)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__="0.6.4.0"
|
epdlib-0.6.3.2/epdlib/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__="0.6.3.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|