Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101204886
Pyblio.Attribute-module.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Feb 6, 18:58
Size
14 KB
Mime Type
text/xml
Expires
Sat, Feb 8, 18:58 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24112171
Attached To
R3596 pybliographer
Pyblio.Attribute-module.html
View Options
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"en"
lang=
"en"
>
<head>
<title>
Pyblio.Attribute
</title>
<link
rel=
"stylesheet"
href=
"epydoc.css"
type=
"text/css"
/>
<script
type=
"text/javascript"
src=
"epydoc.js"
></script>
</head>
<body
bgcolor=
"white"
text=
"black"
link=
"blue"
vlink=
"#204080"
alink=
"#204080"
>
<!-- ==================== NAVIGATION BAR ==================== -->
<table
class=
"navbar"
border=
"0"
width=
"100%"
cellpadding=
"0"
bgcolor=
"#a0c0ff"
cellspacing=
"0"
>
<tr
valign=
"middle"
>
<!-- Home link -->
<th>
<a
href=
"Pyblio-module.html"
>
Home
</a>
</th>
<!-- Tree link -->
<th>
<a
href=
"module-tree.html"
>
Trees
</a>
</th>
<!-- Index link -->
<th>
<a
href=
"identifier-index.html"
>
Indices
</a>
</th>
<!-- Help link -->
<th>
<a
href=
"help.html"
>
Help
</a>
</th>
<!-- Project homepage -->
<th
class=
"navbar"
align=
"right"
width=
"100%"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
>
<tr><th
class=
"navbar"
align=
"center"
>
pyblio-core 1.3.4
</th>
</tr></table></th>
</tr>
</table>
<table
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
>
<tr
valign=
"top"
>
<td
width=
"100%"
>
<span
class=
"breadcrumbs"
>
<a
href=
"Pyblio-module.html"
>
Package
Pyblio
</a>
::
Module
Attribute
</span>
</td>
<td>
<table
cellpadding=
"0"
cellspacing=
"0"
>
<!-- hide/show private -->
<tr><td
align=
"right"
><span
class=
"options"
>
[
<a
href=
"javascript:void(0);"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide
private
</a>
]
</span></td></tr>
<tr><td
align=
"right"
><span
class=
"options"
>
[
<a
href=
"frames.html"
target=
"_top"
>
frames
</a
>
]
|
<a
href=
"Pyblio.Attribute-module.html"
target=
"_top"
>
no
frames
</a>
]
</span></td></tr>
</table>
</td>
</tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1
class=
"epydoc"
>
Module Attribute
</h1><span
class=
"codelink"
><a
href=
"Pyblio.Attribute-pysrc.html"
>
source
code
</a></span><br
/><br
/>
<p>
Basic data types that can be used as attributes for a
<a
href=
"Pyblio.Store.Record-class.html"
class=
"link"
>
Record
</a>
.
</p>
Basic attributes of a record can be
<b>
qualified
</b>
by one or more
additional sub-attributes. For instance, an attribute
<i>
author
</i>
of
type
<a
href=
"Pyblio.Attribute.Person-class.html"
class=
"link"
>
Person
</a>
can have, for every Person instance, a sub-attribute of type
<a
href=
"Pyblio.Attribute.Date-class.html"
class=
"link"
>
Date
</a>
that
represents its birth date.
<br
/><br
/>
<!-- ==================== CLASSES ==================== -->
<a
name=
"section-Classes"
></a>
<table
class=
"summary"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr
bgcolor=
"#70b0f0"
class=
"table-header"
>
<td
colspan=
"2"
class=
"table-header"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
>
<tr
valign=
"top"
>
<td
align=
"left"
><span
class=
"table-header"
>
Classes
</span></td>
<td
align=
"right"
valign=
"top"
><span
class=
"options"
>
[
<a
href=
"#section-Classes"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide private
</a>
]
</span></td>
</tr>
</table>
</td>
</tr>
<tr
class=
"private"
>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute._Qualified-class.html"
class=
"summary-name"
>
_Qualified
</a><br
/>
Mix-in class that provides qualifiers to attributes, making them
behave like composite data types (but not arbitrarily nested data,
though)
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute.UnknownContent-class.html"
class=
"summary-name"
>
UnknownContent
</a><br
/>
An invalid type.
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute.Person-class.html"
class=
"summary-name"
>
Person
</a><br
/>
A person name.
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute.Date-class.html"
class=
"summary-name"
>
Date
</a><br
/>
A date.
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute.Text-class.html"
class=
"summary-name"
>
Text
</a><br
/>
Textual data
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute.URL-class.html"
class=
"summary-name"
>
URL
</a><br
/>
An URL
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute.ID-class.html"
class=
"summary-name"
>
ID
</a><br
/>
An external identifier
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute.Txo-class.html"
class=
"summary-name"
>
Txo
</a><br
/>
Element of a taxonomy.
</td>
</tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a
name=
"section-Variables"
></a>
<table
class=
"summary"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr
bgcolor=
"#70b0f0"
class=
"table-header"
>
<td
colspan=
"2"
class=
"table-header"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
>
<tr
valign=
"top"
>
<td
align=
"left"
><span
class=
"table-header"
>
Variables
</span></td>
<td
align=
"right"
valign=
"top"
><span
class=
"options"
>
[
<a
href=
"#section-Variables"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide private
</a>
]
</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
name=
"re_split"
></a><span
class=
"summary-name"
>
re_split
</span>
=
<code
title=
"re.compile(r'(?u)\W+')"
>
re.compile(r'
<code
class=
"re-flags"
>
(?u)
</code>
\W
<code
class=
"re-op"
>
+
</code>
')
</code>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute-module.html#N_to_C"
class=
"summary-name"
>
N_to_C
</a>
=
<code
title=
"{'date': <class 'Pyblio.Attribute.Date'>,
'id': <class 'Pyblio.Attribute.ID'>,
'person': <class 'Pyblio.Attribute.Person'>,
'text': <class 'Pyblio.Attribute.Text'>,
'txo': <class 'Pyblio.Attribute.Txo'>,
'url': <class 'Pyblio.Attribute.URL'>}"
><code
class=
"variable-group"
>
{
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
date
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
:
</code>
<
class 'Pyblio.Attribute.Date'
>
<code
class=
"variable-op"
>
,
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
id
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
:
</code>
<
clas
<code
class=
"variable-ellipsis"
>
...
</code></code>
</td>
</tr>
<tr>
<td
width=
"15%"
align=
"right"
valign=
"top"
class=
"summary"
>
<span
class=
"summary-type"
>
</span>
</td><td
class=
"summary"
>
<a
href=
"Pyblio.Attribute-module.html#C_to_N"
class=
"summary-name"
>
C_to_N
</a>
=
<code
title=
"{<class 'Pyblio.Attribute.Person'>: 'person',
<class 'Pyblio.Attribute.Date'>: 'date',
<class 'Pyblio.Attribute.Text'>: 'text',
<class 'Pyblio.Attribute.URL'>: 'url',
<class 'Pyblio.Attribute.ID'>: 'id',
<class 'Pyblio.Attribute.Txo'>: 'txo'}"
><code
class=
"variable-group"
>
{
</code>
<
class 'Pyblio.Attribute.Person'
>
<code
class=
"variable-op"
>
:
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
person
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
,
</code>
<
class
<code
class=
"variable-ellipsis"
>
...
</code></code>
</td>
</tr>
</table>
<!-- ==================== VARIABLES DETAILS ==================== -->
<a
name=
"section-VariablesDetails"
></a>
<table
class=
"details"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr
bgcolor=
"#70b0f0"
class=
"table-header"
>
<td
colspan=
"2"
class=
"table-header"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
>
<tr
valign=
"top"
>
<td
align=
"left"
><span
class=
"table-header"
>
Variables Details
</span></td>
<td
align=
"right"
valign=
"top"
><span
class=
"options"
>
[
<a
href=
"#section-VariablesDetails"
class=
"privatelink"
onclick=
"toggle_private();"
>
hide private
</a>
]
</span></td>
</tr>
</table>
</td>
</tr>
</table>
<a
name=
"N_to_C"
></a>
<div>
<table
class=
"details"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr><td>
<h3
class=
"epydoc"
>
N_to_C
</h3>
<dl
class=
"fields"
>
</dl>
<dl
class=
"fields"
>
<dt>
Value:
</dt>
<dd><table><tr><td><pre
class=
"variable"
>
<code
class=
"variable-group"
>
{
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
date
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
:
</code>
<
class 'Pyblio.Attribute.Date'
>
<code
class=
"variable-op"
>
,
</code>
<code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
id
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
:
</code>
<
class 'Pyblio.Attribute.ID'
>
<code
class=
"variable-op"
>
,
</code>
<code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
person
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
:
</code>
<
class 'Pyblio.Attribute.Person'
>
<code
class=
"variable-op"
>
,
</code>
<code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
text
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
:
</code>
<
class 'Pyblio.Attribute.Text'
>
<code
class=
"variable-op"
>
,
</code>
<code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
txo
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
:
</code>
<
class 'Pyblio.Attribute.Txo'
>
<code
class=
"variable-op"
>
,
</code>
<code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
url
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
:
</code>
<
class 'Pyblio.Attribute.URL'
>
<code
class=
"variable-group"
>
}
</code>
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<a
name=
"C_to_N"
></a>
<div>
<table
class=
"details"
border=
"1"
cellpadding=
"3"
cellspacing=
"0"
width=
"100%"
bgcolor=
"white"
>
<tr><td>
<h3
class=
"epydoc"
>
C_to_N
</h3>
<dl
class=
"fields"
>
</dl>
<dl
class=
"fields"
>
<dt>
Value:
</dt>
<dd><table><tr><td><pre
class=
"variable"
>
<code
class=
"variable-group"
>
{
</code>
<
class 'Pyblio.Attribute.Person'
>
<code
class=
"variable-op"
>
:
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
person
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
,
</code>
<
class 'Pyblio.Attribute.Date'
>
<code
class=
"variable-op"
>
:
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
date
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
,
</code>
<
class 'Pyblio.Attribute.Text'
>
<code
class=
"variable-op"
>
:
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
text
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
,
</code>
<
class 'Pyblio.Attribute.URL'
>
<code
class=
"variable-op"
>
:
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
url
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
,
</code>
<
class 'Pyblio.Attribute.ID'
>
<code
class=
"variable-op"
>
:
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
id
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-op"
>
,
</code>
<
class 'Pyblio.Attribute.Txo'
>
<code
class=
"variable-op"
>
:
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-string"
>
txo
</code><code
class=
"variable-quote"
>
'
</code><code
class=
"variable-group"
>
}
</code>
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<br
/>
<!-- ==================== NAVIGATION BAR ==================== -->
<table
class=
"navbar"
border=
"0"
width=
"100%"
cellpadding=
"0"
bgcolor=
"#a0c0ff"
cellspacing=
"0"
>
<tr
valign=
"middle"
>
<!-- Home link -->
<th>
<a
href=
"Pyblio-module.html"
>
Home
</a>
</th>
<!-- Tree link -->
<th>
<a
href=
"module-tree.html"
>
Trees
</a>
</th>
<!-- Index link -->
<th>
<a
href=
"identifier-index.html"
>
Indices
</a>
</th>
<!-- Help link -->
<th>
<a
href=
"help.html"
>
Help
</a>
</th>
<!-- Project homepage -->
<th
class=
"navbar"
align=
"right"
width=
"100%"
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
>
<tr><th
class=
"navbar"
align=
"center"
>
pyblio-core 1.3.4
</th>
</tr></table></th>
</tr>
</table>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%%"
>
<tr>
<td
align=
"left"
class=
"footer"
>
Generated by Epydoc 3.0beta1 on Thu Sep 13 21:54:18 2007
</td>
<td
align=
"right"
class=
"footer"
>
<a
href=
"http://epydoc.sourceforge.net"
>
http://epydoc.sourceforge.net
</a>
</td>
</tr>
</table>
<script
type=
"text/javascript"
>
<!--
// Private objects are initially displayed (because if
// javascript is turned off then we want them to be
// visible); but by default, we want to hide them. So hide
// them unless we have a cookie that says to show them.
checkCookie
()
// -->
</script>
</body>
</html>
Event Timeline
Log In to Comment