rda-python-miscs 2.0.13__tar.gz → 2.0.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/PKG-INFO +1 -1
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/pyproject.toml +1 -1
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/pg_rst.py +8 -6
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/PKG-INFO +1 -1
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/LICENSE +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/MANIFEST.in +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/README.md +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/setup.cfg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/__init__.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/bash_qsub.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/bashqsub.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/bashqsub.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/gdex_ls.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/gdexls.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/gdexls.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/gdexls_standalone.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/pg_docs.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/pg_wget.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/pgwget.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rda_cp.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rda_kill.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rda_mod.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rda_own.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rda_ps.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rda_sub.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rda_zip.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdacp.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdacp.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdakill.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdakill.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdals.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdals.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdamod.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdamod.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdaown.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdaown.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdaps.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdaps.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdasub.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdasub.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdazip.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rdazip.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rst_templates/index.rst.temp +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/rst_templates/section.rst.temp +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/tcsh_qsub.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/tcshqsub.py +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/tcshqsub.usg +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/SOURCES.txt +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/dependency_links.txt +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/entry_points.txt +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/requires.txt +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/top_level.txt +0 -0
- {rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/tests/test_miscs.py +0 -0
|
@@ -285,12 +285,13 @@ class PgRST(PgFile, PgUtil):
|
|
|
285
285
|
lcnt = len(lines)
|
|
286
286
|
title = lines[0].strip()
|
|
287
287
|
ol = 1
|
|
288
|
-
if title[-1] != ':':
|
|
288
|
+
if title[-1:] != ':':
|
|
289
289
|
for l in range(1, lcnt):
|
|
290
290
|
line = lines[l].strip()
|
|
291
|
-
title += ' ' + line
|
|
292
291
|
ol += 1
|
|
293
|
-
if line
|
|
292
|
+
if line:
|
|
293
|
+
title += ' ' + line
|
|
294
|
+
if line[-1] == ':': break
|
|
294
295
|
example['desc'] = '\n'.join(lines[ol:]) if lcnt > ol else ''
|
|
295
296
|
example['title'] = title
|
|
296
297
|
option['exmidxs'].append(len(self.examples)) # record example index in option
|
|
@@ -663,11 +664,11 @@ class PgRST(PgFile, PgUtil):
|
|
|
663
664
|
else:
|
|
664
665
|
opts = re.findall(r'(^)([a-zA-Z]{2,})(<%s>)/' % ms.group(1), line)
|
|
665
666
|
elif ptype == 2:
|
|
666
|
-
opts = re.findall(r'(-\(*)([a-zA-Z]{2,})(\W|$)', line)
|
|
667
|
+
opts = re.findall(r'([\(\[\s]-\(*)([a-zA-Z]{2,})(\W|$)', line)
|
|
667
668
|
ms = re.match(r'^\s*%s(\s+[\w\.]+\s+|\s+)([a-zA-Z]{2})(\s)' % self.DOCS['DOCNAM'], line)
|
|
668
669
|
if ms: opts = [ms.groups()] + opts
|
|
669
670
|
else:
|
|
670
|
-
opts = re.findall(r'(^-\(
|
|
671
|
+
opts = re.findall(r'(^-\(*|[\(\[\s]-\(*)([a-zA-Z]{2,})(\W|$)', line)
|
|
671
672
|
|
|
672
673
|
for optary in opts:
|
|
673
674
|
opt = self.get_short_option(optary[1])
|
|
@@ -991,7 +992,8 @@ class PgRST(PgFile, PgUtil):
|
|
|
991
992
|
if len(v) > 1 and v[0] == '-': v = v[1:]
|
|
992
993
|
content += "\n * - " + v
|
|
993
994
|
for c in range(1, ncols):
|
|
994
|
-
|
|
995
|
+
# Handle IndexError by using empty string if column is missing
|
|
996
|
+
v = row[c] if c < len(row) else ""
|
|
995
997
|
if len(v) > 1 and v[0] == '-': v = v[1:]
|
|
996
998
|
content += "\n - " + v
|
|
997
999
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs/gdexls_standalone.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_miscs-2.0.13 → rda_python_miscs-2.0.15}/src/rda_python_miscs.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|