Skip to main content

RDA Python package for utility program dsarch archive RDA data

Project description

dsarch

Python project to archive and maintain datasets for the NSF NCAR Geoscience Data Exchange (GDEX).

The user guide for this utility tool can be viewed at: User guide.

Setuid Setup

dsarch is executed as the common user gdexdata via the rda_python_setuid setuid mechanism. rda_python_setuid is declared as a dependency and is installed automatically with this package.

Environment setup

Option A — Python venv (DECS machines)

python3 -m venv $ENVHOME          # e.g. /glade/u/home/gdexdata/gdexmsenv
source $ENVHOME/bin/activate
pip install rda_python_dsarch

Option B — Conda (DAV/Casper)

conda activate pg-gdex            # e.g. /glade/work/gdexdata/conda-envs/pg-gdex
pip install rda_python_dsarch

Full setuid install (requires sudo access to gdexdata)

Run these steps once per environment after pip install:

# Compile the pywrapper C binary (once per environment):
pywrapper-install -u gdexdata

# Wire up dsarch as a setuid entry:
pywrapper-install -l dsarch -u gdexdata

pywrapper-install with no arguments displays the full user guide.

Simple install (no sudo required, runs as current user)

Users who do not need the setuid mechanism can create a direct symlink instead:

pywrapper-install -l dsarch -s

This creates bin/dsarch -> bin/setuid_dsarch and the program runs as the current user with no privilege change.

Setup guide

After pip install, run dsarch-setup at any time to display the setup guide:

dsarch-setup

The guide is also shown automatically if setuid_dsarch is invoked directly before the setuid wrapper has been configured.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rda_python_dsarch-2.0.18.tar.gz (144.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rda_python_dsarch-2.0.18-py3-none-any.whl (148.8 kB view details)

Uploaded Python 3

File details

Details for the file rda_python_dsarch-2.0.18.tar.gz.

File metadata

  • Download URL: rda_python_dsarch-2.0.18.tar.gz
  • Upload date:
  • Size: 144.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rda_python_dsarch-2.0.18.tar.gz
Algorithm Hash digest
SHA256 3942b54e91bef1375241155f92ffbd63f7f1acc762ddf909ca463e6c2e6c68a9
MD5 1a85ca44738fc81f3264c81839c88c5a
BLAKE2b-256 93d620648c75c829b7dd10a0c3fd924356838cea7fed5b5c7b4972e8cf71e9ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for rda_python_dsarch-2.0.18.tar.gz:

Publisher: publish.yml on NCAR/rda-python-dsarch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rda_python_dsarch-2.0.18-py3-none-any.whl.

File metadata

File hashes

Hashes for rda_python_dsarch-2.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 e1fac008f3048d3e45e8d2a21e2498611e7329302bb8829f38c435a9665f0e54
MD5 f6826ea4a3c301e692b92b950a4c16d5
BLAKE2b-256 f701f4514d00a44111bc07904c8e4dac01ef630926406ed051a098b00ed7775a

See more details on using hashes here.

Provenance

The following attestation bundles were made for rda_python_dsarch-2.0.18-py3-none-any.whl:

Publisher: publish.yml on NCAR/rda-python-dsarch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page