sferriol-python 0.7.3__tar.gz → 0.8.1__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.
- {sferriol_python-0.7.3/sferriol_python.egg-info → sferriol_python-0.8.1}/PKG-INFO +3 -2
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol/python/__init__.py +2 -0
- sferriol_python-0.8.1/sferriol/python/pkg.py +17 -0
- sferriol_python-0.8.1/sferriol/python/test/pkg/__init__.py +4 -0
- sferriol_python-0.8.1/sferriol/python/test/pkg/toto.py +1 -0
- sferriol_python-0.8.1/sferriol/python/test/pkg/tutu.py +1 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1/sferriol_python.egg-info}/PKG-INFO +3 -2
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol_python.egg-info/SOURCES.txt +5 -1
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/LICENSE +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/README.md +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/pyproject.toml +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/setup.cfg +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/setup.py +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol/python/asyncio.py +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol/python/dictionary/__init__.py +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol/python/env.py +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol/python/json.py +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol/python/net.py +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol/python/object.py +0 -0
- /sferriol_python-0.7.3/sferriol/python/os.py → /sferriol_python-0.8.1/sferriol/python/os_.py +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol_python.egg-info/dependency_links.txt +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol_python.egg-info/requires.txt +0 -0
- {sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol_python.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: sferriol-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.1
|
|
4
4
|
Summary: python utilities
|
|
5
5
|
Home-page: https://gitlab.in2p3.fr/sferriol-ip2i/sferriol-python
|
|
6
6
|
Author: Sylvain Ferriol
|
|
@@ -13,6 +13,7 @@ License-File: LICENSE
|
|
|
13
13
|
Provides-Extra: dev
|
|
14
14
|
Requires-Dist: click; extra == "dev"
|
|
15
15
|
Requires-Dist: yapf; extra == "dev"
|
|
16
|
+
Dynamic: license-file
|
|
16
17
|
|
|
17
18
|
# sferriol-python
|
|
18
19
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import importlib
|
|
2
|
+
import pkgutil
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
from sferriol.python import module_name_from_file
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def reload(pkg):
|
|
9
|
+
"Reload package and its sub modules"
|
|
10
|
+
pkg_name = pkg.__name__
|
|
11
|
+
pkg_path = pkg.__path__
|
|
12
|
+
if pkg_name in sys.modules:
|
|
13
|
+
importlib.reload(sys.modules[pkg_name])
|
|
14
|
+
for _, module_name, _ in pkgutil.iter_modules(pkg_path):
|
|
15
|
+
module = f"{pkg_name}.{module_name}"
|
|
16
|
+
if module in sys.modules:
|
|
17
|
+
importlib.reload(sys.modules[module])
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hello = 'world'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hello2 = 'world2'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: sferriol-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.1
|
|
4
4
|
Summary: python utilities
|
|
5
5
|
Home-page: https://gitlab.in2p3.fr/sferriol-ip2i/sferriol-python
|
|
6
6
|
Author: Sylvain Ferriol
|
|
@@ -13,6 +13,7 @@ License-File: LICENSE
|
|
|
13
13
|
Provides-Extra: dev
|
|
14
14
|
Requires-Dist: click; extra == "dev"
|
|
15
15
|
Requires-Dist: yapf; extra == "dev"
|
|
16
|
+
Dynamic: license-file
|
|
16
17
|
|
|
17
18
|
# sferriol-python
|
|
18
19
|
|
|
@@ -9,8 +9,12 @@ sferriol/python/env.py
|
|
|
9
9
|
sferriol/python/json.py
|
|
10
10
|
sferriol/python/net.py
|
|
11
11
|
sferriol/python/object.py
|
|
12
|
-
sferriol/python/
|
|
12
|
+
sferriol/python/os_.py
|
|
13
|
+
sferriol/python/pkg.py
|
|
13
14
|
sferriol/python/dictionary/__init__.py
|
|
15
|
+
sferriol/python/test/pkg/__init__.py
|
|
16
|
+
sferriol/python/test/pkg/toto.py
|
|
17
|
+
sferriol/python/test/pkg/tutu.py
|
|
14
18
|
sferriol_python.egg-info/PKG-INFO
|
|
15
19
|
sferriol_python.egg-info/SOURCES.txt
|
|
16
20
|
sferriol_python.egg-info/dependency_links.txt
|
|
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
|
/sferriol_python-0.7.3/sferriol/python/os.py → /sferriol_python-0.8.1/sferriol/python/os_.py
RENAMED
|
File without changes
|
{sferriol_python-0.7.3 → sferriol_python-0.8.1}/sferriol_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|