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
Metadata
Release files for daspython 4.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| daspython-4.0.11.tar.gz | 34.5 kB | Without provenance | Details for daspython-4.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| daspython-4.0.11-py3-none-any.whl | Python 3 | none | any | Details for daspython-4.0.11-py3-none-any.whl |
Total release size: 69.0 kB
Release files / daspython-4.0.11.tar.gz
| Download URL | daspython-4.0.11.tar.gz |
|---|---|
| Size | 34.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b44cf38e6661205a6fdcb84fe23727b24d2d6bd4bc231f0ad6c229fc6d312e02
|
|
BLAKE2b-256 checksum How to use checksums |
92a408aa325887eee8596fb680d5782389e0e6f70ac08074f790a00973abac72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / daspython-4.0.11-py3-none-any.whl
| Download URL | daspython-4.0.11-py3-none-any.whl |
|---|---|
| Size | 34.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61b2d92668e4bc80fed518b3e1d50d9b4b1a464abece1b2e98a942103618a074
|
|
BLAKE2b-256 checksum How to use checksums |
06a049d3c26f55704aa7aeb6f5456b149d48cb307f166f61166316aebe360acc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for daspython 4.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.