orthonym.data.metal_scope#
Note
Internal API. Names and behaviour may change between releases.
Which metals the engine names beside organic ions, and by which mechanism.
One table, METAL_SCOPE. The key is an element symbol. The value says which naming
mechanisms the metal is admitted to (mechanisms) and which charges a cation of the metal
may carry (valences). A metal without an entry is admitted to no mechanism, so a salt or
an adduct that holds it is not composed from its ions. Admitting a metal to a mechanism is an
edit of this table, followed by a panel measurement; the producers behind a mechanism still hold
per-metal data of their own (element names, stems, the organyl rules of Group 12), and the panel
measurement is what shows that a new metal has an entry in each.
Mechanisms (each is a constant below; a task that builds a mechanism adds its constant):
ION_SALTSa net-neutral salt, or a charged assembly, of the metal cation with organic ions is named from its ions: a binary salt or an adduct at the best-effort tier.
CARBANION_SALTSthe same for an assembly that also holds a carbanion or a hydride. Such an assembly is an organometallic compound for the metal; the Blue Book’s definition is “Organometallic compounds are compounds having at least one bond between one metal atom and one carbon atom.” INTRODUCTION). A metal without this mechanism is never composed with a carbanion or a hydride. The hydride ion is cited as ‘hydride’ in the salt of such a metal (
rules.metal_atoms.inorganic_anion_word), the salt of an anion with a cation ‘followed by that of the anion’, the Blue Book).ELEMENTthe atom, the ions and the isotopes of the metal are named by the element name, the charge number of an ion and the nuclide symbol of an isotope (‘zinc’, ‘zinc(2+)’, ‘(65Zn)zinc’): the charge number is the notation of ‘pentaammine(ethyl)osmium(1+) chloride’, the Blue Book) and the nuclide symbol is “enclosed in parentheses… before the part of the compound that is isotopically substituted”,:43718). The Blue Book gives such a name no PIN: PREFERRED IUPAC NAMES (:2056) labels “the names of compounds whose parent hydride contains at least one of the following elements: B, Si,… At, and that also contain at least one carbon atom in their structure”. The producer is
rules.metal_atoms.lone_atom_name, which names the lone atoms of the other elements too; the class of the dispatch table isELEMENT_ATOM. Every metal of the table is admitted (lane LONE, 2026-11-01).DISCONNECTa drawing in which the metal is joined to non-carbon atoms by single bonds is named through its ionic drawing, the one a charge-conserving heterolytic disconnection of those bonds gives (the metal gains one positive charge per bond, the other atom one negative charge), when both drawings have the same standard InChIKey. Structures for Lewis ‘adducts’, “One of the fundamental principles of organic chemical nomenclature is to name the structure that is drawn”, so the drawing as written is named as well and the better of the two names ships.
CONNECT_ANIONa drawing in which a cation of the metal carries a metal-carbon bond and is drawn beside the free anion that neutralises it (
[Cl-].[Zn+]c1ccccc1) is named through its bonded drawing, the one that joins the donor atom of the anion to the metal (Cl[Zn]c1ccccc1), when both drawings have the same standard InChIKey: the reverse ofDISCONNECT, for the bond to the anion and not for the bond to carbon. The Blue Book names a compound with a bond between a metal and carbon as an organometallic compound INTRODUCTION), and asks for the structure that is drawn, so the drawing as written is named as well and the better of the two names ships.BONDED_NAMESa drawing in which the metal is bonded to terminal atoms, to organyl groups and to hydrogen, or carries a charge, is named as a complex: “Compounds are named by citing the names of ligands, including hydrogen atom(s), in alphanumerical order, followed by the name of the metal. The presence of hydrogen attached to a metal atom must always be indicated by the prefix ‘hydrido’”
Compounds with at least one metal-carbon single bond), and “names for substituent
groups as defined in Section can also be used as ligand names” Definitions of terms). The terminal ligands are the prefixes of
TERMINAL_LIGAND_PREFIXESindata/organometallics.py(hydrido, hydroxy, sulfanyl, amino, oxo, sulfanylidene); a charge is the closing charge number of the complex, as in ‘pentaammine(ethyl)osmium(1+)’. The producer isrules.organometallics._assemble_bonded_metal_name. A halide beside a multiply bonded ligand is cited with the book’s ligand word (‘dichlorido(methylidene)titanium’,: an anion name ending in ‘ide’ ends in ‘ido’ as a ligand; the active OPSIN reads it through its ‘chloro’ twin,validation.halido_twin), and a multiplied halide, hydrido, oxo, hydroxy or amino ligand takes no enclosing marks (‘benzylidenedichloridoruthenium’, . The Blue Book gives no PIN for such a compound: “Coordination nomenclature is the primary nomenclature method used to name organometallic compounds containing elements of Groups 3 through 12”, and PREFERRED IUPAC NAMES gives the label “PIN” to “the names of compounds whose parent hydride contains at least one of the following elements: B, Si, Ge, Sn, Pb, N, P, As, Sb, Bi, O, S, Se, Te, Po, F, Cl, Br, I, At, and that also contain at least one carbon atom in their structure”: zinc is none of those elements.AMMINEa neutral molecule of ammonia in an assembly whose every true metal is admitted here is cited as the component ‘ammonia’ of a adduct (‘ammonia—zinc(2+) (4/1)’ for
[Zn+2].N.N.N.N). The table of the other single-atom components holds no bare nitrogen, because a bare nitrogen fragment is more often a perception artefact than an ammonia of crystallisation; beside a metal that is admitted here it is cited as ‘ammonia’ (an ammine ligand of zinc or a bonded metal, ammonia of crystallisation beside an ion of Groups 1 and 2, granted 2026-11-18): in an ionic, bonded (‘butyllithium—ammonia (1/1)’), neutral-atom or other-drawing name of the assembly alike. The Blue Book gives such a name no PIN: “preferred IUPAC names cannot be assigned to mixed adducts because preferred IUPAC names have not yet been determined for inorganic components” Mixed organic - inorganic adducts), and “The common names water, ammonia,… are used in these recommendations but their use as preferred IUPAC names is deferred… thus, no PIN label will be assigned in names including them (see “ Retained names). The coordination name cites the ligand as ‘ammine’ Definitions of terms); OPSIN 2.9.0 does not read it, so the adduct cites the name of the molecule. The producer isrules.metal_atoms.ammine_component_names, read byrules.adducts.name_adductat the tiers that build an adduct of ions (complete and best-effort).MACROCYCLEthe porphyrin dianion of a complex of the metal is cited on the porphyrin parent, as
porphyrin-21,23-diidewith the substituent prefixes before it (‘zinc 5,10,15,20-tetraphenylporphyrin-21,23-diide’), in an assembly whose every true metal is admitted here. “An anion derived formally by the removal of one or more hydrons from any position of a neutral parent hydride is preferably named by using the suffix ‘-ide’… Numerical prefixes ‘di’, ‘tri’, etc. are used to denote multiplicity; locants identify positions of the negative charges”Anions derived from parent hydrides and their derivatives, the Blue Book), and the parent hydride
porphyrinimplies its two N-H on N21 and N23 (the tetrapyrrole recommendations.1 thatcites). The Blue Book gives such a name no PIN: “Preferred IUPAC names (PINs) are not
identified for the compounds in this Chapter” INTRODUCTION,:50943; the porphyrin parent belongs to, and this sentence covers magnesium as well), and “Coordination nomenclature is the primary nomenclature method used to name organometallic compounds containing elements of Groups 3 through 12”, :39753). The producer is
rules.porphyrin.name_porphyrin_dianion;rules.metal_macrocyclesreads this table, andrules.salts.name_saltandrules.adducts.name_adductread that module, at the tiers that name ions (the best-effort flags). Without the mechanism the ligand is named by the general engine.DATIVEa drawing in which the metal is the acceptor of dative bonds (
CC(=O)[O-]->[Zn+2]<-[O-]C(C)=O) is named through the same drawing without those bonds, the split drawing: the donor keeps its lone pair, the metal keeps its charge, and nothing else changes. RDKit gives a drawing with dative bonds no standard InChIKey, so the split drawing’s key is the reference key of the name’s read-back, and an independent count of atoms and charges between the two drawings (perception.metals.atom_and_charge_ledger_ok, no charge moved) ties it to the drawing given. Structures for Lewis ‘adducts’ draws the ‘dative’ bond as structure (I) and says “One of the fundamental principles of organic chemical nomenclature is to name the structure that is drawn”, so a name reached through the split drawing is not the name of the structure drawn: it is labelled below the PIN, and the default tier declines it. The split drawing is then treated as any drawing (DISCONNECTapplies to its metal-heteroatom single bonds). The row says how the name was checked:verifiedisopsin_split.ZERO_VALENTan assembly in which a neutral atom of the metal stands beside charged components (
[Ir]beside three carbanions,[Zn].[Cl-].[Cl-]) is named as a adduct of its components with the atom cited with the oxidation number zero (‘iridium(0)’), at the best-effort tier only: a reader of ‘zinc—chloride (1/2)’ balances the charges itself and reads zinc(2+), ‘zinc(0)—chloride (1/2)’ reads the neutral atom drawn. User decision 2026-10-30: such literal names are wanted for PubChem’s neutral-metal drawings (it replaces decision 2 of 2026-10-13, no producer for a neutral atom beside anions). The producer isrules.adducts._zero_metal_name, tried only when the name without the zero does not read back to the drawing; the name is never a PIN, the Blue Book). The metals admitted are the ones the panel of the lane measured (internal notes).PARENT_HYDRIDE_IONSa cation of the metal whose bonds and hydrogens make up one less than its standard bonding number, or an anion whose bonds and hydrogens make up one more (‘alumanuide’, ‘methylalumanuide’; “ANIONS FORMED BY ADDITION OF HYDRIDE IONS”, the Blue Book, ‘lithium tert-butylbis(2-methylpropyl)alumanuide’,:41118; user decision 2026-11-18, replacing the trivial ‘aluminohydride’), is named on the mononuclear parent hydride of the metal, as a silicon or germanium centre is: “silane, SiH4, germane, GeH4, stannane, SnH4, and plumbane, PbH4… by replacing the ‘ane’ ending… by the suffix ‘ylium’” Cationic centers in parent hydrides, the Blue Book; ‘triphenylsilylium (PIN)’,:41557). The Blue Book names the organic compounds of tin and lead substitutively, on ‘stannane’ and ‘plumbane’, and gives them PINs, so such a metal is admitted to the mechanisms that keep the substitutive name: this one,
CONNECT_ANION(the bonded drawing of an organotin cation beside its anions is a substituted stannane) andZERO_VALENT; never toDISCONNECTorBONDED_NAMES, whose coordination names the book does not use for these elements. The producer isrules.group14_centres.emit_group_ylium.RECONNECT_RADICALa drawing in which the one metal atom has no bond and each carbon that lost its bond to it is drawn as a radical (
[CH]1CC1.[Br-].[Mg+],[Li].CCC[CH2]) is named through its bonded drawing, the one that joins each such carbon to the metal by a single bond and takes its radical electron ([Mg+]C1CC1.[Br-],CCCC[Li]), when both drawings have the same standard InChIKey and an independent count of atoms, charges and radical electrons agrees (perception.metals.atom_and_charge_ledger_okwithmoved_radical). The sites are those ofperception.metals.radical_join_sites: carbon radicals with one radical electron each, and the metal’s formal charge plus the new bonds one of itsvalences. The bonded drawing is then treated as any drawing (CONNECT_ANIONapplies to it). The Blue Book names a compound with a bond between a metal and carbon as an organometallic compound INTRODUCTION), and asks for the structure that is drawn, so the drawing as written is named as well and the name of the bonded drawing is labelled below the PIN.
A metal is complete when the plan of its phase is done: every drawing of its compounds (ionic,
bonded, dative, an atom or an ion) is attempted by the mechanisms above, so an input of it that no
producer names fails for want of a name and not for want of support of the element. The failure
label of such an input is UNNAMEABLE and not UNSUPPORTED_ELEMENT
(errors.classify_failure_limit, through has_complete_scope). The elements of Groups 1 and 2
are admitted to ION_SALTS, CARBANION_SALTS, ZERO_VALENT, ELEMENT, RECONNECT_RADICAL and AMMINE
(magnesium also to MACROCYCLE, DISCONNECT, CONNECT_ANION and BONDED_NAMES, lithium to caesium and the
other Group 2 metals also to DISCONNECT) and are not complete: their failures keep their label.
The valences are the charges of the cation that a rewrite of the structure may give the metal
(a heterolytic disconnection of a metal-ligand bond adds one positive charge to the metal; the
cation that a metal with its bonds would give if every one of them were broken is its formal
charge plus its number of bonds). The Group 1 elements carry +1 and the Group 2 elements +2; zinc
carries +2. The metals of BONDED_METAL_VALENCES (Al, Hg, Pd, Pt, Ru, Ti, V, W) and of
MORE_BONDED_METAL_VALENCES (38 more) are admitted to every mechanism zinc has, with the charges listed there,
and are not complete; the ions of RETAINED_ION_METALS that have a retained name keep it. The metals of
ELEMENT_ONLY_METALS are admitted to ELEMENT and ZERO_VALENT alone.
- class orthonym.data.metal_scope.MetalScope(mechanisms, valences, complete=False)#
Bases:
objectThe mechanisms a metal is admitted to and the cation charges it may carry.
- mechanisms: FrozenSet[str]#
- valences: FrozenSet[int]#
- complete: bool = False#
- orthonym.data.metal_scope.GROUP_1 = ('Li', 'Na', 'K', 'Rb', 'Cs', 'Fr')#
the Blue Book’s INTRODUCTION counts them with the transition elements for the status of the names of organometallic compounds
- Type:
the elements of Groups 1 and 2
- orthonym.data.metal_scope.GROUP_1_DISCONNECT = ('Li', 'Na', 'K', 'Rb', 'Cs')#
the Group 1 metals admitted to
DISCONNECT(program 22, 2026-11-09)
- orthonym.data.metal_scope.GROUP_2_DISCONNECT = ('Be', 'Ca', 'Sr', 'Ba', 'Ra')#
the Group 2 metals admitted to
DISCONNECT(ChEBI lane C5, 2026-11-20; magnesium has its own entry; radium for ChEBI’s radium dichloride)
- orthonym.data.metal_scope.ZERO_VALENT_METALS = ('Ir', 'Y', 'Pt', 'Fe', 'W', 'Zr', 'Ti', 'V', 'Pd', 'Hf', 'Co', 'U', 'Ni', 'Al', 'Cu', 'Ru', 'Re', 'Rh', 'Sn', 'Mn', 'Mo', 'Cr', 'Rf', 'Au', 'Pb', 'Ac', 'Ag', 'Fm')#
the 28 of the 30 most frequent metals of PubChem’s neutral-atom drawings that the panel of the lane named with no wrong name (Ar and Bi named none)
- Type:
the metals admitted to
ZERO_VALENTalone
- orthonym.data.metal_scope.GROUP_13_HYDRIDE_METALS = ('Al', 'Ga', 'In', 'Tl')#
their cation drawn beside its anion is joined to it (
CONNECT_ANION,perception.metals); an ion keeps the metal name- Type:
the Group 13 metals named on their parent hydrides (‘trimethylalumane’,, the Blue Book)
- orthonym.data.metal_scope.ALL_MECHANISMS = frozenset({'ammine', 'bonded_names', 'carbanion_salts', 'connect_anion', 'dative', 'disconnect', 'element', 'ion_salts', 'macrocycle', 'reconnect_radical', 'zero_valent'})#
the ones zinc is admitted to
- Type:
every mechanism above
- orthonym.data.metal_scope.BONDED_METAL_VALENCES = {'Al': (3,), 'Hg': (1, 2), 'Pd': (2, 4), 'Pt': (2, 4, 6), 'Ru': (2, 3, 4, 6), 'Ti': (2, 3, 4), 'V': (2, 3, 4, 5), 'W': (4, 5, 6)}#
the lane of 2026-10-30 measured them on a panel of their bonded, dative and ionic drawings (internal notes metal-bonded/`) with no wrong name. The still-unnamed PubChem study of 2026-11-11 added the common oxidation states its sane bonded drawings carry (Ru 4 and 6, Ti 2, V 2, W 5, Pd 4, Pt 6 here; Ni 3 and 4, Cr 4, Ir 4, Ag 2, Rh 2, Re 4, Zr 2 and 3, Os 6, Sm 2, Nb 3, Tm 2 below), measured on the panel internal notes; charges a metal hardly takes (Ti 6, Ru 1, Pd 1, Fe 1) stay out, because a standard InChIKey does not bound the charge of a metal. They are not
complete: their eta and multiply bonded ligands have no producer yet, so their failures keep their label.- Type:
the metals of PubChem’s bonded drawings admitted to every mechanism, with the charges of their cations
- orthonym.data.metal_scope.MORE_BONDED_METAL_VALENCES = {'Ag': (1, 2, 3), 'Au': (1, 3, 5), 'Cd': (2,), 'Ce': (3, 4), 'Co': (2, 3), 'Cr': (2, 3, 4, 5, 6), 'Cu': (1, 2), 'Dy': (3,), 'Er': (3,), 'Eu': (2, 3), 'Fe': (2, 3), 'Ga': (3,), 'Gd': (3,), 'Hf': (4,), 'Ho': (3,), 'In': (3,), 'Ir': (1, 3, 4), 'La': (3,), 'Lu': (3,), 'Mn': (2, 3), 'Mo': (2, 3, 4, 5, 6), 'Nb': (3, 5), 'Nd': (3,), 'Ni': (2, 3, 4), 'Os': (2, 3, 4, 6), 'Pr': (3,), 'Re': (1, 3, 4, 5, 7), 'Rh': (1, 2, 3), 'Sc': (3,), 'Sm': (2, 3), 'Ta': (5,), 'Tb': (3,), 'Tl': (1, 3), 'Tm': (2, 3), 'U': (3, 4, 5, 6), 'Y': (3,), 'Yb': (2, 3), 'Zr': (2, 3, 4)}#
the metals of the second panel of the lane (2026-10-30, 38 metals of PubChem’s unnamed metal drawings, no wrong name), and uranium (2026-10-31): every mechanism zinc has, with the charges of their cations. Not complete. The ChEBI lane C1 (2026-11-20) added Cr 5, Ag 3 and Au 5 for ChEBI’s chromium pentafluoride, silver trifluoride and gold pentafluoride, measured on the metal panel of the lane.
- orthonym.data.metal_scope.RETAINED_ION_METALS = frozenset({'Ag', 'Au', 'Co', 'Cr', 'Cu', 'Fe', 'Mn', 'Ni'})#
data.ion_retained_names, INORGANIC_CATIONS). They are admitted toELEMENTfor the atom and for the ions without such a name (‘copper’, ‘iron(6+)’); the ion of a retained name keeps it (rules.metal_atoms.lone_atom_name)- Type:
metals whose ions have a retained name of their own (‘copper(II)’, ‘iron(III)’
- orthonym.data.metal_scope.ELEMENT_ONLY_METALS = ('Tc', 'Pm', 'Th', 'Pa', 'Np', 'Pu', 'Am', 'Cm', 'Bk', 'Cf', 'Es', 'Md', 'No', 'Lr', 'Db', 'Sg', 'Bh', 'Hs', 'Mt', 'Ds', 'Rg', 'Cn')#
the f-block elements, technetium and the superheavy metals. Lane LONE (2026-11-01) admits them to
ELEMENT, measured on the 1,326 lone-atom compounds of PubChem (internal notes) with no wrong name; the PubChem still-unnamed lane (2026-11-23) toZERO_VALENTtoo (‘curium(0)’ beside ions, which OPSIN reads as the neutral atom drawn), measured on its panel- Type:
the metals no other mechanism admits
- orthonym.data.metal_scope.has_mechanism(symbol, mechanism)#
True when the metal
symbolis admitted tomechanism; False for an unknown symbol.
- orthonym.data.metal_scope.has_valence(symbol, charge)#
True when a cation of the metal
symbolmay carrycharge; False for an unknown symbol.
- orthonym.data.metal_scope.is_named_metal(symbol)#
True when the metal
symbolis admitted to at least one mechanism other thanZERO_VALENTandELEMENT(a metal admitted to those alone has no name for its complexes or its salts: the failures of its assemblies keep the labelUNSUPPORTED_ELEMENT).
- orthonym.data.metal_scope.is_complete_metal(symbol)#
True when the metal
symboliscomplete(see the module docstring); False for an unknown symbol.
- orthonym.data.metal_scope.has_complete_scope(symbols)#
True when every element of
symbolsis a metal admitted to at least one mechanism and at least one of them is complete: an input made of these elements that no producer names is the engine’s gap, not an unsupported element. False for an empty set, for an element the table does not know and for metals none of which is complete (the elements of Groups 1 and 2 alone).