daspython-1.4.1
توضیحات
DAS api client.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | daspython-1.4.1 |
| نام | daspython |
| نسخه کتابخانه | 1.4.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Royal Netherlands Institute for Sea Research |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/daspython/ |
| مجوز | - |
# Welcome to the DAS Python package
The [Royal Netherlands Institute for Sea Research](https://www.nioz.nl) 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
```powershell
$ pip install -r .\requirements.txt
```
The best way to see how each method is used is visiting out [automated test scripts](https://git.nioz.nl/ict-projects/das-python/-/tree/master/tests) page.
# Authentication
Use this class to authenticate and keep your token that will be needed to use with all other service classes.
##### Usage
```python
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
نیازمندی
| مقدار | نام |
|---|---|
| >=2.26.0 | requests |
| >=1.3.4 | pandas |
| >=1.21.4 | numpy |
| >=2021.3 | pytz |
| >=6.0 | pyyaml |
| >=2.8.2 | python-dateutil |
| >=1.8.2 | pydantic |
| >=3.10.0.2 | typing-extensions |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl daspython-1.4.1:
pip install daspython-1.4.1.whl
نصب پکیج tar.gz daspython-1.4.1:
pip install daspython-1.4.1.tar.gz