ejplugins-0.9.7
توضیحات
parser plugins for jsonextended
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ejplugins-0.9.7 |
| نام | ejplugins |
| نسخه کتابخانه | 0.9.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Chris Sewell |
| ایمیل نویسنده | chrisj_sewell@hotmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ejplugins/ |
| مجوز | MIT |
# ejplugins
[](https://travis-ci.org/chrisjsewell/ejplugins)
[](https://pypi.python.org/pypi/ejplugins/)
Parser plugins for the [jsonextended package](https://jsonextended.readthedocs.io) and validation schema, to convert
output files from materials simulation packages to a JSON format.
## Usage
>> pip install ejplugins
or, to use Pymatgen and ASE parsers:
>> pip install ejplugins[science]
Either use independently:
```python
from ejplugins.qespresso import QEmainPlugin
with open("path/to/my.qe.out") as f:
output = QEmainPlugin.read_file(f)
```
Or with `jsonextended`:
```python
from ejplugins.qespresso import QEmainPlugin
from jsonextended import plugins, ejson
plugins.load_plugin_classes([QEmainPlugin])
ejson.to_dict("path/to/qespresso/outputs")
```
See ejplugins/test_files for example input/outputs.
نیازمندی
| مقدار | نام |
|---|---|
| >=0.6.4 | jsonextended |
| - | pathlib2 |
| - | jsonschema |
| - | pint |
| - | numpy |
| - | pymatgen |
| - | ase |
نحوه نصب
نصب پکیج whl ejplugins-0.9.7:
pip install ejplugins-0.9.7.whl
نصب پکیج tar.gz ejplugins-0.9.7:
pip install ejplugins-0.9.7.tar.gz