rego-python icon indicating copy to clipboard operation
rego-python copied to clipboard

Feature Request: publish on pip

Open anadon opened this issue 6 years ago • 3 comments

Pulling from some of your examples, this repo seems to be made available as 'rego'. Since I'm working in python, it would be nice to have this pulled in without just copying the code in.

You guys might also consider adding some of the other neat python features in here, too. At the time of this writing, I'll be copying in some of the SQL translation code, but I'd rather import it if I could.

anadon avatar Jan 31 '19 23:01 anadon

@anadon do you mean that you'd like to see this on pypi? I'm not opposed to that, it's just extra work for me at the moment. Would it be a problem to pip install from git for the time being? maybe @repenno has thoughts since he worked on a python client for OPA already.

tsandall avatar Feb 01 '19 16:02 tsandall

Probably? I've been coding python for only a few weeks now. I'll do that for now.

anadon avatar Feb 01 '19 20:02 anadon

We're currently doing that inside the contrib repository. https://github.com/open-policy-agent/contrib/blob/master/data_filter_example/requirements.txt#L4

tsandall avatar Feb 01 '19 22:02 tsandall