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

API as Python library. #13

Open
pviotti opened this issue Apr 24, 2015 · 2 comments
Open

API as Python library. #13

pviotti opened this issue Apr 24, 2015 · 2 comments

Comments

@pviotti
Copy link

pviotti commented Apr 24, 2015

First off, thanks for Blockade: it's really useful and handy.

With this "issue" I wanted to express the need for a clean and pythonic API that would allow the use of Blockade as library inside other Python scripts.

Right now it's not impossible, but it can get a bit ugly because it's all thought for command line usage.
For instance, in moses I did this to work around the command line option parser (if you think there's a better way, let me know..).

@justincinmd
Copy link

It'd be really awesome to use this tool to control inter-container networking during integration tests, and that'd be a lot easier with a public api.

@labisso
Copy link
Member

labisso commented Sep 29, 2016

With the imminent 0.3.0 release, blockade does now have a REST API but still I admit it's not very friendly to use as a python API. For our own use, we call blockade from non-python integration tests, so a python API isn't as valuable. I'll still keep this issue on the table as a future enhancement however.

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

No branches or pull requests

3 participants