Skip to main content

PyAMS HTTP proxy

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github. Doctests are available in the doctests source folder.

What is PyAMS HTTP proxy?

PyAMS HTTP proxy is a small package which can be used to create an application proxy.

This package is using AsyncIO with Starlette and is not supposed to be used with Pyramid, but with another ASGI compatible server like GUnicorn.

The package is based on plug-ins which can be used to handle different tasks; very few plug-ins are actually available, to handle tasks like logging, Elasticsearch requests indexing or JSON body rewrites…

Changelog

1.7.1

  • corrected includes handler

1.7.0

  • added support for “includes” config option, to update initial configuration with other files or directories contents

1.6.0

  • updated Elasticsearch client settings

  • reuse current HTTP client instead of creating a new one in lifespan handler

1.5.0

  • added Elasticsearch APM support

  • updated Elasticsearch logger to handle all transport exceptions

  • updated HTTPx package API

1.4.0

  • updated Elasticsearch logger to be able to update incoming request payload before indexing; this is actually used to obfuscate elements from JSON body…

  • added tests in proxy to only decode bytes

1.3.3

  • updated proxy headers getter to handle requests and response correctly

1.3.2

  • updated proxy URL getter to handle null remotes used for service monitoring

1.3.1

  • updated request headers plug-in configuration name

1.3.0

  • added headers filter plug-in, to add or remove headers from incoming request

  • improved support for plug-ins handling request headers

1.2.0

  • added “context extension” by providing a “++ext++” URL path element; this allows to access several contexts with a same base URL

1.1.0

  • added monitoring plug-in

1.0.3

  • small update in JSON configuration file format

1.0.2

  • Gitlab-CI update

1.0.1

  • removed reference to Pyramid in doctests

1.0.0

  • initial release

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

pyams_http_proxy-1.7.1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

pyams_http_proxy-1.7.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file pyams_http_proxy-1.7.1.tar.gz.

File metadata

  • Download URL: pyams_http_proxy-1.7.1.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_http_proxy-1.7.1.tar.gz
Algorithm Hash digest
SHA256 88ac536b7d89751aad6af4f2d151018fd3f9b32a4d7d679d34ba785352bceb33
MD5 2e667e2f14a2f741c0bd6a368c209c88
BLAKE2b-256 bf9ca11d9aee8ae0eb168242ed94b5820356720ef95b5364b49469470ec97e92

See more details on using hashes here.

File details

Details for the file pyams_http_proxy-1.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyams_http_proxy-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cff27908f8c0956ef708d15a3bef9e4e05fe7a7817f6fa822539568697737d7c
MD5 da1bc14a974a3e2266fbe3e6743853db
BLAKE2b-256 2da8780914249c4ac84f0822504f030934def4ec5ffed6f0623c28e8ac753b07

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