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.
Files changed (33) hide show
  1. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/PKG-INFO +1 -1
  2. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/pyproject.toml +1 -1
  3. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_password.py +3 -4
  4. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pgpassword.py +3 -3
  5. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/PKG-INFO +1 -1
  6. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/LICENSE +0 -0
  7. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/README.md +0 -0
  8. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/setup.cfg +0 -0
  9. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgCMD.py +0 -0
  10. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgDBI.py +0 -0
  11. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgFile.py +0 -0
  12. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgLOG.py +0 -0
  13. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgLock.py +0 -0
  14. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgOPT.py +0 -0
  15. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgSIG.py +0 -0
  16. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgSplit.py +0 -0
  17. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/PgUtil.py +0 -0
  18. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/__init__.py +0 -0
  19. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_cmd.py +0 -0
  20. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_dbi.py +0 -0
  21. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_file.py +0 -0
  22. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_lock.py +0 -0
  23. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_log.py +0 -0
  24. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_opt.py +0 -0
  25. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_sig.py +0 -0
  26. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_split.py +0 -0
  27. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common/pg_util.py +0 -0
  28. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/SOURCES.txt +0 -0
  29. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/dependency_links.txt +0 -0
  30. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/entry_points.txt +0 -0
  31. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/requires.txt +0 -0
  32. {rda_python_common-2.0.3 → rda_python_common-2.0.4}/src/rda_python_common.egg-info/top_level.txt +0 -0
  33. {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
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rda_python_common"
7
- version = "2.0.3"
7
+ version = "2.0.4"
8
8
  authors = [
9
9
  { name="Zaihua Ji", email="zji@ucar.edu" },
10
10
  ]
@@ -2,7 +2,7 @@
2
2
  #
3
3
  ##################################################################################
4
4
  #
5
- # Title: pgpassword
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: pgpassword [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\")
70
- print(" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]")
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: pg_pass
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: pg_pass [-l OpenBaoURL] [-k TokenName] [-d DBNAME] \\")
64
- print(" [-c SCHEMA] [-u USName] [-h DBHOST] [-p DBPORT]")
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
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