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.
Files changed (23) hide show
  1. {rda_python_dsarch-2.0.19/src/rda_python_dsarch.egg-info → rda_python_dsarch-2.0.21}/PKG-INFO +4 -4
  2. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/README.md +3 -3
  3. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/pyproject.toml +1 -1
  4. rda_python_dsarch-2.0.21/src/rda_python_dsarch/__init__.py +29 -0
  5. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/dsarch_setup.py +3 -3
  6. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21/src/rda_python_dsarch.egg-info}/PKG-INFO +4 -4
  7. rda_python_dsarch-2.0.19/src/rda_python_dsarch/__init__.py +0 -1
  8. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/LICENSE +0 -0
  9. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/MANIFEST.in +0 -0
  10. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/setup.cfg +0 -0
  11. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/PgArch.py +0 -0
  12. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/PgMeta.py +0 -0
  13. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/ds_arch.py +0 -0
  14. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/dsarch.py +0 -0
  15. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/dsarch.usg +0 -0
  16. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/pg_arch.py +0 -0
  17. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch/pg_meta.py +0 -0
  18. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
  19. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
  20. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
  21. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
  22. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
  23. {rda_python_dsarch-2.0.19 → rda_python_dsarch-2.0.21}/tests/test_dsarch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 2.0.19
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rda_python_dsarch"
7
- version = "2.0.19"
7
+ version = "2.0.21"
8
8
  authors = [
9
9
  { name="Zaihua Ji", email="zji@ucar.edu" },
10
10
  ]
@@ -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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 2.0.19
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