pgcontents VS jupytext

Compare pgcontents vs jupytext and see what are their differences.

pgcontents

A Postgres-backed ContentsManager implementation for Jupyter (by quantopian)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pgcontents jupytext
2 20
149 6,425
0.0% -
0.0 8.8
about 1 year ago about 17 hours ago
Python Python
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pgcontents

Posts with mentions or reviews of pgcontents. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-29.
  • Jupyter Notebooks.
    2 projects | /r/datascience | 29 Jun 2022
    First, the format. The ipynb format does not play nicely with git since it stores the cell's source code and output in the same file. But Jupyter has built-in mechanisms to allow other formats to look like notebooks. For example, here's a library that allows you to store notebooks on a postgres database (I know this isn't practical, but it's a great example). To give more practical advice, jupytext allows you to open .py files as notebooks. So you can develop interactively but in the backend, you're storing .py files.
  • Release of IPython 8.0
    18 projects | news.ycombinator.com | 12 Jan 2022
    First, yes, this is a common question. IPython does not try to deal with that, it's just the executing engine.

    Notebooks, do not have to be stored in ipynb form, I would suggest to look at https://github.com/mwouts/jupytext, and notebook UI is inherently not design for multi-file and application developpement. So training humans will always be necessary.

    Technically Jupyter Notebook does not even care that notebooks are files, you could save then using say postgres (https://github.com/quantopian/pgcontents) , and even sync content between notebooks.

    I'm not too well informed anymore on this particular topic, but there are other folks at https://www.quansight.com/ that might be more aware, you can also ask on discourse.jupyter.org, I'm pretty sure you can find threads on those issues.

    I think on the Jupyter side we could do a better job curating and exposing many tools to help with that, but there are just so many hours in the day...

    I also recommend I don't like notebook from Joel Grus, https://www.youtube.com/watch?v=7jiPeIFXb6U it's a really funny talk, a lot of the points are IMHO invalid as Joel is misinformed on how things can be configured, but still a great watch.

jupytext

Posts with mentions or reviews of jupytext. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-19.
  • The Jupyter+Git problem is now solved
    7 projects | news.ycombinator.com | 19 Jul 2023
    9 projects | news.ycombinator.com | 25 Aug 2022
  • Do you git commit jupyter notebooks?
    2 projects | /r/datascience | 23 Jun 2023
    Jupytext (https://github.com/mwouts/jupytext) has been designed exactly for this
  • The hatred towards jupyter notebooks
    2 projects | /r/datascience | 12 Mar 2023
    jupytext is your friend.
  • Edit notebooks in Google cloud
    3 projects | /r/neovim | 19 Feb 2023
    So if you run your own jupyter server, -jupy+text can be a great workflow : it takes your notebook synchronized with other formats (python file, makdown, ...), so you can edit your py/md file with neovim, and refresh the browser to execute the notebook.
  • Rant: Jupyter notebooks are trash.
    6 projects | /r/datascience | 24 Jan 2023
    Automatically convert ipynb files to py when saving them on JupyterLab
  • Two questions regarding working with jupyter notebooks (git, vim)
    1 project | /r/learnprogramming | 14 Dec 2022
    I don't use Jupyter so I don't know for sure, but on a quick glance you might want to look at https://github.com/mwouts/jupytext to see if that could help at all.
  • JupyterLite is a JupyterLab distribution that runs in the browser
    10 projects | news.ycombinator.com | 28 Nov 2022
    The format is only partially invented, it follows Jupytext [0], but adds support for cell metadata. There is no obvious way to get that in fenced codeblocks, especially with the ability to spread it over multiple lines so it plays well with version control.

    One more consideration is that it's not "Markdown with code blocks interspersed", one might as well use plaintext or AsciiDoc.

    Of course there are tradeoffs.. I wish I had more time to work on it.

    [0]: https://github.com/gzuidhof/starboard-notebook/blob/master/d...

    [1]: https://github.com/mwouts/jupytext

  • Many write research papers in R Markdown - What is the alternative setup in Python?
    4 projects | /r/Python | 14 Jul 2022
    Using jupytext (allows you to open .md files as notebooks) + jupyter gives you pretty much the same experience. The main issue is that the cell's output will be discarded. To fix it, you can use ploomber to generate an output HTML, so the workflow goes like this:
  • Jupyter Notebooks.
    2 projects | /r/datascience | 29 Jun 2022
    First, the format. The ipynb format does not play nicely with git since it stores the cell's source code and output in the same file. But Jupyter has built-in mechanisms to allow other formats to look like notebooks. For example, here's a library that allows you to store notebooks on a postgres database (I know this isn't practical, but it's a great example). To give more practical advice, jupytext allows you to open .py files as notebooks. So you can develop interactively but in the backend, you're storing .py files.

What are some alternatives?

When comparing pgcontents and jupytext you can also consider the following projects:

jupyter_console - Jupyter Terminal Console

jupyter - An interface to communicate with Jupyter kernels.

mercury - Convert Jupyter Notebooks to Web Apps

rmarkdown - Dynamic Documents for R

bpython - bpython - A fancy curses interface to the Python interactive interpreter

sagemaker-run-notebook - Tools to run Jupyter notebooks as jobs in Amazon SageMaker - ad hoc, on a schedule, or in response to events

nbdev - Create delightful software with Jupyter Notebooks

ploomber - The fastest ⚡️ way to build data pipelines. Develop iteratively, deploy anywhere. ☁️

papermill - 📚 Parameterize, execute, and analyze notebooks

nbdime - Tools for diffing and merging of Jupyter notebooks.