rda-python-miscs 2.0.12__tar.gz → 2.0.14__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.12 → rda_python_miscs-2.0.14}/PKG-INFO +1 -1
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/pyproject.toml +1 -1
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/pg_rst.py +12 -3
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/PKG-INFO +1 -1
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/LICENSE +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/MANIFEST.in +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/README.md +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/setup.cfg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/__init__.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/bash_qsub.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/bashqsub.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/bashqsub.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/gdex_ls.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/gdexls.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/gdexls.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/gdexls_standalone.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/pg_docs.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/pg_wget.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/pgwget.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rda_cp.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rda_kill.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rda_mod.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rda_own.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rda_ps.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rda_sub.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rda_zip.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdacp.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdacp.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdakill.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdakill.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdals.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdals.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdamod.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdamod.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdaown.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdaown.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdaps.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdaps.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdasub.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdasub.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdazip.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rdazip.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rst_templates/index.rst.temp +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/rst_templates/section.rst.temp +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/tcsh_qsub.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/tcshqsub.py +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs/tcshqsub.usg +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/SOURCES.txt +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/dependency_links.txt +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/entry_points.txt +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/requires.txt +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/top_level.txt +0 -0
- {rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/tests/test_miscs.py +0 -0
|
@@ -288,9 +288,10 @@ class PgRST(PgFile, PgUtil):
|
|
|
288
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
|
|
@@ -873,6 +874,13 @@ class PgRST(PgFile, PgUtil):
|
|
|
873
874
|
str: RST-formatted table or list content.
|
|
874
875
|
"""
|
|
875
876
|
line0 = lines[0]
|
|
877
|
+
if any('-->' in line for line in lines):
|
|
878
|
+
max_width = max(len(line) for line in lines)
|
|
879
|
+
content = ".. code-block:: none\n\n"
|
|
880
|
+
for line in lines:
|
|
881
|
+
content += " " + line.ljust(max_width) + "\n"
|
|
882
|
+
content += "\n"
|
|
883
|
+
return content
|
|
876
884
|
ms = re.match(r'^\s+-\s+(.*)', line0)
|
|
877
885
|
if ms:
|
|
878
886
|
content = "* " + self.replace_option_link(ms.group(1), secid, 1)
|
|
@@ -984,7 +992,8 @@ class PgRST(PgFile, PgUtil):
|
|
|
984
992
|
if len(v) > 1 and v[0] == '-': v = v[1:]
|
|
985
993
|
content += "\n * - " + v
|
|
986
994
|
for c in range(1, ncols):
|
|
987
|
-
|
|
995
|
+
# Handle IndexError by using empty string if column is missing
|
|
996
|
+
v = row[c] if c < len(row) else ""
|
|
988
997
|
if len(v) > 1 and v[0] == '-': v = v[1:]
|
|
989
998
|
content += "\n - " + v
|
|
990
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.12 → rda_python_miscs-2.0.14}/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.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_miscs-2.0.12 → rda_python_miscs-2.0.14}/src/rda_python_miscs.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|