{"id":29463649,"url":"https://github.com/fiddlerwoaroof/jsonrpc","last_synced_at":"2025-07-14T05:38:19.247Z","repository":{"id":62572918,"uuid":"355388938","full_name":"fiddlerwoaroof/jsonrpc","owner":"fiddlerwoaroof","description":"A JSON-RPC implementation in Python","archived":false,"fork":false,"pushed_at":"2021-04-07T02:59:42.000Z","size":871,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T05:17:00.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fiddlerwoaroof.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-07T02:30:43.000Z","updated_at":"2025-06-04T07:11:59.000Z","dependencies_parsed_at":"2022-11-03T18:30:23.597Z","dependency_job_id":null,"html_url":"https://github.com/fiddlerwoaroof/jsonrpc","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/fiddlerwoaroof/jsonrpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiddlerwoaroof%2Fjsonrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiddlerwoaroof%2Fjsonrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiddlerwoaroof%2Fjsonrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiddlerwoaroof%2Fjsonrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fiddlerwoaroof","download_url":"https://codeload.github.com/fiddlerwoaroof/jsonrpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiddlerwoaroof%2Fjsonrpc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265246229,"owners_count":23734111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-14T05:38:18.554Z","updated_at":"2025-07-14T05:38:19.227Z","avatar_url":"https://github.com/fiddlerwoaroof.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A JSON-RPC 2.0 implementation for Python (Python 3 now supported!)\n\n\n## Getting Started\n### Installing the librarary:\n\n    % python setup.py install\n\n  Alternatively, one can use the following commands from the directory which contains the 'setup.py' file.\n\n### Start the Server:\n\n    % python -m jsonrpc.example_server\n    Listening on port 8007...\n\n### Start the Client:\n\n  Python 2.7: `python -m jsonrpc \u003chost name\u003e`\n\n  Python 2.6: `python -m jsonrpc.__main__ \u003chost name\u003e`\n\n\n    \u003e\u003e\u003e server.add(1, 2)\n    3\n\n    \u003e\u003e\u003e server.subtract(3,2)\n    1\n\n    # Exceptions\n    \u003e\u003e\u003e server.add(1, '2')\n    Traceback (most recent call last):\n      File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n      File \"jsonrpc/proxy.py\", line 182, in __call__\n        raise JSONRPCException(resp['error'])\n    jsonrpc.proxy.JSONRPCException: unsupported operand type(s) for +: 'int' and 'unicode'\n\n\n    \u003e\u003e\u003e server.batch_call( dict(add=( (1,2), {} ), subtract=( (3,2), {} )) )\n    [(3, None), (1, None)] # the pattern is (result, error)\n\n    # batch calls can also be done with an iterable, if you want\n    # to have more than one call to the same method\n    \u003e\u003e\u003e server.batch_call( [('add', ((1, 2), {})), ('subtract', ((3, 2), {}))] )\n    [(3, None), (1, None)]\n\n    # Exceptions in batch calls\n    \u003e\u003e\u003e server.batch_call( dict(add=( (1,2), {} ), subtract=( (3,'2'), {} )) )\n    [(3, None), (None, {u'message': u\"unsupported operand type(s) for -: 'int'\n      and 'unicode'\", u'code': 0, u'data': [u\"unsupported operand type(s) for -:\n      'int' and 'unicode'\"]})]\n\n\n\nMade for:\n    http://ncmi.bcm.edu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiddlerwoaroof%2Fjsonrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiddlerwoaroof%2Fjsonrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiddlerwoaroof%2Fjsonrpc/lists"}