Metadata-Version: 2.4
Name: pynpdc
Version: 0.29.0
Summary: Python lib to interact with the NPDC stack of the Norwegian Polar Institute
Author-email: Olaf Schneider <olaf.schneider@npolar.no>
License-Expression: MIT
Project-URL: Changelog, https://gitlab.npolar.no/npdc/core/pynpdc/-/blob/main/CHANGELOG.md
Project-URL: Homepage, https://gitlab.npolar.no/npdc/core/pynpdc
Project-URL: Source, https://gitlab.npolar.no/npdc/core/pynpdc
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: requests-toolbelt
Requires-Dist: typing-extensions
Requires-Dist: werkzeug

# pynpdc

`pynpdc` is a library for accessing the
[Norwegian Polar Data Centre](https://data.npolar.no/) using Python3. It
provides clients with simple methods for logging in and out as well as fetching
and manipulating datasets, attachments, records, and labels.

It is based on the following REST APIs:

- [NPDC Auth API (Komainu)](https://docs.data.npolar.no/auth/)
- [NPDC Data API (Kinko)](https://docs.data.npolar.no/api/)

## Getting started

Use

```
pip3 install pynpdc
```

to install `pynpdc` into your project.

## Jupyter

If you want to run the examples, install:

```sh
pip install jupyter urllib3 black[jupyter]
```

_(`urllib3` helps to get rid of the InsecureRequestWarning when you deal with
staging entrypoints. `black[jupyter]` will add Jupityer formatting abilities to
black)_

Then execute

```sh
jupyter lab
```

to run the user interface. The examples are found in the folder
`jupyter-notebooks`.
