Skip to main content

MoWAKi - Python utilities

Project description

This package provides several common utilities for MoWAKi apps.

Storage

Provides a common abstraction for file storage.

Currently supports storing data in:

  • memory (mostly for testing)

  • local filesystem (mostly for local development)

  • s3 buckets

Config

Convenience functions for loading configuration from environment variables:

import os
from mowaki.config import Config


class AppConfig(Config):
    SECRET_KEY: str
    DATABASE_URL: str
    ENABLE_FEATURE_1: bool = False


cfg = AppConfig(os.environ)

# Access loaded configuration
cfg.SECRET_KEY

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

mowaki-0.3.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

mowaki-0.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file mowaki-0.3.tar.gz.

File metadata

  • Download URL: mowaki-0.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.5

File hashes

Hashes for mowaki-0.3.tar.gz
Algorithm Hash digest
SHA256 6f22cce326a4b5738759ee780a0f3bf4ab046d51978af9f48c235ae98fb6c9db
MD5 c2da157e2b1e79c70a20b41f9078f235
BLAKE2b-256 06ce34755b4698ff72b31d18ebb241a6a5c61fc6de248867fe5d628dea607a93

See more details on using hashes here.

File details

Details for the file mowaki-0.3-py3-none-any.whl.

File metadata

  • Download URL: mowaki-0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.5

File hashes

Hashes for mowaki-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 55e77093712275f00c7998963717e8f84721b0250a94bcf73538ea5874d8fa11
MD5 f6a5125091be6423ced6727be06ab959
BLAKE2b-256 e2e367359f4d5c9d6c8568ef5bacd0ddbcd3a706ded94404e254e89d107b7c87

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