Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation Examples #11

Open
JavaScriptDude opened this issue Feb 1, 2021 · 4 comments
Open

Implementation Examples #11

JavaScriptDude opened this issue Feb 1, 2021 · 4 comments

Comments

@JavaScriptDude
Copy link

I have been scouring the internet for implementation samples for this python-client API with no luck. Do you have sample implementations for this API?

I look forward to playing with this indradb using Python.

@ysimonson
Copy link
Member

There aren't any examples at the moment, since the python client was recently rewritten. The wikipedia example used to demonstrate the python client, but it's been rewritten to rust for better performance. The unit tests should give some idea of how to use it though.

@JavaScriptDude
Copy link
Author

JavaScriptDude commented Feb 1, 2021

I found the old version of the wikipedia example. Do you think it would be difficult for someone strong in Python to port this to use the your new Python API?

@ysimonson
Copy link
Member

It would be pretty straight-forward, as the interfaces are almost all the same. The only difference would be to avoid the capnp library, since we’re now gRPC-based.

@JavaScriptDude
Copy link
Author

Thanks. When I get a window, I will take a stab at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants