Package biblio :: Package webquery :: Module bibrecord :: Class PersonalName
[hide private]
[frames] | no frames]

Class PersonalName

source code

  object --+    
           |    
impl.ReprObj --+
               |
              PersonalName

A name, as used for authors and editors.

The terms 'given', 'other' and 'family' are used in preference to other schemes, as they are more culture-neutral and do not assume any particular ordering.

given
The first / christian or forename, e.g. 'John'.
other
Any middle names, e.g. 'James Richard'.
family
surname, last name, e.g. 'Smith'.
Instance Methods [hide private]
 
__init__(self, given, other=None, family=None, title=None, prefix=None, suffix=None)
C'tor, requiring only the given name.
source code
 
__unicode__(self)
Return a readable formatted version of the name.
source code
 
__repr__(self)
Return a representation of this object.
source code

Inherited from impl.ReprObj: __str__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]
  _repr_fields = ['prefix', 'title', 'given', 'other', 'family',...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, given, other=None, family=None, title=None, prefix=None, suffix=None)
(Constructor)

source code 

C'tor, requiring only the given name.

Note that the only required argument is the given name, allowing single names (e.g. 'Madonna'). Also the order of positional arguments allows a a regular name to be passed as 'John', 'James', 'Smith'.

Overrides: object.__init__

__unicode__(self)

source code 
Return a readable formatted version of the name.
Overrides: impl.ReprObj.__unicode__

__repr__(self)
(Representation operator)

source code 
Return a representation of this object.
Overrides: object.__repr__

Class Variable Details [hide private]

_repr_fields

Value:
['prefix', 'title', 'given', 'other', 'family', 'suffix']