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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
mowaki-0.3-py3-none-any.whl
(9.0 kB
view hashes)