Feature request: Support Jupyter notebooks and IPython
See original GitHub issueI think it can not support jupyter right now, but I hope it could be done lately.
NotImplementedError Traceback (most recent call last)
<ipython-input-6-48087d91d6cf> in <module>()
5 return number
6
----> 7 number_to_bits(6)
<decorator-gen-164> in number_to_bits(number)
C:\ProgramData\Anaconda3\lib\site-packages\pysnooper\pysnooper.py in decorate(function, *args, **kwargs)
70 write=write, variables=variables,
71 depth=depth, prefix=prefix):
---> 72 return function(*args, **kwargs)
73
74 return decorate
<ipython-input-6-48087d91d6cf> in number_to_bits(number)
1 import pysnooper
2
----> 3 @pysnooper.snoop('file.log')
4 def number_to_bits(number):
5 return number
C:\ProgramData\Anaconda3\lib\site-packages\pysnooper\tracer.py in trace(self, frame, event, arg)
180
181 now_string = datetime_module.datetime.now().time().isoformat()
--> 182 source_line = get_source_from_frame(frame)[frame.f_lineno - 1]
183 self.write('{indent}{now_string} {event:9} '
184 '{frame.f_lineno:4} {source_line}'.format(**locals()))
C:\ProgramData\Anaconda3\lib\site-packages\pysnooper\tracer.py in get_source_from_frame(frame)
73 pass
74 if source is None:
---> 75 raise NotImplementedError
76
77 # If we just read the source from a file, or if the loader did not
NotImplementedError:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Jupyter and the future of IPython — IPython
Our notebook gallery is an excellent way to see the many things you can do with IPython while learning about a variety of...
Read more >Does DVC support Jupyter Notebook (.ipynb) Versioning?
DVC doesn't currently have any special integrations for Jupyter, but we've seen users use their notebooks as regular scripts by running them ...
Read more >Jupyter Notebook inside dashboard - Edge Impulse forum
Hi @Joeri,. Thanks for the feature request! You can actually already develop your own plots, graphs, and more stats by creating your own...
Read more >Jupyter/Ipython notebook rendering (#1594) · Issues - GitLab
I would like to see this issue reopened as well. The lack of Jupyter notebook support is a deal-braker when chosing between GitHub...
Read more >Working with Jupyter Notebooks in Visual Studio Code
Jupyter Notebooks in VS Code. Jupyter (formerly IPython Notebook) is an open-source project that lets you easily combine Markdown text and executable Python...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I implemented IPython support! Now just Jupyter support left.
Oh awesome, looks like that fixed Jupyter as well 😃
I made a separate task #43 to add testing for this feature. Any takers?