Skip to main content

EnviDat Python Utils

WSL
Utilities for EnviDat projects in Python.

Documentation: https://envidat.gitlab-pages.wsl.ch/envidat-python-utils/

Source Code: https://gitlabext.wsl.ch/EnviDat/envidat-python-utils


PyPi Package

  • This package aims to speed up EnviDat python workflows
  • Contains:
    • Backend API function wrappers.
    • S3 bucket class, with configurable endpoint.
    • Utils to use in multiple projects (e.g. consistent logger setup).

Install

$ pip install -U pip
$ pip install envidat-utils

Usage

from envidat.utils import get_logger
from envidat.s3 import Bucket
from envidat.api.v1 import get_package_list

Config

Environment variables:

  • LOG_LEVEL: Logging level, default INFO
  • DOTENV_PATH: Path to dotenv file if in debug mode, default=.env.
  • API_URL: URL root for the API to call, default=https://www.envidat.ch
  • TEMP_DIR: Temporary path for S3 downloads, default=/tmp
  • AWS_ENDPOINT: For S3.
  • AWS_REGION: For S3.
  • AWS_ACCESS_KEY: For S3.
  • AWS_SECRET_KEY: For S3.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

envidat-utils-1.4.13.tar.gz (64.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

envidat_utils-1.4.13-py3-none-any.whl (57.5 kB view details)

Uploaded Python 3

File details

Details for the file envidat-utils-1.4.13.tar.gz.

File metadata

  • Download URL: envidat-utils-1.4.13.tar.gz
  • Upload date:
  • Size: 64.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.4 CPython/3.10.16 Linux/5.4.0-211-generic

File hashes

Hashes for envidat-utils-1.4.13.tar.gz
Algorithm Hash digest
SHA256 937f0ebbbc4c4b353a70b1b31b2e9958967a3573f4c1572cc59120844c7a2af0
MD5 38178f02ec573e4fd5881565e99f0d3f
BLAKE2b-256 00b160ac22d5b929e6360c0f7a3f31684b7e33905950e0e4e889fd453c4aa8bd

See more details on using hashes here.

File details

Details for the file envidat_utils-1.4.13-py3-none-any.whl.

File metadata

  • Download URL: envidat_utils-1.4.13-py3-none-any.whl
  • Upload date:
  • Size: 57.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.4 CPython/3.10.16 Linux/5.4.0-211-generic

File hashes

Hashes for envidat_utils-1.4.13-py3-none-any.whl
Algorithm Hash digest
SHA256 f4fdb171781e81a4717b2bf1772db2ab7a83b6a300b631cd871c5038f42ef3c3
MD5 8d68752f75e05482cf7f7784e6e58873
BLAKE2b-256 1d7a2abe83b230d2aa4d077d8c937f37298b9eb4be50e53d8dd1452a51b07d93

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4.13 This release

2 files

1.4.12

2 files

1.4.11

2 files

1.4.10

2 files

1.4.9

2 files

1.4.8

2 files

1.4.7

2 files

1.4.5

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page