Skip to main content

Infrastructure DEfinitions

Project description

npm version License: Apache

ide

Infrastructure DEfinitions - ide - houses Infrastructure entity definitions for use in the Mat3ra platform.

Installation

For usage within a javascript project:

npm install @exabyte-io/ide

For development:

git clone https://github.com/Exabyte-io/ide.git

Contribution

This repository is an open-source work-in-progress and we welcome contributions.

We regularly deploy the latest code containing all accepted contributions online as part of the Mat3ra.com platform, so contributors will see their code in action there.

See ESSE for additional context regarding the data schemas used here.

Useful commands for development:

# run linter without persistence
npm run lint

# run linter and save edits
npm run lint:fix

# compile the library
npm run transpile

# run tests
npm run test

Using Linter

Linter setup will prevent committing files that don't adhere to the code standard. It will attempt to fix what it can automatically prior to the commit in order to reduce diff noise. This can lead to "unexpected" behavior where a file that is staged for commit is not identical to the file that actually gets committed. This happens in the lint-staged directive of the package.json file (by using a husky pre-commit hook). For example, if you add extra whitespace to a file, stage it, and try to commit it, you will see the following:

  repo-js git:(feature/cool-feature)  git commit -m "Awesome feature works great" Preparing...
✔ Running tasks...
✖ Prevented an empty git commit!
✔ Reverting to original state because of errors...
✔ Cleaning up...

   lint-staged prevented an empty git commit.
  Use the --allow-empty option to continue, or check your task configuration

husky - pre-commit hook exited with code 1 (error)

The staged change may remain but will not have been committed. Then it will look like you still have a staged change to commit, but the pre-commit hook will not actually commit it for you, quite frustrating! Styling can be applied manually and fixed by running:

npm run lint:fix

In which case, you may need to then add the linter edits to your staging, which in the example above, puts the file back to identical with the base branch, resulting in no staged changes whatsoever.

IDe

The IDe package sits adjacent to WoDe in the Mat3ra workflow ecosystem in that workflows are intended to be independent and de-coupled from the details of the computational parameters employed when executing a workflow. The main entities provided by IDe are not quite the same as other De libraries:

  • ComputedEntityMixin - provides methods for managing compute-specific parameters
  • RMSNotificationHandler - wrapped in an enum for email notifications

and are used in slightly different ways within WoDe and the platform directly.

Links

  1. Overview of the platform Infrastructure: https://docs.mat3ra.com/infrastructure/overview/
  2. Clusters in the infrastructure: https://docs.mat3ra.com/infrastructure/clusters/overview/
  3. Resource management overview: https://docs.mat3ra.com/infrastructure/resource/overview/

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

mat3ra_ide-2026.3.19.post0.tar.gz (100.1 kB view details)

Uploaded Source

Built Distribution

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

mat3ra_ide-2026.3.19.post0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file mat3ra_ide-2026.3.19.post0.tar.gz.

File metadata

  • Download URL: mat3ra_ide-2026.3.19.post0.tar.gz
  • Upload date:
  • Size: 100.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/8.8.0 pkginfo/1.12.1.2 requests/2.32.5 requests-toolbelt/1.0.0 tqdm/4.67.3 CPython/3.10.13

File hashes

Hashes for mat3ra_ide-2026.3.19.post0.tar.gz
Algorithm Hash digest
SHA256 380b2a9b8a2248f001e106bf32a8c7f9d932598cb68680c581c156846be7528b
MD5 dcfae3a8117dd750c26483fac5f74a68
BLAKE2b-256 fb7a20452de610c90c21a4eaaecaf3cf4ab33b13cf9afd26ed024fad7b535bb0

See more details on using hashes here.

File details

Details for the file mat3ra_ide-2026.3.19.post0-py3-none-any.whl.

File metadata

  • Download URL: mat3ra_ide-2026.3.19.post0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/8.8.0 pkginfo/1.12.1.2 requests/2.32.5 requests-toolbelt/1.0.0 tqdm/4.67.3 CPython/3.10.13

File hashes

Hashes for mat3ra_ide-2026.3.19.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e9122af4043fe2e7b1bc917a5940e1a986d8e767b5e8204a886971c460709f
MD5 28628dedefcda6ce0e06f98f3729571f
BLAKE2b-256 3f0d92f9f4d9f0df9c67fd7a1a29e8598b1dceebb39b044094e683314bb5bff0

See more details on using hashes here.

Supported by

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