Description
Apprentice is a framework built for developing Google Actions via Dialogflow and Google Cloud (serverless) Functions.
Please see the official tutorial https://medium.com/@andrew_32881/hey-google-talk-to-24dfd336acd
Apprentice alternatives and similar packages
Based on the "Flask" category.
Alternatively, view Apprentice alternatives based on common mentions on social networks and blogs.
-
Flask RestPlus
Fully featured framework for fast, easy and documented API development with Flask -
pycord
Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API -
flask-restless
NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models. -
apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification).. -
Flask Google Maps
Easy way to add GoogleMaps to Flask applications. maintainer: @getcake -
PEP 8 Speaks
A GitHub :octocat: app to automatically review Python code style over Pull Requests -
flask_for_startups
Flask boilerplate using a services oriented structure -
Flask-Diamond
:gem: Flask-Diamond is a batteries-included Flask framework. -
discord-interactions-python
Useful tools for building interactions in Python -
Flask Paper Kit
Flask Boilerplate - Paper Kit Design | AppSeed -
#<Sawyer::Resource:0x00007f160f191eb0>
Python package for webscraping in Natural language -
flask-api-utils
Flask extension that takes care of API representation and authentication. -
Cilantropy
:four_leaf_clover: Cilantropy is a Python Package Manager interface created to provide an "easy-to-use" visual and also a command-line interface for Pythonistas. Works great on windows, linux, macos :star: -
Flask-FileAlchemy
YAML-formatted plain-text file based models for Flask backed by Flask-SQLAlchemy -
flask-ripozo
A python package for integrating ripozo with Flask -
Burrowkv
Burrowkv is a simple key-value store implementation in Python -
Flask-RESTX-boilerplate
The boilerplate for the project using restful Flask-RESTX framework -
Flask Transit
Flask App - Transit design by Pixelarity | AppSeed
Access the most powerful time series database as a service
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Apprentice or a related project?
README
Apprentice
Apprentice is a framework built for developing Google Actions via Dialogflow and Google Cloud (serverless) Functions.
Includes:
- plug-and-play feel to get going quickly
- basic Dialogflow API 2.0 response handling
- local setup for quick iteration
Installation
pip install apprentice
Quickstart
We recommend you read the full tutorial here.
A Google Action project will consist of two things:
- Dialogflow Intent
- A webhook to satisfy your users intent
To generate a "Hello World" webhook, run:
$ apprentice init
This will create a file structure:
src/
main.py
requirements.txt
Run a local server with
$ apprentice run
and expose to localhost port via an https tunnel. Then add the url to the fulfillment webhook in Dialogflow.
For a more indepth example please see the tutorial I wrote here.
Deployment
Note
gcloud
cli must be installed and authorized for the following command
to work. If you wish to not have gcloud
cli installed, you can copy the file contents via the gcloud
function dashboard.
$ apprentice -f hello_world -s hello_world_agent -e hello_world
This will generate the command to execute a gcloud function deploy
via the cli.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
*Note that all licence references and agreements mentioned in the Apprentice README section above
are relevant to that project's source code only.