Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[P] Tradeoff solved: Jupyter Notebook OR version control. Jupytext brings you the best of both worlds

The tradeoff:

Jupyter Notebooks are great for visual output. You can immediately see your output and save it for later. You can easily show it to your colleagues. However, you cannot check them into version control. The json structure is just unreadable.

Version control saves our life because it gives us control over the mighty powers of coding. We can easily see changes and focus on whats important.

Until now, those two worlds were separate. There were some trials to merge the two worlds but none of the projects really felt seamless. The developer experience just was not great.

Introducing Jupytext:

https://github.com/mwouts/jupytext

Jupytext saves two (synced) versions of your notebook. A .ipynb file and a .py file. (Other formats are possible as well.) You check the .py file into your git repo and track your changes but you work in the Jupyter notebook and make your changes there. (If you need some fancy editor commands like refactoring or multicursor, you can just edit the .py file with PyCharm, save the file, refresh your notebook and keep working).

Also, the creator and maintainer, Marc is really helpful and kind and he works really long to make jupytext work for the community. Please try out jupytext and show him some love via starring his github repo. https://github.com/mwouts/jupytext

submitted by /u/kite_and_code
[link] [comments]

Next Meetup

 

Days
:
Hours
:
Minutes
:
Seconds

 

Plug yourself into AI and don't miss a beat

 


Toronto AI is a social and collaborative hub to unite AI innovators of Toronto and surrounding areas. We explore AI technologies in digital art and music, healthcare, marketing, fintech, vr, robotics and more. Toronto AI was founded by Dave MacDonald and Patrick O'Mara.