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-tbafork-2.0.0.dev1.tar.gz
.
File metadata
- Download URL: google-endpoints-api-management-tbafork-2.0.0.dev1.tar.gz
- Upload date:
- Size: 91.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cf0d2ba73c23b268ec372b3d73d09d12f0e4dcb715e1fc66a9563e3fce9e3ea |
|
MD5 | 3f414f897801cce405d70d642d8a5798 |
|
BLAKE2b-256 | 4524ddd332fb8b71280719f8f0ac18742f8929139ab8950ac4b42a8c24436ebc |
File details
Details for the file google_endpoints_api_management_tbafork-2.0.0.dev1-py3-none-any.whl
.
File metadata
- Download URL: google_endpoints_api_management_tbafork-2.0.0.dev1-py3-none-any.whl
- Upload date:
- Size: 80.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b74dedb81f7f401cd34eaf2f774ecce57ff668509a6623f183115cea51fd91e |
|
MD5 | a58df8083078efa0429ba6787684659f |
|
BLAKE2b-256 | 1af97d147b8bea03e74f0539661963b961d6c99706d4cddb7a8c0d3da867bb53 |