Git Product home page Git Product logo

endpoints-management-python's Introduction

Google Endpoints API Management

https://travis-ci.org/cloudendpoints/endpoints-management-python.svg?branch=master

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 and Python 3.6.

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.

endpoints-management-python's People

Contributors

inklesspen avatar lookuptable avatar bradfriedman avatar tangiel avatar tbetbetbe avatar imeier avatar oleksiyivanenko avatar saicheems avatar 0tsuki avatar rhoboro avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.