ipyvasp 0.9.96__tar.gz → 0.9.98__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.
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/PKG-INFO +4 -2
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/README.md +2 -1
- ipyvasp-0.9.98/ipyvasp/_version.py +1 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/utils.py +14 -1
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/widgets.py +2 -9
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp.egg-info/PKG-INFO +4 -2
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp.egg-info/requires.txt +1 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/setup.py +1 -0
- ipyvasp-0.9.96/ipyvasp/_version.py +0 -1
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/LICENSE +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/__init__.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/__main__.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/_enplots.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/_lattice.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/bsdos.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/cli.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/core/__init__.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/core/parser.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/core/plot_toolkit.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/core/serializer.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/core/spatial_toolkit.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/evals_dataframe.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/lattice.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/misc.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp/potential.py +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp.egg-info/SOURCES.txt +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp.egg-info/dependency_links.txt +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp.egg-info/entry_points.txt +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/ipyvasp.egg-info/top_level.txt +0 -0
- {ipyvasp-0.9.96 → ipyvasp-0.9.98}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ipyvasp
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.98
|
|
4
4
|
Summary: A processing tool for VASP DFT input/output processing in Jupyter Notebook.
|
|
5
5
|
Home-page: https://github.com/massgh/ipyvasp
|
|
6
6
|
Author: Abdul Saboor
|
|
@@ -24,6 +24,7 @@ Requires-Dist: plotly==6.0.1
|
|
|
24
24
|
Requires-Dist: requests==2.28.1
|
|
25
25
|
Requires-Dist: typer==0.9.0
|
|
26
26
|
Requires-Dist: einteract
|
|
27
|
+
Requires-Dist: sympy
|
|
27
28
|
Provides-Extra: extra
|
|
28
29
|
Requires-Dist: jupyterlab>=3.5.2; extra == "extra"
|
|
29
30
|
Requires-Dist: ipython>=8.7; extra == "extra"
|
|
@@ -34,6 +35,7 @@ Requires-Dist: nglview>=3.0.4; extra == "extra"
|
|
|
34
35
|
# IPyVASP
|
|
35
36
|
|
|
36
37
|
[](https://doi.org/10.5281/zenodo.15482350)
|
|
38
|
+
[](https://mybinder.org/v2/gh/asaboor-gh/ipyvasp/HEAD?urlpath=%2Fdoc%2Ftree%2Fdocs%2Fsource%2Fnotebooks%2Fquickstart.ipynb)
|
|
37
39
|
[](https://pepy.tech/projects/ipyvasp)
|
|
38
40
|
|
|
39
41
|
An VASP-based DFT pre and post processing tool.
|
|
@@ -81,4 +83,4 @@ Apply operations on POSCAR and simultaneously view using plotly's `FigureWidget`
|
|
|
81
83
|

|
|
82
84
|
|
|
83
85
|

|
|
84
|
-
More coming soon!
|
|
86
|
+
More coming soon! You can test these examples on [](https://mybinder.org/v2/gh/asaboor-gh/ipyvasp/HEAD?urlpath=%2Fdoc%2Ftree%2Fdocs%2Fsource%2Fnotebooks%2Fquickstart.ipynb).
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# IPyVASP
|
|
2
2
|
|
|
3
3
|
[](https://doi.org/10.5281/zenodo.15482350)
|
|
4
|
+
[](https://mybinder.org/v2/gh/asaboor-gh/ipyvasp/HEAD?urlpath=%2Fdoc%2Ftree%2Fdocs%2Fsource%2Fnotebooks%2Fquickstart.ipynb)
|
|
4
5
|
[](https://pepy.tech/projects/ipyvasp)
|
|
5
6
|
|
|
6
7
|
An VASP-based DFT pre and post processing tool.
|
|
@@ -48,4 +49,4 @@ Apply operations on POSCAR and simultaneously view using plotly's `FigureWidget`
|
|
|
48
49
|

|
|
49
50
|
|
|
50
51
|

|
|
51
|
-
More coming soon!
|
|
52
|
+
More coming soon! You can test these examples on [](https://mybinder.org/v2/gh/asaboor-gh/ipyvasp/HEAD?urlpath=%2Fdoc%2Ftree%2Fdocs%2Fsource%2Fnotebooks%2Fquickstart.ipynb).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.9.98"
|
|
@@ -137,6 +137,19 @@ def _sig_kwargs(from_func, skip_params=()):
|
|
|
137
137
|
|
|
138
138
|
return wrapper
|
|
139
139
|
|
|
140
|
+
def _md_code_blocks_to_rst(text):
|
|
141
|
+
def repl(match):
|
|
142
|
+
language = match.group(1) or 'python' # default to 'python' if no language
|
|
143
|
+
code = match.group(2)
|
|
144
|
+
return f'.. code-block:: {language}\n\n ' + '\n '.join(code.strip().splitlines())
|
|
145
|
+
|
|
146
|
+
return re.sub(
|
|
147
|
+
r'```([a-zA-Z0-9]*)\s*\n(.*?)```',
|
|
148
|
+
repl,
|
|
149
|
+
text,
|
|
150
|
+
flags=re.DOTALL
|
|
151
|
+
)
|
|
152
|
+
|
|
140
153
|
|
|
141
154
|
def _sub_doc(from_func, replace={}):
|
|
142
155
|
"""Assing __doc__ from other function. Replace words in docs where need."""
|
|
@@ -148,7 +161,7 @@ def _sub_doc(from_func, replace={}):
|
|
|
148
161
|
|
|
149
162
|
for k, v in replace.items():
|
|
150
163
|
docs = re.sub(k, v, docs, count=1, flags=re.DOTALL)
|
|
151
|
-
func.__doc__ = docs
|
|
164
|
+
func.__doc__ = _md_code_blocks_to_rst(docs)
|
|
152
165
|
return func
|
|
153
166
|
|
|
154
167
|
return wrapper
|
|
@@ -87,13 +87,6 @@ def summarize(files, func, **kwargs):
|
|
|
87
87
|
)
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
_progress_svg = """<svg xmlns="http://www.w3.org/2000/svg" height="5em" viewBox="0 0 50 50">
|
|
91
|
-
<path fill="skyblue" d="M25,5A20.14,20.14,0,0,1,45,22.88a2.51,2.51,0,0,0,2.49,2.26h0A2.52,2.52,0,0,0,50,22.33a25.14,25.14,0,0,0-50,0,2.52,2.52,0,0,0,2.5,2.81h0A2.51,2.51,0,0,0,5,22.88,20.14,20.14,0,0,1,25,5Z">
|
|
92
|
-
<animateTransform attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="0.2s" repeatCount="indefinite"/>
|
|
93
|
-
</path>
|
|
94
|
-
</svg>"""
|
|
95
|
-
|
|
96
|
-
|
|
97
90
|
def fix_signature(cls):
|
|
98
91
|
# VBox ruins signature of subclass, let's fix it
|
|
99
92
|
cls.__signature__ = inspect.signature(cls.__init__)
|
|
@@ -598,7 +591,7 @@ class _ThemedFigureInteract(ei.InteractBase):
|
|
|
598
591
|
self.observe(self._autosize_figs, names = 'isfullscreen') # fix figurewidget problem
|
|
599
592
|
|
|
600
593
|
def _autosize_figs(self, change):
|
|
601
|
-
for w in self.
|
|
594
|
+
for w in self.params:
|
|
602
595
|
# don't know yet about these without importing
|
|
603
596
|
if re.search('plotly.*FigureWidget', str(type(w).__mro__)):
|
|
604
597
|
w.layout.autosize = False # Double trigger is important
|
|
@@ -798,7 +791,7 @@ class BandsWidget(_ThemedFigureInteract):
|
|
|
798
791
|
|
|
799
792
|
@ei.callback
|
|
800
793
|
def _toggle_footer(self, showft):
|
|
801
|
-
self.
|
|
794
|
+
self.pane_heights = [0,100 - showft, showft]
|
|
802
795
|
|
|
803
796
|
@ei.callback
|
|
804
797
|
def _set_krange(self, krange):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ipyvasp
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.98
|
|
4
4
|
Summary: A processing tool for VASP DFT input/output processing in Jupyter Notebook.
|
|
5
5
|
Home-page: https://github.com/massgh/ipyvasp
|
|
6
6
|
Author: Abdul Saboor
|
|
@@ -24,6 +24,7 @@ Requires-Dist: plotly==6.0.1
|
|
|
24
24
|
Requires-Dist: requests==2.28.1
|
|
25
25
|
Requires-Dist: typer==0.9.0
|
|
26
26
|
Requires-Dist: einteract
|
|
27
|
+
Requires-Dist: sympy
|
|
27
28
|
Provides-Extra: extra
|
|
28
29
|
Requires-Dist: jupyterlab>=3.5.2; extra == "extra"
|
|
29
30
|
Requires-Dist: ipython>=8.7; extra == "extra"
|
|
@@ -34,6 +35,7 @@ Requires-Dist: nglview>=3.0.4; extra == "extra"
|
|
|
34
35
|
# IPyVASP
|
|
35
36
|
|
|
36
37
|
[](https://doi.org/10.5281/zenodo.15482350)
|
|
38
|
+
[](https://mybinder.org/v2/gh/asaboor-gh/ipyvasp/HEAD?urlpath=%2Fdoc%2Ftree%2Fdocs%2Fsource%2Fnotebooks%2Fquickstart.ipynb)
|
|
37
39
|
[](https://pepy.tech/projects/ipyvasp)
|
|
38
40
|
|
|
39
41
|
An VASP-based DFT pre and post processing tool.
|
|
@@ -81,4 +83,4 @@ Apply operations on POSCAR and simultaneously view using plotly's `FigureWidget`
|
|
|
81
83
|

|
|
82
84
|
|
|
83
85
|

|
|
84
|
-
More coming soon!
|
|
86
|
+
More coming soon! You can test these examples on [](https://mybinder.org/v2/gh/asaboor-gh/ipyvasp/HEAD?urlpath=%2Fdoc%2Ftree%2Fdocs%2Fsource%2Fnotebooks%2Fquickstart.ipynb).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.9.96"
|
|
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
|
|
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
|