Metadata-Version: 2.4
Name: dataserverwise
Version: 2026.5.0
Summary: dataserverwisewise
Author-email: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Maintainer-email: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Project-URL: Source, https://gitlab.astro-wise.org/buddel/dataserverwise
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pynacl
Requires-Dist: psycopg2-binary
Requires-Dist: pytest
Requires-Dist: coverage

# dataserverwise

`dataserverwise` is a normal Python package for the `dataserver` part of the WISE-technology. That is, it is not a conda package.

It is initially created to support [MetisWISE](https://github.com/AstarVienna/MetisWISE/), since all other METIS packages are normal Python packages too.

Essentially it is a minimal Python package with `dataserver` as a submodule.

The pip package is uploaded to  https://pip.entropynaut.com/packages/dataserverwise/ which uses the same credentials as our conda channel (ask Hugo Buddelmeijer or Gijs Verdoes Kleijn).

## Installation
1. The [login credentials are available from the METIS wiki](https://metis.strw.leidenuniv.nl/wiki/doku.php?id=ait:archive) or can be requested from from Hugo Buddelmeijer or Gijs Verdoes Kleijn.  Set them with
   ```
   export OMEGACEN_CREDENTIALS=login:password
   ```
2. Install the package:
   ```
   pip install \
     --extra-index-url \
     https://${OMEGACEN_CREDENTIALS}@pip.entropynaut.com/packages/ \
     dataserverwise
   ```

## Building the package

1. Update the dataserver submodule.

2. Set the version in `pyproject.toml` to the desired version.

3. Build
   ```
   pip3 install build
   python3 -m build
   ```

4. Upload `dist/dataserverwise-*.tar.gz` to https://pip.entropynaut.com/packages/dataserverwise/.
   See https://metis.strw.leidenuniv.nl/wiki/doku.php?id=ait:archive for commands.
