GithubHelp home page GithubHelp logo

ferris3's Introduction

Ferris 3 Build Status

Ferris 3 is a collection of flexible utilities for Google App Engine Python.

Ferris 3 makes using App Engine services easier regardless of which web framework you're using. It provides tools for ndb, memcache, search, oauth2, google APIs, and more.

If you plan on using Google Cloud Endpoints, Ferris provides excellent standalone tooling around Cloud Endpoints that can make defining and managing your services much easier.

Examples

There are lots of tools for caching, such as the @cache decorator:

@ferris3.caching.cache('guestbook-posts', ttl=30)
def get_greetings():
    return GuestbookPost.query().order(-GuestbookPost.created).fetch(20)

@app.route('/')
def guestbook_list():
    greetings = get_greetings()
    return render_template("guestbook.html", greetings=greetings)

Read more about Ferris & Caching

Using Cloud Endpoints has never been easier:

from protorpc import messages
from ferris3 import auto_service, auto_method, Service


class BasicMessage(messages.Message):
    content = messages.StringField(1)


@auto_service
class BasicService(Service):

    @auto_method(returns=BasicMessage)
    def get(self, request, name=(str,)):
        return BasicMessage(content="Hello, %s!" % name)

Read more about Ferris & Endpoints

Getting Started & Installation

If you're using Ferris within an existing project or starting a new project with a framework other than webapp2:

  • Install Ferris via pip: pip install --pre --target=lib ferris
  • Make sure you have vendoring setup in your project. If you don't, you can use darth.
  • That's all. If you run into issues or want to see more you can checkout the Ferris 3 & Flask example.

If you're starting from scratch and you're using webapp2 or just using Cloud Endpoints:

Documentation

The documentation is generated with sphinx and is available on the ferris framework website.

Contribution & Feedback

Ferris 3 is still in the early stages and we would love to hear any feedback you have.

  • Use the mailing list for questions, comments, and general feedback.
  • Use github issues to submit bugs and feature requests.
  • Submit pull requests to help out directly.

License

Apache Version 2.0, see license in the source directory for more details.

ferris3's People

Contributors

theacodes avatar andrew-whelan avatar ghelobytes avatar kkinder avatar paulmclain avatar

Watchers

James Cloos avatar Garry Garcia 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.