-
Notifications
You must be signed in to change notification settings - Fork 0
Add Python 3 + psycopg2 + Jupyter Notebook example #7
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
Add Python 3 + psycopg2 + Jupyter Notebook example #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @yujiyokoo!
I have run through this with @yujiyokoo, and the bones of it are working.
We have several other small improvements we want to make, but we're going to tackle them in future smaller PRs.
Only thing we need to change before merging is to put python/
under the languages/
directory.
@@ -0,0 +1,819 @@ | |||
DROP CAST IF EXISTS (text AS ore_64_8_v1_term); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The eql sql has been moved to this repo, so you can point to the release folder instead of having to copy this over.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @fimac 🙏 I've added it to this issue.
* More details * Split starting of postgres and proxy * Add SQLAlchemy section * Make dataset config empty
f1b8181
to
2f8e853
Compare
The main part of this PR is in CipherStash-Getting-Started.ipynb but I would not recommend reviewing much by looking at the file content. Instead, use of jupyter notebook is recommended.
You'd need:
Run it in the
jupyter/
directory withjupyter notebook
, selectCipherStash-Getting-Started.ipynb
and follow the instructions.This adds a Jupyter Notebook for Python 3 + psycopg2.
The sql files and dataset.yml are just copy-paste and some edit from the Ruby e2e-mlp.
docker-compose.yml starts up PostgreSQL and Proxy.
TODO: