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

Is there a Python wrapper I can use? #40

Open
VatsalPatel93 opened this issue Jul 16, 2018 · 5 comments
Open

Is there a Python wrapper I can use? #40

VatsalPatel93 opened this issue Jul 16, 2018 · 5 comments

Comments

@VatsalPatel93
Copy link

Hey,First of all, it's an amazing effort towards building a parser. I am trying to use this tool to parse hive and vertica queries. I am able to get the example and demo working but I am not sure how to use this library from within Python. Do you have any wrapper I can use or maybe give out steps to follow?

@h4v0kh3l1
Copy link
Contributor

Hey there!

Thanks for giving this a whirl! Right now, we don't have a python wrapper available, but it's certainly a tooling we want.

In the meantime, have you looked around at other ways for running haskell on python? I think there are a few methods out there, like https://github.com/nh2/haskell-from-python, and if you get it working I'd be more than happy to document it.

Cheers,
Heli

@VatsalPatel93
Copy link
Author

I have tried that particular option and also few other options. But it seems like, specially with the option you have suggested, there is a lot of problem with package dependencies. I changed all the cabal files according to my package versions but still an error.

@LeTristanB
Copy link

Did anyone find a way to use queryparser from python?

@dlthomas
Copy link
Contributor

If memory serves, in the early days of trying to figure out how we were going to get it running on Uber infrastructure I got it working with HaPy (handing JSON to the python). That's not ultimately the path we took, so I don't know if it holds up when used in anger.

@BrandonMunozHakkoda
Copy link

Any updates or workarounds on this?

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

5 participants