myjsonparser 0.1.0__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.
@@ -0,0 +1,19 @@
1
+ MESSAGE = "Hi, i'm plugin!"
2
+ LAST_ERROR = None
3
+
4
+
5
+ def show(message=MESSAGE):
6
+ global LAST_ERROR
7
+
8
+ try:
9
+ from ui.bulletin import BulletinHelper
10
+
11
+ BulletinHelper.show_info(message)
12
+ LAST_ERROR = None
13
+ return True
14
+ except Exception as exc:
15
+ LAST_ERROR = exc
16
+ return False
17
+
18
+
19
+ AUTO_RAN = show()
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.4
2
+ Name: myjsonparser
3
+ Version: 0.1.0
4
+ Summary: Small plugin-system experiment package which shows a bulletin on import.
5
+ Author: myjsonparser
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+
9
+ # myjsonparser
10
+
11
+ Small ExteraGram plugin-system experiment package.
12
+
13
+ Importing the package tries to show an ExteraGram bulletin with the text:
14
+
15
+ ```text
16
+ Hi, i'm plugin!
17
+ ```
18
+
19
+ Outside the ExteraGram plugin runtime, the import is safe and stores the import error in
20
+ `LAST_ERROR`.
@@ -0,0 +1,5 @@
1
+ myjsonparser/__init__.py,sha256=5crC_iIKyFVyEtaUlBPGwOVriZPT1-LguDQZ4LVGXFw,338
2
+ myjsonparser-0.1.0.dist-info/METADATA,sha256=Q1qzfWzwcCa0En0kqP79bLqsRG4f9uFSlOchDhbvBg8,498
3
+ myjsonparser-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
4
+ myjsonparser-0.1.0.dist-info/top_level.txt,sha256=KrV_OFawJoDbjcIx_ZxuAoxlQW40aksBH3PfNRlyZGg,13
5
+ myjsonparser-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ myjsonparser