Skip to main content

No project description provided

Project description

# Zaach

_Zaach_ is an austrian term for exhausting/bothersome. Its a shortest way to express that you would rather do something else instead.

This package includes tested helpers that I wrote once and now use in a couple of projects. They should work with Python 2 and 3.

A base64 variant that is safe to be used in URLs and filesystems:

  • zaach.base64url.encode(unencoded)

  • zaach.base64url.decode(encoded)

ISO 8601 compliant time formatting:

  • zaach.time.formatter.iso_8601_duration(seconds)

_Easily_ getting a UNIX timestamp in UTC:

  • zaach.time.timestamp(utc_dt=None)

Converting a UTC datetime object to CET/CEST, whatever is used at that date and time in the _bestest_ timezone

  • zaach.time.tzconversion.utc_to_cet_or_cest(utc_dt)

A Borg object:

  • zaach.oop.borg.Borg

A Mixin to store and retrieve (expiring) values in a class

  • zaach.oop.cache.CacheMixin

Project details


Download files

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

Source Distribution

zaach-1.0.3.tar.gz (1.4 kB view details)

Uploaded Source

File details

Details for the file zaach-1.0.3.tar.gz.

File metadata

  • Download URL: zaach-1.0.3.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zaach-1.0.3.tar.gz
Algorithm Hash digest
SHA256 715d40165fe2aaf8840a64ee5bd432b3acf1818ecd0bfb06d3a755869f261aba
MD5 a25cc7ce3b229b1f2551735f4e1203d8
BLAKE2b-256 01ae2700d8a59e0ab3af199aefbef2ce741766b1a3a8158df26ae48583820a51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page