A simple HTTP friends recommendations service.
Project description
[![Build Status](https://circleci.com/gh/dutradda/friendsreco.svg?style=svg)](https://circleci.com/gh/dutradda/friendsreco) [![Coverage Status](https://coveralls.io/repos/github/dutradda/friendsreco/badge.svg?branch=master)](https://coveralls.io/github/dutradda/friendsreco?branch=master) [![PyPi Last Version](https://img.shields.io/pypi/v/friendsreco.svg)](https://pypi.python.org/pypi/friendsreco) [![PyPi Develop Status](https://img.shields.io/pypi/status/friendsreco.svg)](https://pypi.python.org/pypi/friendsreco) [![Python Versions](https://img.shields.io/pypi/pyversions/friendsreco.svg)](https://pypi.python.org/pypi/friendsreco) [![License](https://img.shields.io/pypi/l/friendsreco.svg)](https://github.com/dutradda/friendsreco/blob/master/LICENSE)
# friendsreco A simple HTTP friends recommendations service
Running locally:
Install minikube as in [doc](https://kubernetes.io/docs/tasks/tools/install-minikube/)
Install helm package manager as in [doc](https://docs.helm.sh/using_helm/)
Install friendsreco helm package: make deploy
Proxy ports: kubectl port-forward deploy/friendsreco 7474:7474 7687:7687 6000:6000 8080:8080
Activate debug messages, if desired: make debug-deploy
These steps can be used to deploy the application on cloud too.
- Running tests:
pip install tox && tox
Get friendships for the given people:
curl -i localhost:8080/friendships?who=Arthur,Mari
Get all friendships:
curl -i localhost:8080/friendships
Create recommendations:
curl -i -X POST localhost:8080/recommendations
Get recommendations for a given person:
curl -i localhost:8080/recommendations/Arthur
Get all recommendations:
curl -i localhost:8080/recommendations
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
File details
Details for the file friendsreco-0.0.11.tar.gz
.
File metadata
- Download URL: friendsreco-0.0.11.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f307ea6633cb29c5b134925199561cd2dd96164ac2864206c8dffa6408f5c9 |
|
MD5 | b9ff8aa846a691994f4896a54042d0ee |
|
BLAKE2b-256 | 5d5b8684530e8f5679552c876b7cd4623ad551a323b756e2062d86dc4bf1c6ae |