zpic 0.1.0__cp310-cp310-manylinux_2_35_x86_64.whl → 0.1.1__cp310-cp310-manylinux_2_35_x86_64.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.
- zpic/__init__.py +21 -0
- zpic/contrib/__init__.py +20 -0
- zpic/contrib/em2d_rr.cpython-310-x86_64-linux-gnu.so +0 -0
- {zpic-0.1.0.dist-info → zpic-0.1.1.dist-info}/METADATA +1 -1
- {zpic-0.1.0.dist-info → zpic-0.1.1.dist-info}/RECORD +7 -5
- {zpic-0.1.0.dist-info → zpic-0.1.1.dist-info}/LICENCE +0 -0
- {zpic-0.1.0.dist-info → zpic-0.1.1.dist-info}/WHEEL +0 -0
zpic/__init__.py
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
# this script loads the compiled binaries into the module namespace dynamically
|
2
|
+
|
3
|
+
from pathlib import Path
|
4
|
+
from sys import path
|
5
|
+
|
6
|
+
lib_dir = Path(__file__).parent
|
7
|
+
path.append(str(lib_dir))
|
8
|
+
|
9
|
+
modules = []
|
10
|
+
|
11
|
+
# default plugins
|
12
|
+
for bin in lib_dir.iterdir():
|
13
|
+
name = bin.name.split('.')[0]
|
14
|
+
if name.startswith('__'):
|
15
|
+
continue
|
16
|
+
try:
|
17
|
+
globals()[name] = __import__(name)
|
18
|
+
modules.append(name)
|
19
|
+
except ImportError:
|
20
|
+
globals()[name] = None
|
21
|
+
|
zpic/contrib/__init__.py
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# this script loads the contrib compiled binaries into the module namespace dynamically
|
2
|
+
|
3
|
+
from pathlib import Path
|
4
|
+
from sys import path
|
5
|
+
|
6
|
+
lib_dir = Path(__file__).parent
|
7
|
+
path.append(str(lib_dir))
|
8
|
+
|
9
|
+
modules = []
|
10
|
+
|
11
|
+
# contrib plugins
|
12
|
+
for bin in lib_dir.iterdir():
|
13
|
+
name = bin.name.split('.')[0]
|
14
|
+
if name.startswith('__'):
|
15
|
+
continue
|
16
|
+
try:
|
17
|
+
globals()[name] = __import__(name)
|
18
|
+
modules.append(name)
|
19
|
+
except ImportError:
|
20
|
+
globals()[name] = None
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: zpic
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1
|
4
4
|
Summary: A fork of the https://github.com/zpic-plasma/zpic project which attempts to integrate the python functionality as a standalone pip package for convenience
|
5
5
|
Author: Ricardo Teixeira
|
6
6
|
Author-email: ricardo.a.teixeira@tecnico.ulisboa.pt
|
@@ -1,11 +1,13 @@
|
|
1
|
-
zpic/__init__.py,sha256=
|
1
|
+
zpic/__init__.py,sha256=gOkvQY-UrvHymDst8WlioA5ObllF8gYt7XTqACRMCcQ,470
|
2
|
+
zpic/contrib/__init__.py,sha256=V_lhKi_2U8RTBNbU2mvs38jdlaqt5Y9AfXnEz1XN9CA,474
|
3
|
+
zpic/contrib/em2d_rr.cpython-310-x86_64-linux-gnu.so,sha256=rv9X8EANoRDIER8jHpNXoXRQ2cBqyboh8ctirbK1Cl8,517792
|
2
4
|
zpic/em1d.cpython-310-x86_64-linux-gnu.so,sha256=JwWjaH18BS7TbhU9A841NeekDHT4F4r5wiAyi5ZcHPM,496144
|
3
5
|
zpic/em1ds.cpython-310-x86_64-linux-gnu.so,sha256=zxhxKw0toK6JySWD2_CghikDXOIJYhM5whsuZotgmu8,500368
|
4
6
|
zpic/em2d.cpython-310-x86_64-linux-gnu.so,sha256=0hOTBzc-afW6GA64V9sABKMcj58anr6PEjWta2_fCnE,516992
|
5
7
|
zpic/em2ds.cpython-310-x86_64-linux-gnu.so,sha256=TuS6cEnYQs2b8sfkU2KYi0NqIDmNAVsArTsOd5E9FTA,453704
|
6
8
|
zpic/es1d.cpython-310-x86_64-linux-gnu.so,sha256=3LiQTNmRL6vtiI7HLOXHojWk2WRfD8tiMx4UfK7rwzc,356928
|
7
9
|
zpic/zdf.py,sha256=nHSq_12NCP-wy4sqiAJzfTTyyayq74BclKODQjYfQpE,21864
|
8
|
-
zpic-0.1.
|
9
|
-
zpic-0.1.
|
10
|
-
zpic-0.1.
|
11
|
-
zpic-0.1.
|
10
|
+
zpic-0.1.1.dist-info/LICENCE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
11
|
+
zpic-0.1.1.dist-info/METADATA,sha256=-GITs8S0c4Tiqago9TeGYMCC92PvlLAMGyJmOUrf4Ro,3050
|
12
|
+
zpic-0.1.1.dist-info/WHEEL,sha256=8ktOMS5coRnaSmn-rb5wyebXeCNJgjIM07d0cGnJXPQ,110
|
13
|
+
zpic-0.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|