Skip to main content

midas-nx

Unified Python and JavaScript/TypeScript SDKs for the MIDAS NX Open API — both packages cover MIDAS Civil NX and MIDAS Gen NX from the same reviewed endpoint inventory.

Python (PyPI)

pip install midas-nx
from midas_nx import MidasClient, Product
from midas_nx.db.node_element import Node

client = MidasClient(mapi_key="your-mapi-key-here", product=Product.GEN)
print(client.verify_connection())
print(f"{len(Node.items(client=client))} node(s) in the current model.")

JavaScript / TypeScript (npm)

npm install midas-nx
import { MidasClient, resources } from "midas-nx";

const client = new MidasClient({
  mapiKey: process.env.MIDAS_MAPI_KEY,
  product: "gen",
});

await client.verifyConnection();
const nodes = await resources.db.nodeElement.node.items(client);
console.log(`${Object.keys(nodes).length} node(s) in the current model.`);

Risk level: 1 — read-only (see Risk levels). It can't create, change, or delete anything, so it's safe to run against a real model.

More examples, including ones that build a model: examples/python/. For the npm API and safety notes, see the packages/typescript guide. Full guide, safety notes, and API reference: Documentation site.


English

Built by a MIDAS IT employee, from hands-on verification against real Gen NX and Civil NX sessions. It's an employee-led open-source project — not an officially released or supported MIDAS IT product. Issues with this SDK go to GitHub Issues; questions about the products, licensing, or the Open API service itself go to MIDAS IT's official support channels.

The repository maintains both the Python package on PyPI and the typed JavaScript/TypeScript package on npm. New to Python? docs/en/quickstart.md walks through installing Python and running your first script.

한국어

midas-nx는 MIDAS Civil NX와 MIDAS Gen NX의 Open API를 Python(PyPI)과 JavaScript/TypeScript(npm) 패키지로 제공하는 SDK입니다. 두 패키지는 동일한 검토 완료 엔드포인트 목록을 기준으로 함께 유지보수합니다. 마이다스아이티 재직자가 실제 제품 검증 경험을 바탕으로 개발·관리하는 직원 주도형 오픈소스 프로젝트이며, 마이다스아이티가 공식적으로 출시·지원하는 제품은 아닙니다. SDK 자체의 문제는 GitHub Issues로, 제품·라이선스·Open API 서비스 자체에 대한 문의는 마이다스아이티 공식 지원 채널로 부탁드립니다.

Python이나 프로그래밍이 처음이신 구조 엔지니어는 한국어 퀵스타트 가이드에서 설치부터 첫 스크립트 실행까지 순서대로 안내받으실 수 있습니다.

繁體中文

midas-nx 將 MIDAS Civil NX 與 MIDAS Gen NX 的 Open API 提供為 Python (PyPI)及 JavaScript/TypeScript(npm)套件,兩者依據同一份經審核的端點清單 共同維護。由 MIDAS IT 員工根據實際產品驗證經驗開發維護,屬於 員工自主的開源專案,並非 MIDAS IT 官方發布或提供技術支援的產品。SDK 本身的問題請至 GitHub Issues; 產品、授權或 Open API 服務本身的問題,請洽 MIDAS IT 官方支援管道。

從未寫過 Python 的結構工程師,可參考 繁體中文快速入門指南, 內含從安裝 Python 到執行第一支腳本的完整步驟。

简体中文

midas-nx 将 MIDAS Civil NX 与 MIDAS Gen NX 的 Open API 提供为 Python (PyPI)及 JavaScript/TypeScript(npm)包,两者依据同一份经审核的端点清单 共同维护。由 MIDAS IT 员工基于实际产品验证经验开发维护,属于 员工自主的开源项目,并非 MIDAS IT 官方发布或提供技术支持的产品。SDK 本身的问题请提交至 GitHub Issues; 产品、授权或 Open API 服务本身的问题,请联系 MIDAS IT 官方支持渠道。

Python 新手可参考 快速入门指南(繁体中文版), 了解从安装 Python 到运行第一个脚本的完整步骤。


Learn more

Full docs & API reference Documentation site
JavaScript / TypeScript npm SDK packages/typescript/README.md
Building with an AI coding assistant instead of writing Python yourself Safe start
Known issues / safety notes — read before writing anything docs/safety.md
Endpoint implementation status ROADMAP.md
Contributing / dev setup CONTRIBUTING.md
Reporting a security issue SECURITY.md

License

MIT — see LICENSE.

Metadata

Release files for midas-nx 2.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for midas-nx 2.9.0
File Size Uploaded Provenance
midas_nx-2.9.0.tar.gz 1.8 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for midas-nx 2.9.0
File Interpreter ABI Platform
midas_nx-2.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / midas_nx-2.9.0.tar.gz

Download URL midas_nx-2.9.0.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
d852f1d8612f451c79c956e167a3f2d3807064abe6b36d6bf3a8c00231ac928f
BLAKE2b-256 checksum
How to use checksums
bbbb7de762227e8fe54dd30d22381256454fc673605b1531cf62a66e8fe575e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / midas_nx-2.9.0-py3-none-any.whl

Download URL midas_nx-2.9.0-py3-none-any.whl
Size 230.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ea934ce395573271f09b40abe48415ef421cc30d8336b48cc132289fed22d6a
BLAKE2b-256 checksum
How to use checksums
826ef5eae31edac73886af0524495c97dae32140cfc74d34cccf68ce8bccedef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Security for midas-nx 2.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for midas_nx-2.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

2.9.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page