rda-python-dsarch 2.0.19__tar.gz → 2.0.21__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_dsarch-2.0.19/src/rda_python_dsarch.egg-info → rda_python_dsarch-2.0.21}/PKG-INFO +4 -4
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/README.md +3 -3
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/pyproject.toml +1 -1
- rda_python_dsarch-2.0.21/src/rda_python_dsarch/__init__.py +29 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/dsarch_setup.py +3 -3
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21/src/rda_python_dsarch.egg-info}/PKG-INFO +4 -4
- rda_python_dsarch-2.0.19/src/rda_python_dsarch/__init__.py +0 -1
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/LICENSE +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/MANIFEST.in +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/setup.cfg +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/PgArch.py +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/PgMeta.py +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/ds_arch.py +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/dsarch.py +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/dsarch.usg +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/pg_arch.py +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/pg_meta.py +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
- {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/tests/test_dsarch.py +0 -0
{rda_python_dsarch-2.0.19/src/rda_python_dsarch.egg-info → rda_python_dsarch-2.0.21}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_dsarch
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.21
|
|
4
4
|
Summary: RDA Python package for utility program dsarch archive RDA data
|
|
5
5
|
Author-email: Zaihua Ji <zji@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch
|
|
@@ -85,10 +85,10 @@ Run these steps once per environment after `pip install`:
|
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
87
|
# Compile the pywrapper C binary (once per environment):
|
|
88
|
-
pywrapper-install -u gdexdata
|
|
88
|
+
pywrapper-install -c|--compile -u|--user gdexdata
|
|
89
89
|
|
|
90
90
|
# Wire up dsarch as a setuid entry:
|
|
91
|
-
pywrapper-install -l dsarch -u gdexdata
|
|
91
|
+
pywrapper-install -l|--link dsarch -u|--user gdexdata
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
`pywrapper-install` with no arguments displays the full user guide.
|
|
@@ -98,7 +98,7 @@ pywrapper-install -l dsarch -u gdexdata
|
|
|
98
98
|
Users who do not need the setuid mechanism can create a direct symlink instead:
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
pywrapper-install -l dsarch -s
|
|
101
|
+
pywrapper-install -l|--link dsarch -s|--simple
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
This creates `bin/dsarch -> bin/setuid_dsarch` and the program runs as the
|
|
@@ -67,10 +67,10 @@ Run these steps once per environment after `pip install`:
|
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
69
|
# Compile the pywrapper C binary (once per environment):
|
|
70
|
-
pywrapper-install -u gdexdata
|
|
70
|
+
pywrapper-install -c|--compile -u|--user gdexdata
|
|
71
71
|
|
|
72
72
|
# Wire up dsarch as a setuid entry:
|
|
73
|
-
pywrapper-install -l dsarch -u gdexdata
|
|
73
|
+
pywrapper-install -l|--link dsarch -u|--user gdexdata
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
`pywrapper-install` with no arguments displays the full user guide.
|
|
@@ -80,7 +80,7 @@ pywrapper-install -l dsarch -u gdexdata
|
|
|
80
80
|
Users who do not need the setuid mechanism can create a direct symlink instead:
|
|
81
81
|
|
|
82
82
|
```bash
|
|
83
|
-
pywrapper-install -l dsarch -s
|
|
83
|
+
pywrapper-install -l|--link dsarch -s|--simple
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
This creates `bin/dsarch -> bin/setuid_dsarch` and the program runs as the
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""rda_python_dsarch: dataset archive (dsarch) utility package.
|
|
2
|
+
|
|
3
|
+
This package exposes two parallel APIs:
|
|
4
|
+
|
|
5
|
+
1. Legacy module-based API (back-compat). Import the capitalized
|
|
6
|
+
submodules and call their module-level functions, e.g.::
|
|
7
|
+
|
|
8
|
+
from rda_python_dsarch import PgArch, PgMeta
|
|
9
|
+
|
|
10
|
+
2. Class-based API (preferred for new code). Import the class from the
|
|
11
|
+
lower-case module and either instantiate or subclass it, e.g.::
|
|
12
|
+
|
|
13
|
+
from rda_python_dsarch.pg_arch import PgArch
|
|
14
|
+
from rda_python_dsarch.pg_meta import PgMeta
|
|
15
|
+
|
|
16
|
+
The legacy submodules are eagerly imported below so that
|
|
17
|
+
``from rda_python_dsarch import PgArch`` continues to return the module
|
|
18
|
+
object that existing callers expect.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
from . import PgArch, PgMeta
|
|
22
|
+
|
|
23
|
+
__version__ = "2.0.21"
|
|
24
|
+
|
|
25
|
+
__all__ = [
|
|
26
|
+
"PgArch",
|
|
27
|
+
"PgMeta",
|
|
28
|
+
"__version__",
|
|
29
|
+
]
|
|
@@ -45,15 +45,15 @@ SETUP_GUIDE = """
|
|
|
45
45
|
------------------------------------------------------
|
|
46
46
|
|
|
47
47
|
# Compile the pywrapper C binary (once per environment):
|
|
48
|
-
pywrapper-install -u gdexdata
|
|
48
|
+
pywrapper-install -c|--compile -u|--user gdexdata
|
|
49
49
|
|
|
50
50
|
# Wire up dsarch as a setuid entry:
|
|
51
|
-
pywrapper-install -l dsarch -u gdexdata
|
|
51
|
+
pywrapper-install -l|--link dsarch -u|--user gdexdata
|
|
52
52
|
|
|
53
53
|
Simple Install (no sudo required, runs as current user)
|
|
54
54
|
-------------------------------------------------------
|
|
55
55
|
|
|
56
|
-
pywrapper-install -l dsarch -s
|
|
56
|
+
pywrapper-install -l|--link dsarch -s|--simple
|
|
57
57
|
|
|
58
58
|
This creates bin/dsarch -> bin/setuid_dsarch.
|
|
59
59
|
The program runs as the current user with no privilege change.
|
{rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21/src/rda_python_dsarch.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_dsarch
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.21
|
|
4
4
|
Summary: RDA Python package for utility program dsarch archive RDA data
|
|
5
5
|
Author-email: Zaihua Ji <zji@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch
|
|
@@ -85,10 +85,10 @@ Run these steps once per environment after `pip install`:
|
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
87
|
# Compile the pywrapper C binary (once per environment):
|
|
88
|
-
pywrapper-install -u gdexdata
|
|
88
|
+
pywrapper-install -c|--compile -u|--user gdexdata
|
|
89
89
|
|
|
90
90
|
# Wire up dsarch as a setuid entry:
|
|
91
|
-
pywrapper-install -l dsarch -u gdexdata
|
|
91
|
+
pywrapper-install -l|--link dsarch -u|--user gdexdata
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
`pywrapper-install` with no arguments displays the full user guide.
|
|
@@ -98,7 +98,7 @@ pywrapper-install -l dsarch -u gdexdata
|
|
|
98
98
|
Users who do not need the setuid mechanism can create a direct symlink instead:
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
pywrapper-install -l dsarch -s
|
|
101
|
+
pywrapper-install -l|--link dsarch -s|--simple
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
This creates `bin/dsarch -> bin/setuid_dsarch` and the program runs as the
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
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_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|