Skip to main content

nomad-polymerization-reactions

A NOMAD plugin providing schemas, search apps, and data transformation utilities. The plugin has been primarily developed for hosting polymerization datasets extracted from the literature in a NOMAD deployment.

Availability

The plugin is available on the central NOMAD deployment. You can use the polymerization search app to access entries from publicly available datasets. These entries are based on the PolymerizationReaction schema defined in this plugin.

Polymerization Reaction search app demo

Associated Work

The dataset curated using this plugin has been used in the copolymer-reactivity project to train machine-learning models for classifying copolymerization types.

Installation

Install the package in your local environment with pip:

pip install nomad-polymerization-reactions

Adding this plugin to NOMAD Oasis

The plugin can be added to a NOMAD Oasis instance in a few steps, provided that you have access to the repository hosting the Oasis.

Read the NOMAD plugin documentation for all details on how to deploy the plugin on your NOMAD Oasis instance. If you want to get started with a new Oasis, read the installation guide.

Using the CLI for data transformation

The package provides utility functions for transforming JSON files into NOMAD entry archives. These archives have archive.json ending and are processed by NOMAD once uploaded. The m_def key in the archives helps NOMAD to identify which data schema to use (defined in schema_packages / polymerization.py).

Here's how you can convert a JSON file(s) into NOMAD entry archive(s) using the CLI command nomad-polymerization archive:

# create an archive with `Monomer` schema
nomad-polymerization archive monomer.json

# create an archive with `PolymerizationReaction` schema
nomad-polymerization archive polymerization_reaction.json --mode polymerization

# provide multiple filepaths or directory paths to convert multiple JSONs
nomad-polymerization archive /folder/poly1.json /folder/poly2.json  --mode polymerization
nomad-polymerization archive /folder --mode polymerization

# By default, the command creates archives in the current working directory. To create archives
# in the same directory as the JSONs, use `same-dir` flag:
nomad-polymerization archive /folder/monomer.json --same-dir

The JSON files used for transformation should have a fixed format. You can find the data models for JSON files in models.py.

License

Apache 2.0 - see LICENSE.

Metadata

Release files for nomad-polymerization-reactions 1.0.2

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

Source distribution (sdist)

Source distribution for nomad-polymerization-reactions 1.0.2
File Size Uploaded Provenance Actions
nomad_polymerization_reactions-1.0.2.tar.gz 3.0 MB Without provenance Details for nomad_polymerization_reactions-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nomad-polymerization-reactions 1.0.2
File Interpreter ABI Platform Actions
nomad_polymerization_reactions-1.0.2-py3-none-any.whl Python 3 none any Details for nomad_polymerization_reactions-1.0.2-py3-none-any.whl

Total release size: 3.0 MB

Release files / nomad_polymerization_reactions-1.0.2.tar.gz

Download URL nomad_polymerization_reactions-1.0.2.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
556ed1544d756351fdc6f37afb0a5b430298f1be08b8292234828850a880d1e0
BLAKE2b-256 checksum
How to use checksums
563d5889d7b377a82b957ba4d9c28cb806f784bc7ac7d1b3b0132ae0536aa7b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / nomad_polymerization_reactions-1.0.2-py3-none-any.whl

Download URL nomad_polymerization_reactions-1.0.2-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ab1cdbd92d8e238b54beaf49656ca7b60c9e46397091f7c263a0ef25e51a0e3
BLAKE2b-256 checksum
How to use checksums
5cfab9d9f5c832ab7568f9032b03d898f7b54cb76ac27251d0a116491f2b1d5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for nomad-polymerization-reactions 1.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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