Yet another mesh I/O
yamio aims to bridge meshio and pyhip.
Both projects support various formats for representing unstructured grids. Nevertheless, they were unable to communicate without loss of information. yamio extends meshio by adding treatment to boundary patches through extension of the meshio.Mesh object and by defining a direct writer to pyhip main format (.mesh.xmf). Additionally, yamio adds support for Ensight's gold files.
Install with
pip install yamio
The basic usage is very similar to meshio.
To read a mesh
import yamio
mesh = yamio.read(filename) # extension inferred
To write a mesh
import yamio
mesh = yamio.write(filename, mesh) # extension inferred
Additionally to meshio, the following formats are available: .mesh.xmf (pyhip main format) and .geo.
Note: after you have a .mesh.xmf mesh, you can rely on pyhip to do additional mesh conversions.
Release files for yamio 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yamio-0.1.3.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yamio-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.7 kB
Release files / yamio-0.1.3.tar.gz
| Download URL | yamio-0.1.3.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac6c1e0d2d43dbd88191b8415b6950c2c626b13dc6f8397a77ba2170232c0913
|
|
BLAKE2b-256 checksum How to use checksums |
f1b86d5dc6fbc9d2a0b10fd56748c3bd20f6dbfd7f8dc8b0a1a83787548a4a9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / yamio-0.1.3-py3-none-any.whl
| Download URL | yamio-0.1.3-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60bbc5f0ae140e5032ef9fe61c103cc371f25fa8dd1441940278343a859aadba
|
|
BLAKE2b-256 checksum How to use checksums |
8cb3f8406e0963ab7ac916625b7af5aaaa74b2d5841936d52039149354f67276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|