ry-pg-utils 1.0.5__tar.gz → 1.0.6__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.
- {ry_pg_utils-1.0.5/src/ry_pg_utils.egg-info → ry_pg_utils-1.0.6}/PKG-INFO +5 -5
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/README.md +4 -4
- ry_pg_utils-1.0.6/VERSION +1 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/parse_args.py +1 -1
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6/src/ry_pg_utils.egg-info}/PKG-INFO +5 -5
- ry_pg_utils-1.0.5/VERSION +0 -1
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/LICENSE +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/MANIFEST.in +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/packages/base_requirements.in +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/pyproject.toml +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/setup.cfg +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/setup.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/__init__.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/config.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/connect.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/dynamic_table.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/ipc/__init__.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/ipc/channels.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/notify_trigger.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/pb_types/__init__.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/pb_types/database_pb2.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/pb_types/database_pb2.pyi +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/pb_types/py.typed +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/postgres_info.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/py.typed +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils/updater.py +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils.egg-info/SOURCES.txt +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils.egg-info/dependency_links.txt +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils.egg-info/requires.txt +0 -0
- {ry_pg_utils-1.0.5 → ry_pg_utils-1.0.6}/src/ry_pg_utils.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ry-pg-utils
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.6
|
4
4
|
Summary: Utility functions for PostgreSQL
|
5
5
|
Author: Ross Yeager
|
6
6
|
Author-email: ryeager12@email.com
|
@@ -276,10 +276,10 @@ Add PostgreSQL arguments to your argument parser:
|
|
276
276
|
|
277
277
|
```python
|
278
278
|
import argparse
|
279
|
-
from ry_pg_utils.parse_args import
|
279
|
+
from ry_pg_utils.parse_args import add_postgres_db_args
|
280
280
|
|
281
281
|
parser = argparse.ArgumentParser()
|
282
|
-
|
282
|
+
add_postgres_db_args(parser)
|
283
283
|
|
284
284
|
args = parser.parse_args()
|
285
285
|
# Access: args.postgres_host, args.postgres_port, etc.
|
@@ -537,14 +537,14 @@ make lint_full
|
|
537
537
|
|
538
538
|
```python
|
539
539
|
import argparse
|
540
|
-
from ry_pg_utils.parse_args import
|
540
|
+
from ry_pg_utils.parse_args import add_postgres_db_args
|
541
541
|
from ry_pg_utils.connect import init_database, ManagedSession
|
542
542
|
from ry_pg_utils.dynamic_table import DynamicTableDb
|
543
543
|
from sqlalchemy import text
|
544
544
|
|
545
545
|
def parse_args():
|
546
546
|
parser = argparse.ArgumentParser(description="My Database App")
|
547
|
-
|
547
|
+
add_postgres_db_args(parser)
|
548
548
|
return parser.parse_args()
|
549
549
|
|
550
550
|
def main():
|
@@ -245,10 +245,10 @@ Add PostgreSQL arguments to your argument parser:
|
|
245
245
|
|
246
246
|
```python
|
247
247
|
import argparse
|
248
|
-
from ry_pg_utils.parse_args import
|
248
|
+
from ry_pg_utils.parse_args import add_postgres_db_args
|
249
249
|
|
250
250
|
parser = argparse.ArgumentParser()
|
251
|
-
|
251
|
+
add_postgres_db_args(parser)
|
252
252
|
|
253
253
|
args = parser.parse_args()
|
254
254
|
# Access: args.postgres_host, args.postgres_port, etc.
|
@@ -506,14 +506,14 @@ make lint_full
|
|
506
506
|
|
507
507
|
```python
|
508
508
|
import argparse
|
509
|
-
from ry_pg_utils.parse_args import
|
509
|
+
from ry_pg_utils.parse_args import add_postgres_db_args
|
510
510
|
from ry_pg_utils.connect import init_database, ManagedSession
|
511
511
|
from ry_pg_utils.dynamic_table import DynamicTableDb
|
512
512
|
from sqlalchemy import text
|
513
513
|
|
514
514
|
def parse_args():
|
515
515
|
parser = argparse.ArgumentParser(description="My Database App")
|
516
|
-
|
516
|
+
add_postgres_db_args(parser)
|
517
517
|
return parser.parse_args()
|
518
518
|
|
519
519
|
def main():
|
@@ -0,0 +1 @@
|
|
1
|
+
1.0.6
|
@@ -3,7 +3,7 @@ import argparse
|
|
3
3
|
from . import config
|
4
4
|
|
5
5
|
|
6
|
-
def
|
6
|
+
def add_postgres_db_args(parser: argparse.ArgumentParser) -> None:
|
7
7
|
postgres_parser = parser.add_argument_group("postgres-options")
|
8
8
|
postgres_parser.add_argument("--postgres-host", default=config.pg_config.postgres_host)
|
9
9
|
postgres_parser.add_argument(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ry-pg-utils
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.6
|
4
4
|
Summary: Utility functions for PostgreSQL
|
5
5
|
Author: Ross Yeager
|
6
6
|
Author-email: ryeager12@email.com
|
@@ -276,10 +276,10 @@ Add PostgreSQL arguments to your argument parser:
|
|
276
276
|
|
277
277
|
```python
|
278
278
|
import argparse
|
279
|
-
from ry_pg_utils.parse_args import
|
279
|
+
from ry_pg_utils.parse_args import add_postgres_db_args
|
280
280
|
|
281
281
|
parser = argparse.ArgumentParser()
|
282
|
-
|
282
|
+
add_postgres_db_args(parser)
|
283
283
|
|
284
284
|
args = parser.parse_args()
|
285
285
|
# Access: args.postgres_host, args.postgres_port, etc.
|
@@ -537,14 +537,14 @@ make lint_full
|
|
537
537
|
|
538
538
|
```python
|
539
539
|
import argparse
|
540
|
-
from ry_pg_utils.parse_args import
|
540
|
+
from ry_pg_utils.parse_args import add_postgres_db_args
|
541
541
|
from ry_pg_utils.connect import init_database, ManagedSession
|
542
542
|
from ry_pg_utils.dynamic_table import DynamicTableDb
|
543
543
|
from sqlalchemy import text
|
544
544
|
|
545
545
|
def parse_args():
|
546
546
|
parser = argparse.ArgumentParser(description="My Database App")
|
547
|
-
|
547
|
+
add_postgres_db_args(parser)
|
548
548
|
return parser.parse_args()
|
549
549
|
|
550
550
|
def main():
|
ry_pg_utils-1.0.5/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.0.5
|
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
|