Page MenuHomec4science

Pyblio.Attribute-module.html
No OneTemporary

File Metadata

Created
Thu, Feb 6, 18:58

Pyblio.Attribute-module.html

<?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>&nbsp;&nbsp;&nbsp;<a
href="Pyblio-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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&nbsp;Pyblio</a> ::
Module&nbsp;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&nbsp;private</a>]</span></td></tr>
<tr><td align="right"><span class="options"
>[<a href="frames.html" target="_top">frames</a
>]&nbsp;|&nbsp;<a href="Pyblio.Attribute-module.html"
target="_top">no&nbsp;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&nbsp;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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</span>
</td><td class="summary">
<a href="Pyblio.Attribute-module.html#N_to_C" class="summary-name">N_to_C</a> = <code title="{'date': &lt;class 'Pyblio.Attribute.Date'&gt;,
'id': &lt;class 'Pyblio.Attribute.ID'&gt;,
'person': &lt;class 'Pyblio.Attribute.Person'&gt;,
'text': &lt;class 'Pyblio.Attribute.Text'&gt;,
'txo': &lt;class 'Pyblio.Attribute.Txo'&gt;,
'url': &lt;class 'Pyblio.Attribute.URL'&gt;}"><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>&lt;class 'Pyblio.Attribute.Date'&gt;<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>&lt;clas<code class="variable-ellipsis">...</code></code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="Pyblio.Attribute-module.html#C_to_N" class="summary-name">C_to_N</a> = <code title="{&lt;class 'Pyblio.Attribute.Person'&gt;: 'person',
&lt;class 'Pyblio.Attribute.Date'&gt;: 'date',
&lt;class 'Pyblio.Attribute.Text'&gt;: 'text',
&lt;class 'Pyblio.Attribute.URL'&gt;: 'url',
&lt;class 'Pyblio.Attribute.ID'&gt;: 'id',
&lt;class 'Pyblio.Attribute.Txo'&gt;: 'txo'}"><code class="variable-group">{</code>&lt;class 'Pyblio.Attribute.Person'&gt;<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>&lt;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>&lt;class 'Pyblio.Attribute.Date'&gt;<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>&lt;class 'Pyblio.Attribute.ID'&gt;<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>&lt;class 'Pyblio.Attribute.Person'&gt;<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>&lt;class 'Pyblio.Attribute.Text'&gt;<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>&lt;class 'Pyblio.Attribute.Txo'&gt;<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>&lt;class 'Pyblio.Attribute.URL'&gt;<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>&lt;class 'Pyblio.Attribute.Person'&gt;<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>
&lt;class 'Pyblio.Attribute.Date'&gt;<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>
&lt;class 'Pyblio.Attribute.Text'&gt;<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>
&lt;class 'Pyblio.Attribute.URL'&gt;<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>
&lt;class 'Pyblio.Attribute.ID'&gt;<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>
&lt;class 'Pyblio.Attribute.Txo'&gt;<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>&nbsp;&nbsp;&nbsp;<a
href="Pyblio-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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