Skip to main content

OArepo whitenoise

This library serves static resources and index.html at runtime using the whitenoise package. This greatly simplifies the deployment as only one image needs to be deployed.

Installation

pip install oarepo-micro-api oarepo-whitenoise

Configuration

This library expects the static files in /whitenoise folder. If they are located elsewhere, set environment variable WHITENOISE_ROOT to the correct location.

Usage

In your wsgi configuration, specify:

[uwsgi]
module = oarepo_whitenoise.wsgi:application
...

as your wsgi entry point.

.. Copyright (C) 2021 Mirek Šimek, VŠCHT Praha.

oarepo-whitenoise is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.

Changes

Version 0.1.0 (released TBD)

  • Initial public release.

Metadata

Release files for oarepo-whitenoise 2.0.4

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

Source distribution (sdist)

Source distribution for oarepo-whitenoise 2.0.4
File Size Uploaded
oarepo-whitenoise-2.0.4.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oarepo-whitenoise 2.0.4
File Interpreter ABI Platform
oarepo_whitenoise-2.0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 11.2 kB

Release files / oarepo-whitenoise-2.0.4.tar.gz

Download URL oarepo-whitenoise-2.0.4.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c69072b1835c6d8410ad7c58265d1f8ad5ba76d591616a66944cefad516860a4
BLAKE2b-256 checksum
How to use checksums
076af1ddfd993369eedafc675ad948ae0fea3fe8576b83f00e5377d7cb4740be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release files / oarepo_whitenoise-2.0.4-py2.py3-none-any.whl

Download URL oarepo_whitenoise-2.0.4-py2.py3-none-any.whl
Size 5.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d891d76f3a46990cb9a9021fdf9f6c362b66ca55f01a82a01a2e9c53e3cd07ad
BLAKE2b-256 checksum
How to use checksums
b49d5857a7e913caff97f98c5b3fbcb4b712cf5da21efd09d4be41ca74cc5168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release history Release notifications | RSS feed

This release

2.0.4 This release

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.0

2 release files

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