Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Updating ipython-sql dependencies #1216

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

Closed
idomic opened this issue Apr 27, 2023 · 5 comments
Closed

Updating ipython-sql dependencies #1216

idomic opened this issue Apr 27, 2023 · 5 comments
Labels

Comments

@idomic
Copy link

idomic commented Apr 27, 2023

It might make more sense to update from ipython-sql to Jupysql.
Adding more context.

@stonebig
Copy link
Contributor

waiting to see the evolution of the noise / momentum ratio.

@stonebig
Copy link
Contributor

stonebig commented Apr 27, 2023

this ploomber-core being an indicator
image

pandasql, ipython-sql, jupyterlab-sql, pyodide droping sqlite per default ... It's not clear why SQL is a bit lacking of sustained love in Python main packages world.

information -> data -> sql -> [middleware(s)] -> insight -> display -> action

@idomic
Copy link
Author

idomic commented May 1, 2023

I'm confused, ploomber-core is a package we use internally to reduce code duplication.
Also important to note Jupysql is a fork of ipython-sql.

pandasql, ipython-sql, jupyterlab-sql, pyodide droping sqlite per default ... It's not clear why SQL is a bit lacking of sustained love in Python main packages world.

Elaborate on that?

@stonebig
Copy link
Contributor

stonebig commented May 1, 2023

ploomber-core is downloaded when I ask for jupysql

pip download --dest  C:\WinP\a jupysql
 
Successfully downloaded jupysql ipython-genutils  ploomber-core sqlglot jinja2 prettytable sqlalchemy sqlparse greenlet MarkupSafe typing-extensions click posthog pyyaml wcwidth backoff monotonic python-dateutil requests six colorama certifi charset-normalizer idna urllib3
pip download --dest  C:\WinP\a ipython-sql

Successfully downloaded ipython-sql sqlalchemy ipython ipython-genutils prettytable six sqlparse greenlet jedi prompt-toolkit pygments traitlets typing-extensions backcall colorama decorator matplotlib-inline pickleshare stack-data wcwidth asttokens executing parso pure-eval

let use free chatGPT3.5 https://learn.deeplearning.ai/chatgpt-prompt-eng/lesson

text1="Successfully downloaded jupysql ipython-genutils  ploomber-core sqlglot jinja2 prettytable sqlalchemy sqlparse greenlet MarkupSafe typing-extensions click posthog pyyaml wcwidth backoff monotonic python-dateutil requests six colorama certifi charset-normalizer idna urllib3"
text2="Successfully downloaded ipython-sql sqlalchemy ipython ipython-genutils prettytable six sqlparse greenlet jedi prompt-toolkit pygments traitlets typing-extensions backcall colorama decorator matplotlib-inline pickleshare stack-data wcwidth asttokens executing parso pure-eval"

prompt = f"""
You task is to display the words that are not in text1 but in text2
text1: ```{text1}```
text2:  ```{text2} ```
"""
response = get_completion(prompt, temperature=0)
print(response)

ipython-sql, ipython, jedi, prompt-toolkit, pygments, traitlets, backcall, decorator, matplotlib-inline, pickleshare, stack-data, asttokens, executing, parso, pure-eval

prompt = f"""
You task is to display the words that are not in text2 but in text1
text1: ```{text1}```
text2:  ```{text2} ```
"""
response = get_completion(prompt, temperature=0)
print(response)

jupysql, ploomber-core, sqlglot, jinja2, MarkupSafe, posthog, pyyaml, backoff, monotonic, python-dateutil, requests, certifi, charset-normalizer, idna, urllib3

... it changes things a bit, needs to digest

@stonebig stonebig closed this as completed May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants