Giter VIP home page Giter VIP logo

jupyter-notebook-quick-look's Introduction

jupyter-notebook-quick-look

Preview jupyter notebooks in quick look.

Installation

Build qlgenerator using Xcode and then move jupyter-notebook-quick-look.qlgenerator to /Library/QuickLook (Note: Make sure to move it to this system-wide folder NOT the user folder ~/Library/Quicklook ! ).

Dependencies

Python 3 with jupyter installed.

Check out also the Jupyter App for opening jupyter notebooks right from the Finder!

jupyter-notebook-quick-look's People

Contributors

jendas1 avatar kant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jupyter-notebook-quick-look's Issues

this quicklook plugin hardly works for me

OS: El Capitan 10.11.3

  1. Tried to put this plugin in ~/Library/QuickLook and /Library/QuickLook, don't work. It seems that file extension .ipynb is not registered as UTI public.ipynb on my system

  2. Tested with qlmanage. I can confirm that the generated html looks good, but qlmanage doesn't show anything and just stuck there

    $ qlmanage -c public.ipynb -p ~/Documents/Untitled.ipynb
    Testing Quick Look preview with files:
    /Users/user/Documents/Untitled.ipynb
    - force using content type UTI: public.ipynb
    [NbConvertApp] Converting notebook /Users/user/Documents/Untitled.ipynb to html
    [NbConvertApp] Writing 221137 bytes to /tmp/3A9253E7-9F38-4AF1-907B-2E823E2B35DA.html
    2016-02-28 14:17:54.138 qlmanage[11064:491373] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9903, name = 'com.apple.CFPasteboardClient'
    See /usr/include/servers/bootstrap_defs.h for the error codes.
    2016-02-28 14:17:54.139 qlmanage[11064:491373] void __CFPasteboardSetup() : Failed to allocate communication port for com.apple.CFPasteboardClient; this is likely due to sandbox restrictions
    ^C

version numbers don't match

i've downloaded version 0.2 from GitHub but after download it claims to already be at version 1.0

the CFBundleShortVersionString in the Info.plist doesn't line-up with the release version

Screenshot 2020-10-29 at 11 29 05

QuickLook plugin doesn't work without the Jupyter app

It appears that the app needs to be installed when OS X is determining the universal type identifier, the UTI -- not to be confused with the medical abbreviation for urinary tract infection. This is likely because the app associates itself with *.ipynb files, then assigns a UTI to it, and then QuickLook uses that to determine which plugin to use.

launch path not accessible

Hello,

I'm afraid i can't make it work...
here's the debug with qlmanage:

[DEBUG] Previewing file:///Users/ehu/work/audio/kw/kw_process/ehusession_20juin16_process_radio/process_rawrecordings_radio.ipynb. Content type UTI: org.jupyter.ipynb. Generator used: <QLGenerator /Library/QuickLook/jupyter-notebook-quick-look.qlgenerator>
[DEBUG] Loading <QLGenerator /Library/QuickLook/jupyter-notebook-quick-look.qlgenerator>
[ERROR] Computing 6571367.40974338 raised 'launch path not accessible'
[DEBUG] Thumbnailing process_rawrecordings_radio.ipynb -- file:///Users/ehu/work/audio/kw/kw_process/ehusession_20juin16_process_radio/ - type: org.jupyter.ipynb - generator: <QLGenerator /Library/QuickLook/jupyter-notebook-quick-look.qlgenerator> (try #1)
[DEBUG] Thumbnailing file:///Users/ehu/work/audio/kw/kw_process/ehusession_20juin16_process_radio/process_rawrecordings_radio.ipynb. Content type UTI: org.jupyter.ipynb. Generator used: <QLGenerator /Library/QuickLook/jupyter-notebook-quick-look.qlgenerator>
[ERROR] Computing 6571367.40974338 raised 'launch path not accessible'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.