sigs¶
SIG ¶
A special interest group (SIG).
Attributes:
| Name | Type | Description |
|---|---|---|
id |
str
|
The SIG ID, e.g. "sigsem". |
parent |
SIGIndex
|
The parent SIGIndex instance. |
acronym |
str
|
The SIG's acronym or short name, e.g. "SIGSEM". |
name |
str
|
The SIG's full name. |
url |
Optional[str]
|
A website URL for the SIG. |
external_meetings |
list[SIGMeeting]
|
A list of SIGMeeting instances recording meetings that are not part of the Anthology. |
item_ids |
set[AnthologyIDTuple]
|
An unordered set of volume IDs associated with this venue. |
SIGIndex ¶
Bases: SlottedDict[SIG]
Index object through which SIGs and their associated volumes can be accessed.
Provides dictionary-like functionality mapping SIG IDs to SIG objects.
Attributes:
| Name | Type | Description |
|---|---|---|
parent |
Anthology
|
The parent Anthology instance to which this index belongs. |
path |
Path
|
The path to |
no_item_ids |
bool
|
If set to True, skips parsing all XML files, which means the reverse-indexing of Volumes via |
is_data_loaded |
bool
|
A flag indicating whether the data file has been loaded and the index has been built. |
build ¶
build()
Load the entire Anthology data and build an index of SIGs.
Raises:
| Type | Description |
|---|---|
ValueError
|
If a volume lists a SIG ID that doesn't exist (i.e., isn't defined in |
create ¶
create(id, acronym, name, **kwargs)
Create a new venue and add it to the index.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id
|
str
|
The ID of the new SIG. |
required |
acronym
|
str
|
The acronym of the new SIG. |
required |
name
|
str
|
The name of the new SIG. |
required |
**kwargs
|
Any
|
Any valid optional attribute of SIG, with the exception of |
{}
|
Returns:
| Type | Description |
|---|---|
SIG
|
The created SIG object. |
Raises:
| Type | Description |
|---|---|
KeyError
|
If an invalid attribute is supplied in |