Skip to main content

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

Project description

Project status

License (MIT) PyPI development status Latest PyPI version Latest Conda-Forge version OpenCollective Backers Join the chat at https://gitter.im/spyder-ide/spyder-terminal

Build status

Circle-CI build status Azure build status Coveralls Code Coverage Crowdin

Copyright © 2017–2020 Spyder Project Contributors

Overview

This is a Spyder plugin for displaying an OS independent virtual terminal inside the main Spyder window. It currently supports both Unix-like and Windows operating systems.

Spyder-Terminal allows you to easily execute any bash command inside Spyder, even ncurses programs like nano or vi:

Animated GIF of Spyder-Terminal on Linux

On Windows you can run console applications such as IPython or powershell:

Animated GIF of Spyder-Terminal on Windows

Installation

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

Using conda:

conda install spyder-terminal -c spyder-ide

Using pip (only if you don’t use conda!):

pip install spyder-terminal

Dependencies

This project depends on

Changelog

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

Server implementation

Besides a Qt terminal, 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:

# 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 -m spyder_terminal.server --port <PORT> --shell <Path to the terminal backend to execute>

Development and contribution

To start contributing to this project, you need to install the yarn and npm package managers. If you use conda, you can run the following command to do that:

conda install -c conda-forge nodejs yarn

Then, please install the package’s dependencies with:

conda create -n spyder-terminal-dev -c conda-forge --file requirements/{conda,conda_win}.txt

depending on your operating system.

Afterwards, you need to run

python setup.py build_static

to build the Javascript components for this plugin.

Finally, in order to run our test suite, please install its required dependencies with

conda install -c conda-forge --file requirements/tests.txt

and use pytest to run the server and client tests for the terminal like this

pytest .

Sponsors

Spyder is funded thanks to the generous support of

Quansight Numfocus

And the donations we have received from our users around the world through Open Collective:

Sponsors

More information

Main Website

Download Spyder (with Anaconda)

Spyder Github

Troubleshooting Guide and FAQ

Development Wiki

Gitter Chatroom

Google Group

@Spyder_IDE on Twitter

@SpyderIDE on Facebook

Support Spyder on OpenCollective

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.3.0.tar.gz (8.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

spyder_terminal-0.3.0-py3-none-win_amd64.whl (11.7 MB view details)

Uploaded Python 3Windows x86-64

spyder_terminal-0.3.0-py3-none-win32.whl (11.7 MB view details)

Uploaded Python 3Windows x86

spyder_terminal-0.3.0-py2.py3-none-any.whl (11.7 MB view details)

Uploaded Python 2Python 3

File details

Details for the file spyder-terminal-0.3.0.tar.gz.

File metadata

  • Download URL: spyder-terminal-0.3.0.tar.gz
  • Upload date:
  • Size: 8.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for spyder-terminal-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0191fa98940d8505683b68534bde119c6ff676c21f8d5f921d15f422a8247301
MD5 2d97c12e94309f06a16704a964155e29
BLAKE2b-256 c6ee6c8c18a3e2dd1dd7231ea77898fbe6d55e21c2119dbb08d87126482c039b

See more details on using hashes here.

File details

Details for the file spyder_terminal-0.3.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: spyder_terminal-0.3.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for spyder_terminal-0.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7f97e56c56b7f4b0c5ad91ef72177e340c4783ceb7e2a763a97d8dbfe91cae15
MD5 99ef736a42c74a9040f730ce6c3d53ac
BLAKE2b-256 88f5cee5955f330cc76548a956e1ac55910b2ce060efb910fd705e6b6348f13b

See more details on using hashes here.

File details

Details for the file spyder_terminal-0.3.0-py3-none-win32.whl.

File metadata

  • Download URL: spyder_terminal-0.3.0-py3-none-win32.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for spyder_terminal-0.3.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 a23275acc5abf9fb674c425d9b0982d8cd402e4132d5e7d1ad56fcf4239dec89
MD5 a4aff15d8c827f35a644454a4a1301af
BLAKE2b-256 dc022f91d1f583969349cade4bf086c49662a9ba9a548455ee7b2638913e44b0

See more details on using hashes here.

File details

Details for the file spyder_terminal-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: spyder_terminal-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for spyder_terminal-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 45779918153821ed5a40180aa43a527b5c7e8e4994a4d88f11b32bc60dc6cb10
MD5 b1f32809aed2474fe89b4d6262d24967
BLAKE2b-256 6a6ae4f2213aab06c76b00d698dad9f22b603cf9036f4b3c6f96ff6035ae5c14

See more details on using hashes here.

Supported by

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