[](https://circleci.com/gh/dutradda/friendsreco) [](https://coveralls.io/github/dutradda/friendsreco?branch=master) [](https://pypi.python.org/pypi/friendsreco) [](https://pypi.python.org/pypi/friendsreco) [](https://pypi.python.org/pypi/friendsreco) [](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
Metadata
Release files for friendsreco 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| friendsreco-0.0.11.tar.gz | 7.6 kB | Without provenance | Details for friendsreco-0.0.11.tar.gz |
Release files / friendsreco-0.0.11.tar.gz
| Download URL | friendsreco-0.0.11.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1f307ea6633cb29c5b134925199561cd2dd96164ac2864206c8dffa6408f5c9
|
|
BLAKE2b-256 checksum How to use checksums |
5d5b8684530e8f5679552c876b7cd4623ad551a323b756e2062d86dc4bf1c6ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for friendsreco 0.0.11
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.