ipyvasp 0.9.97__tar.gz → 0.9.99__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.97 → ipyvasp-0.9.99}/PKG-INFO +2 -1
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/_lattice.py +1 -1
- ipyvasp-0.9.99/ipyvasp/_version.py +1 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/utils.py +14 -1
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp.egg-info/PKG-INFO +2 -1
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp.egg-info/requires.txt +1 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/setup.py +1 -0
- ipyvasp-0.9.97/ipyvasp/_version.py +0 -1
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/LICENSE +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/README.md +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/__init__.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/__main__.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/_enplots.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/bsdos.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/cli.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/core/__init__.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/core/parser.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/core/plot_toolkit.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/core/serializer.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/core/spatial_toolkit.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/evals_dataframe.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/lattice.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/misc.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/potential.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp/widgets.py +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp.egg-info/SOURCES.txt +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp.egg-info/dependency_links.txt +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp.egg-info/entry_points.txt +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/ipyvasp.egg-info/top_level.txt +0 -0
- {ipyvasp-0.9.97 → ipyvasp-0.9.99}/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.99
|
|
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"
|
|
@@ -294,7 +294,7 @@ def write_poscar(poscar_data, outfile=None, selective_dynamics=None, overwrite=F
|
|
|
294
294
|
f.write(out_str)
|
|
295
295
|
else:
|
|
296
296
|
raise FileExistsError(
|
|
297
|
-
f"{outfile!r} exists, can not overwrite, \nuse overwrite=True if you want to
|
|
297
|
+
f"{outfile!r} exists, can not overwrite, \nuse overwrite=True if you want to change."
|
|
298
298
|
)
|
|
299
299
|
else:
|
|
300
300
|
print(out_str)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.9.99"
|
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ipyvasp
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.99
|
|
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"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.9.97"
|
|
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
|
|
File without changes
|