New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yamio

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yamio

A bridge between pyhip and meshio

  • 0.1.3
  • PyPI
  • Socket score

Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc