particula.dynamics.chemistry.catalog.bundle
Install the prebuilt reaction catalog from a versioned catalog release.
Attributes
| Name | Description |
|---|---|
ASSET | No description. |
DOWNLOAD_URL | No description. |
FORMAT | No description. |
RELEASES_API | No description. |
TAG_PREFIX | No description. |
VERSION_PATTERN | No description. |
Functions
| Name | Description |
|---|---|
_download | Download both assets from the selected catalog tag and verify the ZIP. |
_install_snapshot | No description. |
catalog_tag | Return the stable GitHub release tag for a catalog data version. |
install_release | Index every released source entry and native conversion atomically. |
latest_version | Find the highest stable catalog version across release pages. |
ASSETattributemodule attribute#
ASSET = 'particula-chemistry-catalog.zip'DOWNLOAD_URLattributemodule attribute#
DOWNLOAD_URL = 'https://github.com/uncscode/particula/releases/download'FORMATattributemodule attribute#
FORMAT = 'particula.chemistry-catalog/2'RELEASES_APIattributemodule attribute#
RELEASES_API = 'https://api.github.com/repos/uncscode/particula/releases'TAG_PREFIXattributemodule attribute#
TAG_PREFIX = 'chemistry-catalog-v'VERSION_PATTERNattributemodule attribute#
VERSION_PATTERN = '(?:0|[1-9][0-9]*)(?:\\.(?:0|[1-9][0-9]*)){2}'_downloadfunction#
def _download(archive, tag)Download both assets from the selected catalog tag and verify the ZIP.
_install_snapshotfunction#
def _install_snapshot(db, snapshot, data)catalog_tagfunction#
def catalog_tag(version)Return the stable GitHub release tag for a catalog data version.
install_releasefunction#
def install_release(catalog, version=None)Index every released source entry and native conversion atomically.
latest_versionfunction#
def latest_version()Find the highest stable catalog version across release pages.