imdb.Person

This module provides the Person class, used to store information about a given person.

class imdb.Person.Person(myID=None, data=None, notes='', currentRole='', roleID=None, roleIsPerson=False, accessSystem=None, titlesRefs=None, namesRefs=None, charactersRefs=None, modFunct=None, *args, **kwds)

A Person.

Every information about a person can be accessed as:

personObject['information']

to get a list of the kind of information stored in a Person object, use the keys() method; some useful aliases are defined (as “biography” for the “mini biography” key); see the keys_alias dictionary.

cmpFunct(p2)

Compare two people by billingPos, name and imdbIndex.

getID()

Return the personID.

isSameName(other)

Return true if two persons have the same name and imdbIndex and/or personID.

isSamePerson(other)

Return true if two persons have the same name and imdbIndex and/or personID.

set_name(name)

Set the name of the person.

summary()

Return a string with a pretty-printed summary for the person.