small rst fix in the homcall(call) function docstring

This commit is contained in:
dh1tw 2014-09-25 23:46:47 +02:00
parent 3a7a984470
commit cd00dc6ab9
9 changed files with 19 additions and 18 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -79,7 +79,7 @@ An instance of <tt class="xref py py-class docutils literal"><span class="pre">L
</table>
<dl class="method">
<dt id="pyhamtools.callinfo.Callinfo.get_adif_id">
<tt class="descname">get_adif_id</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>21</em>, <em>18</em>, <em>15</em>, <em>2</em>, <em>397379</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_adif_id" title="Permalink to this definition"></a></dt>
<tt class="descname">get_adif_id</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>25</em>, <em>21</em>, <em>42</em>, <em>32</em>, <em>786909</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_adif_id" title="Permalink to this definition"></a></dt>
<dd><p>Returns ADIF id of a callsign&#8217;s country</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
@ -107,7 +107,7 @@ No Country found for callsign</p>
<dl class="method">
<dt id="pyhamtools.callinfo.Callinfo.get_all">
<tt class="descname">get_all</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>21</em>, <em>18</em>, <em>15</em>, <em>2</em>, <em>397379</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_all" title="Permalink to this definition"></a></dt>
<tt class="descname">get_all</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>25</em>, <em>21</em>, <em>42</em>, <em>32</em>, <em>786909</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_all" title="Permalink to this definition"></a></dt>
<dd><p>Lookup a callsign and return all data available from the underlying database</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
@ -160,7 +160,7 @@ would be missing with Clublog (API or XML) <tt class="xref py py-class docutils
<dl class="method">
<dt id="pyhamtools.callinfo.Callinfo.get_continent">
<tt class="descname">get_continent</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>21</em>, <em>18</em>, <em>15</em>, <em>2</em>, <em>397379</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_continent" title="Permalink to this definition"></a></dt>
<tt class="descname">get_continent</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>25</em>, <em>21</em>, <em>42</em>, <em>32</em>, <em>786909</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_continent" title="Permalink to this definition"></a></dt>
<dd><p>Returns the continent Identifier of a callsign</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
@ -201,7 +201,7 @@ No Continent found for callsign</p>
<dl class="method">
<dt id="pyhamtools.callinfo.Callinfo.get_country_name">
<tt class="descname">get_country_name</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>21</em>, <em>18</em>, <em>15</em>, <em>2</em>, <em>397379</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_country_name" title="Permalink to this definition"></a></dt>
<tt class="descname">get_country_name</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>25</em>, <em>21</em>, <em>42</em>, <em>32</em>, <em>786909</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_country_name" title="Permalink to this definition"></a></dt>
<dd><p>Returns the country name where the callsign is located</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
@ -239,7 +239,7 @@ for countries. Example:</p>
<dl class="method">
<dt id="pyhamtools.callinfo.Callinfo.get_cqz">
<tt class="descname">get_cqz</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>21</em>, <em>18</em>, <em>15</em>, <em>2</em>, <em>397379</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_cqz" title="Permalink to this definition"></a></dt>
<tt class="descname">get_cqz</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>25</em>, <em>21</em>, <em>42</em>, <em>32</em>, <em>786909</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_cqz" title="Permalink to this definition"></a></dt>
<dd><p>Returns CQ Zone of a callsign</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
@ -268,7 +268,7 @@ no CQ Zone found for callsign</p>
<dl class="staticmethod">
<dt id="pyhamtools.callinfo.Callinfo.get_homecall">
<em class="property">static </em><tt class="descname">get_homecall</tt><big>(</big><em>callsign</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_homecall" title="Permalink to this definition"></a></dt>
<dd><p>Strips off country prefixes (<strong>HC2/**DH1TW) and activity suffixes (DH1TW</strong>/P**).</p>
<dd><p>Strips off country prefixes (<strong>HC2/</strong> DH1TW) and activity suffixes (DH1TW <strong>/P</strong>).</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
@ -297,7 +297,7 @@ No callsign found in string</td>
<dl class="method">
<dt id="pyhamtools.callinfo.Callinfo.get_ituz">
<tt class="descname">get_ituz</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>21</em>, <em>18</em>, <em>15</em>, <em>2</em>, <em>397379</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_ituz" title="Permalink to this definition"></a></dt>
<tt class="descname">get_ituz</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>25</em>, <em>21</em>, <em>42</em>, <em>32</em>, <em>786909</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_ituz" title="Permalink to this definition"></a></dt>
<dd><p>Returns ITU Zone of a callsign</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
@ -329,7 +329,7 @@ No ITU Zone found for callsign</p>
<dl class="method">
<dt id="pyhamtools.callinfo.Callinfo.get_lat_long">
<tt class="descname">get_lat_long</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>21</em>, <em>18</em>, <em>15</em>, <em>2</em>, <em>397379</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_lat_long" title="Permalink to this definition"></a></dt>
<tt class="descname">get_lat_long</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>25</em>, <em>21</em>, <em>42</em>, <em>32</em>, <em>786909</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.get_lat_long" title="Permalink to this definition"></a></dt>
<dd><p>Returns Latitude and Longitude for a callsign</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
@ -375,7 +375,7 @@ dedicated entry in the database exists.</p>
<dl class="method">
<dt id="pyhamtools.callinfo.Callinfo.is_valid_callsign">
<tt class="descname">is_valid_callsign</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>21</em>, <em>18</em>, <em>15</em>, <em>2</em>, <em>397379</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.is_valid_callsign" title="Permalink to this definition"></a></dt>
<tt class="descname">is_valid_callsign</tt><big>(</big><em>callsign</em>, <em>timestamp=datetime.datetime(2014</em>, <em>9</em>, <em>25</em>, <em>21</em>, <em>42</em>, <em>32</em>, <em>786909</em>, <em>tzinfo=&lt;UTC&gt;)</em><big>)</big><a class="headerlink" href="#pyhamtools.callinfo.Callinfo.is_valid_callsign" title="Permalink to this definition"></a></dt>
<dd><p>Checks if a callsign is valid</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />

View file

@ -13,9 +13,9 @@
PyHamTools is a Python library which helps you creating Amateur Radio applications faster. It comes
with some modules and classes which are frequently needed, like locator based calculations (distance,
heading, etc) or parsing of an Amateur Radio callsign.
heading, etc) or parsing of Amateur Radio callsigns.
Currently, PyHamtools contain the following modules and classes:
Currently, PyHamtools contains the following modules and classes:
Modules
^^^^^^^

View file

@ -70,8 +70,8 @@
</table>
<p>PyHamTools is a Python library which helps you creating Amateur Radio applications faster. It comes
with some modules and classes which are frequently needed, like locator based calculations (distance,
heading, etc) or parsing of an Amateur Radio callsign.</p>
<p>Currently, PyHamtools contain the following modules and classes:</p>
heading, etc) or parsing of Amateur Radio callsigns.</p>
<p>Currently, PyHamtools contains the following modules and classes:</p>
<div class="section" id="modules">
<h2>Modules<a class="headerlink" href="#modules" title="Permalink to this headline"></a></h2>
<div class="toctree-wrapper compound">

View file

@ -2,6 +2,7 @@
# Project: pyhamtools
# Version: 0.4
# The remainder of this file is compressed using zlib.
­TÁNä0 ½ó•–댖+WNH ­´y·µHãNã¢é|=IS`:L¡<4C>rŠää½øÙÏ®Ø<C2AE>3xȼ˜{ ;´Ùæ.«»M5\lK©ìŸì™Mk1{Œ¡›ÝÐ{t@¤§¡ÑåøaŠ Ïþ§ÿ À›º+¡fë·ù¥­-íB.÷UúüoöÔGŸh—À)¾¹Í6c¨áfbßÁZ!ëG Dƒµär¡†àŒ#<23>n-*C^ÀiŒTyë´»ìnœ÷ÄïÛ<C3AF> Ur…ñ&J!]¡”lÙ8³S*
5H¹:5Í­“¦Sª^ç¼Ä.s…ÔrEf>͇¡¶Ÿ&J1ud‡
ë^Ú)å™áf¥FÒ×ÊÓûã¯H잊%¢.±i®;e@@S ³®®R°Xï¬%2“á2•°:õ•ÎtB<0E>¬*zk ÞϨñù°ùÖ5äûÓ£,4½J®Ü´òò÷±¼;pæ §Ú“ξ=©SÔLZ9t‡¤[ã»Óþ\³rÒR½~&ɇñyKFq<46> ,Ü6“úwê[7˜ÓaÕ\<07>IÞŵóµ^oDƒÙ
­TÁNì0 ¼ó•àº+¸rå„y·µ^—ÆEÛýz¦@»oÚ-§HNfâ±Ç®Ø<C2AE>3¸Ï¼˜{ ;´Ùæ.«»M5\lK©ìuö̦µ˜=ÆÐU<C390>îè3: ÒS<C392>Ðèrú0ņg¯éÁ xUw%TÂlýVƒµär©ÜWéïÛìa&h
on²Íh™ÿµµ¥ÝùÔGŸh÷3Tƒp3±Ÿ`­<>õP™ñST©[ Ê<E2809A>p#OÞ:-Ä.»›~DòY¢íWY
Ur…ñ&J!]¡”lÙ´|¿¦T" ʲ+j<>rujš['M§T½Îy‰<79>æ
©åŠÌ|š/_l¿½<C2BF>bêÀî5Ö½´of¥FÒÖÊÓo‡?Ù=KD<4B>bÓ\wÊ€€"§ f]]¥`±ÞYKd&Ãd*a5šØ•ÎtB<0E>¬*zk ÞϨññ°ùÖ5äûÓ£,t~•\2¸iså ¾ÅòîÀ™#ðhµ<68>kO:ûö¤N-RsÖÊ¡;$Ýß<>ûsÉÊIKõò™$Æç,Å56°pÛœÝÐSߺÁœö«æ:LòN®<4E>ÿëõÙ

File diff suppressed because one or more lines are too long

View file

@ -47,7 +47,7 @@ class Callinfo(object):
@staticmethod
def get_homecall(callsign):
"""Strips off country prefixes (**HC2/**DH1TW) and activity suffixes (DH1TW**/P**).
"""Strips off country prefixes (HC2/DH1TW) and activity suffixes (DH1TW/P).
Args:
callsign (str): Amateur Radio callsign