Skip to main content

Spyder Plugin for displaying a virtual terminal (OS independent) inside the main Spyder window

Project description

Spyder Plugin for displaying a virtual terminal (OS independent) inside the main Spyder window. Currently it supports both Unix-like and Windows operating systems.

This plugin allows you to execute flawlessly any bash command inside Spyder, even ncurses applications like nano or vi, or Windows console applications such as powershell.

Project information

License Latest PyPI version Join the chat at https://gitter.im/spyder-ide/spyder-terminal

Build status

Circle-CI build status Appveyor build status Code Coverage

Installation

To install this plugin, you can use either pip or conda package managers, as it follows:

Using pip:

pip install spyder-terminal

Using conda:

conda install spyder-terminal -c spyder-ide

Dependencies

This project depends on

  1. Spyder

  2. Tornado

  3. Pexpect

  4. Coloredlogs

  5. xterm.js

We provide Windows support thanks to the Pywinpty Python bindings for the awesome Winpty library.

Changelog

Visit our CHANGELOG file to know more about our new features and improvements.

Server implementation

Besides a Qt console, spyder-terminal also provides a web-based terminal interface based on Tornado, which allows you to deploy and serve terminals from a Web/Javascript frontend. To deploy only the server, you can execute the following bash script:

cd spyder_terminal/server

# Shell option:

# On Unix systems this can be bash/tcsh/zsh or any Unix shell:
# bash: /usr/bin/env bash

# On Windows systems this might be cmd or powershell:
# cmd: %SystemRoot%\windows\system32\cmd.exe
# powershell: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

python main.py --port <PORT> --shell <Path to the terminal backend to execute>

Development and contribution

To start contributing to this project, you must have installed the bower package manager, then you can execute python setup.py install to test your changes on Spyder. We follow PEP8 and PEP257 style guidelines.

Overview

Linux animated gif

Windows animated gif

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spyder-terminal-0.2.2.tar.gz (1.7 MB view hashes)

Uploaded Source

Built Distributions

spyder_terminal-0.2.2-py3-none-win_amd64.whl (1.8 MB view hashes)

Uploaded Python 3 Windows x86-64

spyder_terminal-0.2.2-py3-none-win32.whl (1.8 MB view hashes)

Uploaded Python 3 Windows x86

spyder_terminal-0.2.2-py2.py3-none-any.whl (1.8 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page