Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

daspython

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daspython

DAS api client.

  • 4.0.2
  • PyPI
  • Socket score

Maintainers
1

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

Unit Tests

python -m unittest tests/test_something.py

Deploying this package:

$ pip install twine

Install twine

twine upload dist/*

Than follow the instructions to publish/upload the distribution files to pypi.org

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc