rda-python-common 1.0.26__py3-none-any.whl → 1.0.27__py3-none-any.whl
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.
Potentially problematic release.
This version of rda-python-common might be problematic. Click here for more details.
- rda_python_common/PgDBI.py +5 -3
- rda_python_common/PgLOG.py +2 -1
- {rda_python_common-1.0.26.dist-info → rda_python_common-1.0.27.dist-info}/METADATA +1 -1
- {rda_python_common-1.0.26.dist-info → rda_python_common-1.0.27.dist-info}/RECORD +7 -7
- {rda_python_common-1.0.26.dist-info → rda_python_common-1.0.27.dist-info}/WHEEL +0 -0
- {rda_python_common-1.0.26.dist-info → rda_python_common-1.0.27.dist-info}/licenses/LICENSE +0 -0
- {rda_python_common-1.0.26.dist-info → rda_python_common-1.0.27.dist-info}/top_level.txt +0 -0
rda_python_common/PgDBI.py
CHANGED
|
@@ -105,7 +105,9 @@ SETPGDBI("VWSOCK", '')
|
|
|
105
105
|
PGDBI['DBSHOST'] = PgLOG.get_short_host(PGDBI['DBHOST'])
|
|
106
106
|
PGDBI['DEFSHOST'] = PgLOG.get_short_host(PGDBI['DEFHOST'])
|
|
107
107
|
PGDBI['VWHOST'] = PgLOG.PGLOG['PVIEWHOST']
|
|
108
|
+
PGDBI['MSHOST'] = PgLOG.PGLOG['PMISCHOST']
|
|
108
109
|
PGDBI['VWSHOST'] = PgLOG.get_short_host(PGDBI['VWHOST'])
|
|
110
|
+
PGDBI['MSSHOST'] = PgLOG.get_short_host(PGDBI['MSHOST'])
|
|
109
111
|
PGDBI['VWHOME'] = (VIEWHOMES[PgLOG.PGLOG['HOSTNAME']] if PgLOG.PGLOG['HOSTNAME'] in VIEWHOMES else VIEWHOMES['default'])
|
|
110
112
|
PGDBI['SCPATH'] = None # additional schema path for set search_path
|
|
111
113
|
PGDBI['VHSET'] = 0
|
|
@@ -142,7 +144,7 @@ dssdb_scname = dssdb_dbname
|
|
|
142
144
|
# set default connection for obsua PostgreSQL Server
|
|
143
145
|
#
|
|
144
146
|
def obsua_dbname():
|
|
145
|
-
default_scinfo('upadb', 'obsua',
|
|
147
|
+
default_scinfo('upadb', 'obsua', PgLOG.PGLOG['PMISCHOST'])
|
|
146
148
|
|
|
147
149
|
obsua_scname = obsua_dbname
|
|
148
150
|
|
|
@@ -150,7 +152,7 @@ obsua_scname = obsua_dbname
|
|
|
150
152
|
# set default connection for ivaddb PostgreSQL Server
|
|
151
153
|
#
|
|
152
154
|
def ivaddb_dbname():
|
|
153
|
-
default_scinfo('ivaddb', 'ivaddb',
|
|
155
|
+
default_scinfo('ivaddb', 'ivaddb', PgLOG.PGLOG['PMISCHOST'])
|
|
154
156
|
|
|
155
157
|
ivaddb_scname = ivaddb_dbname
|
|
156
158
|
|
|
@@ -158,7 +160,7 @@ ivaddb_scname = ivaddb_dbname
|
|
|
158
160
|
# set default connection for ispddb PostgreSQL Server
|
|
159
161
|
#
|
|
160
162
|
def ispddb_dbname():
|
|
161
|
-
default_scinfo('ispddb', 'ispddb',
|
|
163
|
+
default_scinfo('ispddb', 'ispddb', PgLOG.PGLOG['PMISCHOST'])
|
|
162
164
|
|
|
163
165
|
ispddb_scname = ispddb_dbname
|
|
164
166
|
|
rda_python_common/PgLOG.py
CHANGED
|
@@ -1322,7 +1322,8 @@ def set_common_pglog():
|
|
|
1322
1322
|
SETPGLOG("SLMHOSTS", "cheyenne:casper") # host names for SLURM server
|
|
1323
1323
|
SETPGLOG("PBSHOSTS", "cheyenne:casper") # host names for PBS server
|
|
1324
1324
|
SETPGLOG("CHKHOSTS", "") # host names for dscheck daemon
|
|
1325
|
-
SETPGLOG("PVIEWHOST", "rda-pgdb-02.ucar.edu")
|
|
1325
|
+
SETPGLOG("PVIEWHOST", "rda-pgdb-02.ucar.edu") # host name for view only postgresql server
|
|
1326
|
+
SETPGLOG("PMISCHOST", "rda-pgdb-03.ucar.edu") # host name for misc postgresql server
|
|
1326
1327
|
SETPGLOG("FTPUPLD", PGLOG['TRANSFER']+"/rossby") # ftp upload path
|
|
1327
1328
|
PGLOG['GPFSROOTS'] = "{}|{}|{}".format(PGLOG['DSDHOME'], PGLOG['UPDTWKP'], PGLOG['RQSTHOME'])
|
|
1328
1329
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.27
|
|
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
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
rda_python_common/PgCMD.py,sha256=EYjG2Z4zEnvsXE1z-jt5UaNoEKxnOYYiMMzvW6HrKA4,20597
|
|
2
|
-
rda_python_common/PgDBI.py,sha256=
|
|
2
|
+
rda_python_common/PgDBI.py,sha256=JLQ_r81ESHXDciNzxR5gPrtl79uu4YIfjMp5xVbOKv0,74320
|
|
3
3
|
rda_python_common/PgFile.py,sha256=756onQnWH_MK8llF0-8b6yV6KC1eY_eCPEkygxeJQQU,98460
|
|
4
|
-
rda_python_common/PgLOG.py,sha256=
|
|
4
|
+
rda_python_common/PgLOG.py,sha256=Jyb0_QTD0TNXc6ip66eZpC4zsvHoXK4C8AinZIXnKo0,54367
|
|
5
5
|
rda_python_common/PgLock.py,sha256=12i84nsGBuifSyPnm8IR63LvHvRuVU573D5QKFlHdOI,22623
|
|
6
6
|
rda_python_common/PgOPT.py,sha256=JbzLCkJ_RYR95fDCKyT1uxJAddYB6FuPs3L47PxcuKs,55445
|
|
7
7
|
rda_python_common/PgSIG.py,sha256=ZVM9Qz6yIFurwIQJtV5-CFbKOTdFsZ-Rs95SEpDFgNk,35795
|
|
8
8
|
rda_python_common/PgSplit.py,sha256=QKPbF55m8KCTGmwVwL3uG_nuylCC4FSVfLuXeLjJHbE,8816
|
|
9
9
|
rda_python_common/PgUtil.py,sha256=OqESKCd72b9g8m8jwjPJhXDtPYlW6G8oSOhwChvz2Cg,48600
|
|
10
10
|
rda_python_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
rda_python_common-1.0.
|
|
12
|
-
rda_python_common-1.0.
|
|
13
|
-
rda_python_common-1.0.
|
|
14
|
-
rda_python_common-1.0.
|
|
15
|
-
rda_python_common-1.0.
|
|
11
|
+
rda_python_common-1.0.27.dist-info/licenses/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
|
|
12
|
+
rda_python_common-1.0.27.dist-info/METADATA,sha256=D2X0ZmaQuITbXvlg_0YOM-SsvLVa84wnrehsBPm3C7I,716
|
|
13
|
+
rda_python_common-1.0.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
+
rda_python_common-1.0.27.dist-info/top_level.txt,sha256=KVQmx7D3DD-jsiheqL8HdTrRE14hpRnZY5_ioMArA5k,18
|
|
15
|
+
rda_python_common-1.0.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|