Skip to main content

Google Endpoints API Management

https://travis-ci.org/cloudendpoints/endpoints-management-python.svg?branch=master https://codecov.io/gh/cloudendpoints/endpoints-management-python/branch/master/graph/badge.svg

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.

Metadata

Release files for google-endpoints-api-management 1.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-endpoints-api-management 1.11.1
File Size Uploaded Provenance Actions
google-endpoints-api-management-1.11.1.tar.gz 140.4 kB Without provenance Details for google-endpoints-api-management-1.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for google-endpoints-api-management 1.11.1
File Interpreter ABI Platform Actions
google_endpoints_api_management-1.11.1-py2-none-any.whl Python 2 none any Details for google_endpoints_api_management-1.11.1-py2-none-any.whl

Total release size: 277.5 kB

Release files / google-endpoints-api-management-1.11.1.tar.gz

Download URL google-endpoints-api-management-1.11.1.tar.gz
Size 140.4 kB
Tags Source
SHA-256 checksum
How to use checksums
411c05535fe5f4c09a825d3e6612d509b857c4f6cf775b222db5f6ddcb44347f
BLAKE2b-256 checksum
How to use checksums
ae07f2728e9d409c03714b9e9c9733246c4bb52f418da58243b96d9ecd411911
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / google_endpoints_api_management-1.11.1-py2-none-any.whl

Download URL google_endpoints_api_management-1.11.1-py2-none-any.whl
Size 137.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
6277b9bafd2a3206cccbaebfe7b8a391ef10b64a93a9091ee80275d7b357d680
BLAKE2b-256 checksum
How to use checksums
f3b11e505a7f7d472548e93c18f19c45d0079e1f83c33ba17f7462a63075347a
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for google-endpoints-api-management 1.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.11.1 This release

2 release files No provenance

1.0.0b3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page