A RPC service to generate PDF resume based on an user's GitHub activity

  • By Pablo EmĆ­dio S.S
  • Last update: Jul 26, 2022
  • Comments: 0

RPC Service to generate pdf files of resume based on user's GitHub's activity


This repository is part of Git Resume RPC Architecture. But can be used as you pelase through nameko RPC, as seen in the example bellow.

from nameko.standalone.rpc import ClusterRpcProxy

config = {
    'AMQP_URI': AMQP_URI # e.g. "pyamqp://guest:guest@localhost"

with ClusterRpcProxy(config) as cluster_rpc:
    cluster_rpc.GitHubResume.generate_pdf({'profile_name': 'MyUser'})

or using your own service

from nameko.rpc import rpc, RpcProxy

class MyServiceName:
    name = 'MyServiceName'
    gb = RpcProxy('GitHubResume')

    def use_github_service(self, *args, **kwargs) -> dict:
        return self.gb.generate_document(args.pop(0) or kwargs['data'])