New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ipython-notebook-proxy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipython-notebook-proxy

A small IPython-Notebook proxy

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

IPython Notebook Proxy/Launcher

This is basically a thin wrapper around node http-proxy and repl to be able to launch multiple notebook server on the same port, and accessible at different URLs.

It also allows to host other applications than ipython notebook.

Unlike other proxy the routing scheme can be changed while the proxy is running without deconnecting the current clients, and it works out of the box with websockets.

Installation

Soon availlable on npm, I need to learn how to do it.

Righ now, Install node 0.8+ (works with 0.6 with minimal modification), install npm clone git repository, run npm install in root or repo.

Usage

$ ./bin/notebook-proxy.js
==================================
 QuickStart

> start("/ipython/",8888)
go to "localhost:8000/ipython/"

> start("/ipython-more/",7777
go to "localhost:8000/ipython-more/"

> stop_all()

> help()
For more info
==================================
>

It now listen on localhost:8000 (not on 127.0.0.1 but I have no idea why...) and you can now spawn as many notebook server using.

start($url, localport)

The proxy will now redirect any request to localport:8000/$url/ to the server. You can start as many as you want with different url/port.

Stop all servers with stop_all()

also it's a full node repl, so have fun.

PR welcome.

Keywords

FAQs

Package last updated on 17 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc