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.

Metadata

Release files for envidat-utils 1.4.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for envidat-utils 1.4.13
File Size Uploaded Provenance
envidat-utils-1.4.13.tar.gz 64.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for envidat-utils 1.4.13
File Interpreter ABI Platform
envidat_utils-1.4.13-py3-none-any.whl Python 3 none any Details

Total release size: 122.3 kB

Release files / envidat-utils-1.4.13.tar.gz

Download URL envidat-utils-1.4.13.tar.gz
Size 64.8 kB
Tags Source
SHA-256 checksum
How to use checksums
937f0ebbbc4c4b353a70b1b31b2e9958967a3573f4c1572cc59120844c7a2af0
BLAKE2b-256 checksum
How to use checksums
00b160ac22d5b929e6360c0f7a3f31684b7e33905950e0e4e889fd453c4aa8bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.22.4 CPython/3.10.16 Linux/5.4.0-211-generic

Release files / envidat_utils-1.4.13-py3-none-any.whl

Download URL envidat_utils-1.4.13-py3-none-any.whl
Size 57.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4fdb171781e81a4717b2bf1772db2ab7a83b6a300b631cd871c5038f42ef3c3
BLAKE2b-256 checksum
How to use checksums
1d7a2abe83b230d2aa4d077d8c937f37298b9eb4be50e53d8dd1452a51b07d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.22.4 CPython/3.10.16 Linux/5.4.0-211-generic

Security for envidat-utils 1.4.13

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.

Release history Release notifications | RSS feed

This release

1.4.13 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page