DAS api client.
Project description
Welcome to the DAS Python package
The Royal Netherlands Institute for Sea Research has its data management system to help scientists archive and access their data. This tool is called: Data Archive System (DAS) and this package is its Python client.
NOTE: This package requires Python 3.8 and plus
To install using pip
$ pip install daspython
To install this package locally use the following commands:
Create a virtual environment first:
Install virtualenv if not installed.
$ pip install virtualenv
Create the virtual enviroment
$ virtualenv .venv
Activate your virtual environment (for Windows)
$ .\.venv\Scripts\activate.ps1
Deactivate your virtual environment (for Windows)
$ deactivate
Now install the dependencies
$ pip install -r .\requirements.txt
The best way to see how each method is used is visiting out automated test scripts page.
Authentication
Use this class to authenticate and keep your token that will be needed to use with all other service classes.
Usage
from daspython.auth.authenticate import DasAuth
auth = DasAuth('DAS url', 'Your user name', 'Your password')
if (auth.authenticate()):
print('You are connected ...')
Deploying this package:
$ pip install twine
Install twine
twine upload dist/*
Than follow the instructions to publish/upload the distribution files to pypi.org
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
daspython-1.4.1.tar.gz
(27.2 kB
view hashes)
Built Distribution
daspython-1.4.1-py3-none-any.whl
(28.3 kB
view hashes)
Close
Hashes for daspython-1.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e83f9ffdaa2c20696e92c11187e6841b7341836f8758f2c72efc745d02d1737a |
|
MD5 | 7356dfe30f667b95cc6f42cb517634e0 |
|
BLAKE2b-256 | 37bc7dd8648c24b0bafc65497f443fda4c66946d51516f5ee968168402fb0536 |