A bunch of helpers for successfully running Pyramid on Heroku.
Project description
Introduction
Installation
Just do
pip install pyramid_cloudflare_access
or
easy_install pyramid_cloudflare_access
Compatibility
pyramid_cloudflare_access runs with pyramid>=1.7 and python>=3.6. Other versions might also work.
Usage
Add Cloudfalre config to a production.ini:
pyramid_cloudflare_access.policy_audience = "my_audience" pyramid_cloudflare_access.team = "https://team.cloudfare-access.com"
More information can be found at https://developers.cloudflare.com/cloudflare-one/identity/users/validating-json#python-example
Usage example for the tween:
def main(global_config, **settings): config = Configurator(settings=settings) config.include('pyramid_cloudflare_access') return config.make_wsgi_app()
Releasing
Update CHANGES.rst.
Update pyproject.toml version.
Run poetry check.
Run poetry publish --build.
We’re hiring!
At Niteo we regularly contribute back to the Open Source community. If you do too, we’d like to invite you to join our team!
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
Built Distribution
File details
Details for the file pyramid_cloudflare_access-1.0.1.tar.gz
.
File metadata
- Download URL: pyramid_cloudflare_access-1.0.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.9 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6bb558074b58f8fc72786ec3e1f30984380b09dd5dda116ec79edfa0d9b36ac |
|
MD5 | e27f0bc4a9a17116e5c86a0be935628a |
|
BLAKE2b-256 | 29a3b762a850767b263662551ab0c17fcda3df69c3a0e34b8d2d4975be71265c |
File details
Details for the file pyramid_cloudflare_access-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyramid_cloudflare_access-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.9 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3ced550ed42946295556e617a6cee3e106b7a8af3465e67f498e1fd777909c |
|
MD5 | 48f9ede972db1d522501e79f0f2eb166 |
|
BLAKE2b-256 | fb749e349ecc290302aecc20f3c6b9c1c645ed05042428df2461acd36788fe2d |