mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2025-12-06 06:52:00 +01:00
small rst fix in the homcall(call) function docstring
This commit is contained in:
parent
3a7a984470
commit
cd00dc6ab9
BIN
docs/build/doctrees/Callinfo.doctree
vendored
BIN
docs/build/doctrees/Callinfo.doctree
vendored
Binary file not shown.
BIN
docs/build/doctrees/environment.pickle
vendored
BIN
docs/build/doctrees/environment.pickle
vendored
Binary file not shown.
BIN
docs/build/doctrees/index.doctree
vendored
BIN
docs/build/doctrees/index.doctree
vendored
Binary file not shown.
18
docs/build/html/Callinfo.html
vendored
18
docs/build/html/Callinfo.html
vendored
|
|
@ -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=<UTC>)</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=<UTC>)</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’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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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=<UTC>)</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" />
|
||||
|
|
|
|||
4
docs/build/html/_sources/index.txt
vendored
4
docs/build/html/_sources/index.txt
vendored
|
|
@ -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
|
||||
^^^^^^^
|
||||
|
|
|
|||
4
docs/build/html/index.html
vendored
4
docs/build/html/index.html
vendored
|
|
@ -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">
|
||||
|
|
|
|||
7
docs/build/html/objects.inv
vendored
7
docs/build/html/objects.inv
vendored
|
|
@ -2,6 +2,7 @@
|
|||
# Project: pyhamtools
|
||||
# Version: 0.4
|
||||
# The remainder of this file is compressed using zlib.
|
||||
xÚ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*‚
|
||||
eÙ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ƒÙ
|
||||
xÚ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Ö½´1å‘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>ÿëõ'åÙ
|
||||
2
docs/build/html/searchindex.js
vendored
2
docs/build/html/searchindex.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue