Skip to content

particula.dynamics.chemistry.catalog.bundle

Install the prebuilt reaction catalog from a versioned catalog release.

Attributes

NameDescription
ASSETNo description.
DOWNLOAD_URLNo description.
FORMATNo description.
RELEASES_APINo description.
TAG_PREFIXNo description.
VERSION_PATTERNNo description.

Functions

NameDescription
_downloadDownload both assets from the selected catalog tag and verify the ZIP.
_install_snapshotNo description.
catalog_tagReturn the stable GitHub release tag for a catalog data version.
install_releaseIndex every released source entry and native conversion atomically.
latest_versionFind 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.