cimpyorm-0.9.4
توضیحات
A database-backed ORM for CIM datasets.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cimpyorm-0.9.4 |
| نام | cimpyorm |
| نسخه کتابخانه | 0.9.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Thomas Offergeld |
| ایمیل نویسنده | t.offergeld@iaew.rwth-aachen.de |
| آدرس صفحه اصلی | http://www.iaew.rwth-aachen.de |
| آدرس اینترنتی | https://pypi.org/project/cimpyorm/ |
| مجوز | - |
## Installation
###### PyPI:
```pip install cimpyorm```
---
##### Documentation
Some documentation can be found at [readthedocs](https://cimpyorm.readthedocs.io/en/latest/).
---
## Usage
```python
import cimpyorm
```
---
##### Loading datasets from cimpyorm-.db file
```python
session, m = cimpyorm.load(r"Path/To/DatabaseFile") # Load an existing .db file
```
---
##### Parsing datasets
```python
session, m = cimpyorm.parse(r"Path/To/Folder/Containing/Export") # Parse a .xml export (also creates a cimpyorm-.db file of the export)
```
To configure additional schemata (currently only the schema for the CGMES profiles are distributed
with the application), create additional subfolders in the ```/res/schemata/``` directory
containg the schema RDFS.
---
##### Running the tests
You can run the included test-suite by running ```cimpyorm.test_all()```.
---
##### Querying datasets
```python
all_terminals = session.query(m.Terminal).all()
names_of_ConductingEquipment = [t.ConductingEquipment.name for t in all_terminals]
```
---
## Bug reports/feature requests
Please use the Issue Tracker.
نیازمندی
| مقدار | نام |
|---|---|
| - | Click |
| - | sqlalchemy |
| - | networkx |
| - | numpy |
| - | lxml |
| - | pandas |
| - | tabulate |
| - | tqdm |
| <0.7.0 | defusedxml |
نحوه نصب
نصب پکیج whl cimpyorm-0.9.4:
pip install cimpyorm-0.9.4.whl
نصب پکیج tar.gz cimpyorm-0.9.4:
pip install cimpyorm-0.9.4.tar.gz