ndmanager.IAEA#

class ndmanager.IAEA(nocache=False)[source]#

A class the manage IAEA’s database of nuclear data libraries

Returns:

An IAEA object

Return type:

IAEA

from_json(path)[source]#

Build the database from a json file

Parameters:

path (str | Path) – The path to the json file

Return type:

None

from_website()[source]#

Parse the IAEA website to retrieve the database

Return type:

None

static is_cached()[source]#

Check that the cached database exists in the user’s ~/.config/ndmanager directory

Returns:

Wether the cache file exists

Return type:

bool

keys()[source]#

The list of available libraries in the database

Returns:

List of libraries

Return type:

List[str]

to_json(p)[source]#

Export the database to the json format

Parameters:

p (str | Path) – The path to write the database to

Return type:

None