MIKE Core contains core libraries, like DFS (Data File System), EUM and more.
Project description
MIKE Core for Python
A project to facilitate use of the MIKE Core components with Python, targeting as well Windows as Linux.
The MIKE Core Python classes have an API which is almost identical to the MIKE Core .NET API, to the extend possible. Since Python does not support all the language constructions that .NET/C# does (as e.g. method overriding), the API's are not completely identical. Also, the number of classes in the Python version is also smaller, since Python classes can be formed while being used. However, the examples and documentation for the .NET/C# API is to a high degree applicable also for the use of MIKE Core Python. For details, visit:
This package is also intended for bringing MIKE IO on Linux.
Installation
Once published on PyPI...
pip install mikecore
Testing on Linux using Docker
git clone https://github.com/DHI/mikecore-python
cd mikecore-python
docker build . -t mikecore:latest
docker run mikecore:latest
Then you should get output like this:
============================= test session starts ==============================
platform linux -- Python 3.9.4, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /app
collected 68 items
tests/test_dfs0.py ........ [ 11%]
tests/test_dfs2.py .......... [ 26%]
tests/test_dfs_basic.py ..... [ 33%]
tests/test_dfs_custom_block.py .. [ 36%]
tests/test_dfs_static_item.py . [ 38%]
tests/test_dfsbuilder.py ...... [ 47%]
tests/test_dfsu2D.py .......... [ 61%]
tests/test_dfsu_file.py .......... [ 76%]
tests/test_eum.py .. [ 79%]
tests/test_mesh.py ... [ 83%]
tests/test_miketools.py . [ 85%]
tests/test_projections.py .......... [100%]
============================= 68 passed in 31.46s ==============================
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file mikecore-0.1.0.tar.gz
.
File metadata
- Download URL: mikecore-0.1.0.tar.gz
- Upload date:
- Size: 831.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21e54983af1e9ba5e7d61f96a735c84be4596471bd635ff4b988f3269c1eee46 |
|
MD5 | 6e7bf2bda57c074ccc91537ce2dd79c5 |
|
BLAKE2b-256 | c22c5ce960fe107ca64d7fe2d3c998b84f96a62155d1e0c56ba6b1a7d435b8af |
File details
Details for the file mikecore-0.1.0-py3-win32.whl
.
File metadata
- Download URL: mikecore-0.1.0-py3-win32.whl
- Upload date:
- Size: 845.0 kB
- Tags:
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227a86cc3fd3ff520b8408b58ba09e783b2cee130149a1cc83f333081d65b9b1 |
|
MD5 | b1924279dd8153a35ec9871ef90b564f |
|
BLAKE2b-256 | cf89981fa2b9bba8e117fea806db0fa9adc68c219730638b24b8a0ba09d8a469 |
File details
Details for the file mikecore-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mikecore-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 16.3 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57817dab39dc1b2a573b916545f22021e64e0d4ee247efbed84825296c7d77cd |
|
MD5 | 6aa61ff1781ae798f3ab9af167ea29ee |
|
BLAKE2b-256 | 350b734c80dd4eabeb56e8922737ac90fdcfd44652d3f3ef1bc55428a6ca475c |