Skip to main content

No project description provided

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.

To install this package use the following command:

    $ pip install daspython

Publish this package

In order to deploy this package into pypi.org execute the following commands.

Install the package in the local machine

    $  pip install -e .

Install the build/ setup tools

    $ python -m pip install --user --upgrade setuptools wheel

Install twine

    $ python pip install twine

Deploy the package into PyPi

    $ python twine upload dist/*

Generate the packages

    $ python setup.py sdist bdist_wheel

Contents

  1. Authentication
  2. Attributes
  3. Entries
  4. Entry Fields
  5. Searches

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 ...')    

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

daspython-1.0.2.tar.gz (21.7 kB view hashes)

Uploaded Source

Built Distribution

daspython-1.0.2-py3-none-any.whl (24.1 kB view hashes)

Uploaded Python 3

Supported by

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