landlab.cmd.authors

class Author[source]

Bases: object

__init__(name, email, aliases=None, alternate_emails=None)[source]
classmethod __new__(*args, **kwargs)
add_alias(alias)[source]
property aliases
property alternate_emails
property email
property emails
classmethod from_dict(attrs)[source]
property name
property names
to_toml()[source]
update(other)[source]
class AuthorList[source]

Bases: object

__init__(authors=None)[source]
classmethod __new__(*args, **kwargs)
add(name, email)[source]
find_author(name_or_email)[source]
classmethod from_csv(csv)[source]
classmethod from_toml(toml_file)[source]
update(other)[source]
class AuthorsConfig[source]

Bases: UserDict

__init__(*args, **kwds)[source]
classmethod __new__(*args, **kwargs)
clear() None.  Remove all items from D.
copy()
classmethod from_toml(toml_file)[source]
classmethod fromkeys(iterable, value=None)
get(k[, d]) D[k] if k in D, else d.  d defaults to None.
items() a set-like object providing a view on D's items
keys() a set-like object providing a view on D's keys
pop(k[, d]) v, remove specified key and return the corresponding

value. If key is not found, d is returned if given, otherwise KeyError is raised.

popitem()

Remove and return a (key, value) pair as a 2-tuple.

Removes pairs in the same order as the wrapped mapping’s popitem() method. For dict objects (the default), that order is last-in, first-out (LIFO). Raises KeyError if the UserDict is empty.

setdefault(k[, d]) D.get(k,d), also set D[k]=d if k not in D
update([E, ]**F) None.  Update D from mapping/iterable E and F.
If E present and has a .keys() method, does:

for k in E.keys(): D[k] = E[k]

If E present and lacks .keys() method, does:

for (k, v) in E: D[k] = v

In either case, this is followed by:

for k, v in F.items(): D[k] = v

values() an object providing a view on D's values
exception AuthorsSubprocessError[source]

Bases: Exception

__init__(*args, **kwargs)
classmethod __new__(*args, **kwargs)
add_note(note, /)

Add a note to the exception

args
with_traceback(tb, /)

Set self.__traceback__ to tb and return self.

class GitLog[source]

Bases: object

__init__(format)[source]
classmethod __new__(*args, **kwargs)