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.

Download files

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

Source Distribution

midas_nx-2.8.2.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

midas_nx-2.8.2-py3-none-any.whl (230.1 kB view details)

Uploaded Python 3

File details

Details for the file midas_nx-2.8.2.tar.gz.

File metadata

  • Download URL: midas_nx-2.8.2.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for midas_nx-2.8.2.tar.gz
Algorithm Hash digest
SHA256 b6b65f4152b1c46742b6cb060696a484e1cf80084671aae710a2abc7d2fa01e6
MD5 d6ca097537164ac51a29e3c5d5e8eeef
BLAKE2b-256 1ed0777ff7b4435225d4a3a1f4bb8ed6a62eb643164aec9b57f3a877d5961537

See more details on using hashes here.

Provenance

The following attestation bundles were made for midas_nx-2.8.2.tar.gz:

Publisher: publish.yml on Dennis5882/MIDAS-API-NX-SDK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file midas_nx-2.8.2-py3-none-any.whl.

File metadata

  • Download URL: midas_nx-2.8.2-py3-none-any.whl
  • Upload date:
  • Size: 230.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for midas_nx-2.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e73792ff49e753021c46f2fe37454100e91331e1cb42e24cdb52999985669e7
MD5 edf41b55649d1384f1f5c6ad18ea8d2d
BLAKE2b-256 3fb76ac56a15797c75424f21f5916c492ad2b697b5b1f7627320e0307ec8d456

See more details on using hashes here.

Provenance

The following attestation bundles were made for midas_nx-2.8.2-py3-none-any.whl:

Publisher: publish.yml on Dennis5882/MIDAS-API-NX-SDK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.8.2 This release

2 files

2.8.1

2 files

2.8.0

2 files

2.7.9

2 files

2.7.8

2 files

2.7.7

2 files

2.7.6

2 files

2.7.5

2 files

2.7.4

2 files

2.7.3

2 files

2.7.2

2 files

2.7.1

2 files

2.7.0

2 files

2.6.1

2 files

2.6.0

2 files

2.3.5

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.1

2 files

2.2.0

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.0.1

2 files

2.0.0

2 files

1.1.0

2 files

1.0.0

2 files

0.14.0

2 files

0.12.0

2 files

0.11.2

2 files

0.11.1

2 files

0.11.0

2 files

0.10.0

2 files

0.9.1

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

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