myjsonparser 0.1.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.
- myjsonparser-0.1.0/PKG-INFO +20 -0
- myjsonparser-0.1.0/README.md +12 -0
- myjsonparser-0.1.0/pyproject.toml +16 -0
- myjsonparser-0.1.0/setup.cfg +4 -0
- myjsonparser-0.1.0/src/myjsonparser/__init__.py +19 -0
- myjsonparser-0.1.0/src/myjsonparser.egg-info/PKG-INFO +20 -0
- myjsonparser-0.1.0/src/myjsonparser.egg-info/SOURCES.txt +7 -0
- myjsonparser-0.1.0/src/myjsonparser.egg-info/dependency_links.txt +1 -0
- myjsonparser-0.1.0/src/myjsonparser.egg-info/top_level.txt +3 -0
|
@@ -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,12 @@
|
|
|
1
|
+
# myjsonparser
|
|
2
|
+
|
|
3
|
+
Small ExteraGram plugin-system experiment package.
|
|
4
|
+
|
|
5
|
+
Importing the package tries to show an ExteraGram bulletin with the text:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Hi, i'm plugin!
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Outside the ExteraGram plugin runtime, the import is safe and stores the import error in
|
|
12
|
+
`LAST_ERROR`.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "myjsonparser"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Small plugin-system experiment package which shows a bulletin on import."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
authors = [
|
|
12
|
+
{ name = "myjsonparser" }
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
[tool.setuptools.packages.find]
|
|
16
|
+
where = ["src"]
|
|
@@ -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 @@
|
|
|
1
|
+
|