Google Endpoints API management
Project description
Google Endpoints API Management manages the ‘control plane’ of an API by providing support for authentication, billing, monitoring and quota control.
It achieves this by
allowing HTTP servers to control access to their APIs using the Google Service Management and Google Service Control APIs
providing built-in, standards-compliant support for third-party authentication
doing this with minimal performance impact via the use of advanced caching and aggregation algorithms
making this easy to integrate via a set of WSGI middleware
Example:
>>> application = MyWsgiApp() # an existing WSGI application >>> >>> # the name of the controlled service >>> service_name = 'my-service-name' >>> >>> # The Id of a Google Cloud project with the Service Control and Service Management >>> # APIs enabled >>> project_id = 'my-project-id' >>> >>> # wrap the app for service control >>> from endpoints_management.control import client, wsgi >>> control_client = client.Loaders.DEFAULT.load(service_name) >>> control_client.start() >>> controlled_app = wsgi.add_all(application, project_id, control_client) >>> >>> # now use the controlled in place of application >>> my_server.serve(controlled_app)
Installation
Install using pip
[sudo] pip install google-endpoints-api-management
Python Versions
endpoints-management-python is currently tested with Python 2.7.
Contributing
Contributions to this library are always welcome and highly encouraged.
See the CONTRIBUTING documentation for more information on how to get started.
Versioning
This library follows Semantic Versioning
Details
For detailed documentation of the modules in endpoints-management-python, please watch DOCUMENTATION.
License
Apache - See the full LICENSE for more information.
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
Built Distribution
File details
Details for the file google-endpoints-api-management-1.11.1.tar.gz
.
File metadata
- Download URL: google-endpoints-api-management-1.11.1.tar.gz
- Upload date:
- Size: 140.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 411c05535fe5f4c09a825d3e6612d509b857c4f6cf775b222db5f6ddcb44347f |
|
MD5 | bd6e543f9843a539e34411d4b71f5ce5 |
|
BLAKE2b-256 | ae07f2728e9d409c03714b9e9c9733246c4bb52f418da58243b96d9ecd411911 |
File details
Details for the file google_endpoints_api_management-1.11.1-py2-none-any.whl
.
File metadata
- Download URL: google_endpoints_api_management-1.11.1-py2-none-any.whl
- Upload date:
- Size: 137.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6277b9bafd2a3206cccbaebfe7b8a391ef10b64a93a9091ee80275d7b357d680 |
|
MD5 | 970c5e99aa8ed1d73f9798250d115588 |
|
BLAKE2b-256 | f3b11e505a7f7d472548e93c18f19c45d0079e1f83c33ba17f7462a63075347a |