Skip to main content

LibMeshb Python wrapper to read/write *.mesh[b]/*.sol[b] file.

Project description

pymeshb

libMeshb Python 2&3 wrapper.

Overview

The pymeshb Python module provides read/write functions to handle the *.meshb file format. It is simply a Python wrapper of libMeshb.

Installation

From the Python Package Index

Please make sure that numpy is installed by typing

pip install -U numpy

pymeshb is available from the Python Package Index, so simply type

pip install -U pymeshb

to install or upgrade.

From sources

pip install -U numpy
git clone https://github.com/jvanharen/pymeshb
cd pymeshb
git submodule init
git submodule update
python setup.py install

Usage

import pymeshb
msh = pymeshb.read('in.meshb')
pymeshb.write(msh, 'out.meshb')

The read function simply returns a dictionary whose the keys are the keywords of the libmeshb library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymeshb-0.0.3.tar.gz (20.8 kB view hashes)

Uploaded Source

Built Distribution

pymeshb-0.0.3-py2.7-macosx-10.12-x86_64.egg (27.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page