pyramid_cloudflare_access
=========================
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.
Heroku Review Apps deployed on `*.herokuapp.com` subdomains automatically skip the cloudflare access check as their domains are dynamic and as such can't be configured in Cloudflare dashboard in advance.
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
<https://niteo.co/careers/>`_!
Raw data
{
"_id": null,
"home_page": "https://github.com/teamniteo/pyramid_cloudflare_access",
"name": "pyramid_cloudflare_access",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "pyramid, cloudflare, pylons, web",
"author": "Niteo",
"author_email": "info@niteo.co",
"download_url": "https://files.pythonhosted.org/packages/47/3f/bf752b4583944e4f512cb6a96bde8d7c5fe4ac85a38da56053cd9220e84f/pyramid_cloudflare_access-1.2.tar.gz",
"platform": null,
"description": "pyramid_cloudflare_access\n=========================\n\nIntroduction\n------------\n\n\nInstallation\n------------\n\nJust do\n\n``pip install pyramid_cloudflare_access``\n\nor\n\n``easy_install pyramid_cloudflare_access``\n\n\nCompatibility\n-------------\n\npyramid_cloudflare_access runs with pyramid>=1.7 and python>=3.6.\nOther versions might also work.\n\nHeroku Review Apps deployed on `*.herokuapp.com` subdomains automatically skip the cloudflare access check as their domains are dynamic and as such can't be configured in Cloudflare dashboard in advance. \n\nUsage\n-----\n\nAdd Cloudfalre config to a production.ini::\n\n pyramid_cloudflare_access.policy_audience = \"my_audience\"\n pyramid_cloudflare_access.team = \"https://team.cloudfare-access.com\"\n\n\nMore information can be found at https://developers.cloudflare.com/cloudflare-one/identity/users/validating-json#python-example\n\nUsage example for the tween::\n\n def main(global_config, **settings):\n config = Configurator(settings=settings)\n config.include('pyramid_cloudflare_access')\n return config.make_wsgi_app()\n\n\nReleasing\n---------\n\n#. Update CHANGES.rst.\n#. Update pyproject.toml version.\n#. Run ``poetry check``.\n#. Run ``poetry publish --build``.\n\n\nWe're hiring!\n-------------\n\nAt Niteo we regularly contribute back to the Open Source community. If you do too, we'd like to invite you to `join our team\n<https://niteo.co/careers/>`_!\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A bunch of helpers for successfully running Pyramid on Heroku.",
"version": "1.2",
"project_urls": {
"Homepage": "https://github.com/teamniteo/pyramid_cloudflare_access"
},
"split_keywords": [
"pyramid",
" cloudflare",
" pylons",
" web"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ab185229b4978ac38a061f768934749a5e4e9fe7c2323a20761335c38689510f",
"md5": "50e9f1c60f9504c79d0aade126450756",
"sha256": "af2f47700c81bf0213158d3f27f3b5d978eea8c52fd642d98de702513cb8f12d"
},
"downloads": -1,
"filename": "pyramid_cloudflare_access-1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "50e9f1c60f9504c79d0aade126450756",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 9068,
"upload_time": "2024-11-07T20:53:38",
"upload_time_iso_8601": "2024-11-07T20:53:38.247949Z",
"url": "https://files.pythonhosted.org/packages/ab/18/5229b4978ac38a061f768934749a5e4e9fe7c2323a20761335c38689510f/pyramid_cloudflare_access-1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "473fbf752b4583944e4f512cb6a96bde8d7c5fe4ac85a38da56053cd9220e84f",
"md5": "20e8aecb44bc79d83624982130e6d2c0",
"sha256": "b9b08557e5593902269ea7c0332d24d300ae84b307019169fbf2fd4a880adf76"
},
"downloads": -1,
"filename": "pyramid_cloudflare_access-1.2.tar.gz",
"has_sig": false,
"md5_digest": "20e8aecb44bc79d83624982130e6d2c0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 6869,
"upload_time": "2024-11-07T20:53:39",
"upload_time_iso_8601": "2024-11-07T20:53:39.970417Z",
"url": "https://files.pythonhosted.org/packages/47/3f/bf752b4583944e4f512cb6a96bde8d7c5fe4ac85a38da56053cd9220e84f/pyramid_cloudflare_access-1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-07 20:53:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "teamniteo",
"github_project": "pyramid_cloudflare_access",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "pyramid_cloudflare_access"
}