rda-python-common 2.0.3__tar.gz → 2.0.4__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_common-2.0.3 → rda_python_common-2.0.4}/PKG-INFO +1 -1
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/pyproject.toml +1 -1
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_password.py +3 -4
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pgpassword.py +3 -3
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/PKG-INFO +1 -1
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/LICENSE +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/README.md +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/setup.cfg +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgCMD.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgDBI.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgFile.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgLOG.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgLock.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgOPT.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgSIG.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgSplit.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgUtil.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/__init__.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_cmd.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_dbi.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_file.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_lock.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_log.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_opt.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_sig.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_split.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_util.py +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/SOURCES.txt +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/dependency_links.txt +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/entry_points.txt +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/requires.txt +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/top_level.txt +0 -0
- {rda_python_common-2.0.3 → rda_python_common-2.0.4}/test/test_common.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4
|
|
4
4
|
Summary: RDA Python common library codes shared by other RDA python packages
|
|
5
5
|
Author-email: Zaihua Ji <zji@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-common
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
##################################################################################
|
|
4
4
|
#
|
|
5
|
-
# Title:
|
|
5
|
+
# Title: pg_password
|
|
6
6
|
# Author: Zaihua Ji, zji@ucar.edu
|
|
7
7
|
# Date: 2025-10-27
|
|
8
8
|
# Purpose: python script to retrieve passwords for postgrsql login to connect a
|
|
@@ -42,7 +42,6 @@ DBINFO = {
|
|
|
42
42
|
def main():
|
|
43
43
|
|
|
44
44
|
permit = False
|
|
45
|
-
aname = 'pgpassword'
|
|
46
45
|
argv = sys.argv[1:]
|
|
47
46
|
opt = None
|
|
48
47
|
dohelp = True
|
|
@@ -66,8 +65,8 @@ def main():
|
|
|
66
65
|
PgLOG.pglog(arg + ": Value provided without option", PgLOG.LGEREX)
|
|
67
66
|
|
|
68
67
|
if dohelp:
|
|
69
|
-
print("Usage:
|
|
70
|
-
print("
|
|
68
|
+
print("Usage: pg_password [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\")
|
|
69
|
+
print(" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]")
|
|
71
70
|
print(" -l OpenBao URL to retrieve passwords")
|
|
72
71
|
print(" -k OpenBao Token Name to retrieve passwords")
|
|
73
72
|
print(" -d PostgreSQL Database Name")
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
##################################################################################
|
|
4
4
|
#
|
|
5
|
-
# Title:
|
|
5
|
+
# Title: pgpassword
|
|
6
6
|
# Author: Zaihua Ji, zji@ucar.edu
|
|
7
7
|
# Date: 2025-10-27
|
|
8
8
|
# 2025-12-02 convert to class PgPassword
|
|
@@ -60,8 +60,8 @@ class PgPassword(PgDBI):
|
|
|
60
60
|
else:
|
|
61
61
|
self.pglog(arg + ": Value provided without option", self.LGEREX)
|
|
62
62
|
if dohelp:
|
|
63
|
-
print("Usage:
|
|
64
|
-
print("
|
|
63
|
+
print("Usage: pgpassword [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\")
|
|
64
|
+
print(" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]")
|
|
65
65
|
print(" -l OpenBao URL to retrieve passwords")
|
|
66
66
|
print(" -k OpenBao Token Name to retrieve passwords")
|
|
67
67
|
print(" -d PostgreSQL Database Name")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4
|
|
4
4
|
Summary: RDA Python common library codes shared by other RDA python packages
|
|
5
5
|
Author-email: Zaihua Ji <zji@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-common
|
|
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_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|