Skip to main content

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

Project description

spyder-terminal
===============

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| |pypi version| |gitter|


Build status
------------

|circleci status| |appveyor status| |coverage|


.. |appveyor status| image:: https://img.shields.io/appveyor/ci/spyder-ide/spyder-terminal/master.svg
:target: https://ci.appveyor.com/project/spyder-ide/spyder-terminal
:alt: Appveyor build status
.. |circleci status| image:: https://img.shields.io/circleci/project/github/spyder-ide/spyder-terminal/master.svg
:target: https://circleci.com/gh/spyder-ide/spyder-terminal/tree/master
:alt: Circle-CI build status
.. |license| image:: https://img.shields.io/pypi/l/spyder-terminal.svg
:target: LICENSE.txt
:alt: License
.. |pypi version| image:: https://img.shields.io/pypi/v/spyder-terminal.svg
:target: https://pypi-hypernode.com/pypi/spyder-terminal
:alt: Latest PyPI version
.. |coverage| image:: https://coveralls.io/repos/github/spyder-ide/spyder-terminal/badge.svg
:target: https://coveralls.io/github/spyder-ide/spyder-terminal?branch=master
:alt: Code Coverage
.. |gitter| image:: https://badges.gitter.im/spyder-ide/spyder-terminal.svg
:target: https://gitter.im/spyder-ide/spyder-terminal
:alt: Join the chat at https://gitter.im/spyder-ide/spyder-terminal
.. |backers| image:: https://opencollective.com/spyder/backers/badge.svg?color=blue
:target: #backers
:alt: OpenCollective Backers
.. |sponsors| image:: https://opencollective.com/spyder/sponsors/badge.svg?color=blue
:target: #sponsors
:alt: OpenCollective Sponsors


Important Announcement: Spyder is unfunded!
-------------------------------------------

Since mid November/2017, `Anaconda, Inc`_ has
stopped funding Spyder development, after doing it for the past 18
months. Because of that, development will focus from now on maintaining
Spyder 3 at a much slower pace than before.

If you want to contribute to maintain Spyder, please consider donating at

https://opencollective.com/spyder

We appreciate all the help you can provide us and can't thank you enough for
supporting the work of Spyder devs and Spyder development.

If you want to know more about this, please read this
`page`_.


.. _Anaconda, Inc: https://www.anaconda.com/
.. _page: https://github.com/spyder-ide/spyder/wiki/Anaconda-stopped-funding-Spyder



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 <https://github.com/spyder-ide/spyder>`_
2. `Tornado <https://github.com/tornadoweb/tornado>`_
3. `Pexpect <https://github.com/pexpect/pexpect>`_ (*nix Systems)
4. `pywinpty <https://github.com/spyder-ide/pywinpty>`_ (Windows Systems)
4. `Coloredlogs <https://github.com/xolox/python-coloredlogs>`_
5. `xterm.js <https://github.com/sourcelair/xterm.js>`_


Changelog
---------

Visit our `CHANGELOG <https://github.com/spyder-ide/spyder-terminal/blob/master/CHANGELOG.md>`_
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-gif|

|windows-gif|

.. |linux-gif| image:: https://github.com/spyder-ide/spyder-terminal/blob/master/doc/example.gif?raw=true
:alt: Linux animated gif

.. |windows-gif| image:: https://github.com/spyder-ide/spyder-terminal/blob/master/doc/windows.gif?raw=true
:alt: Windows animated gif

~~~~~~~

Support us with a monthly donation and help us continue our activities.

.. image:: https://opencollective.com/spyder/backers.svg
:target: https://opencollective.com/spyder#support
:alt: Backers

Sponsors
~~~~~~~~

Become a sponsor to get your logo on our README on Github.

.. image:: https://opencollective.com/spyder/sponsors.svg
:target: https://opencollective.com/spyder#support
:alt: Sponsors


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

Uploaded Source

Built Distributions

spyder_terminal-0.2.4-py2.py3-none-win_amd64.whl (1.8 MB view details)

Uploaded Python 2 Python 3 Windows x86-64

spyder_terminal-0.2.4-py2.py3-none-win32.whl (1.8 MB view details)

Uploaded Python 2 Python 3 Windows x86

spyder_terminal-0.2.4-py2.py3-none-any.whl (1.8 MB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for spyder-terminal-0.2.4.tar.gz
Algorithm Hash digest
SHA256 e83147c8a25123ed99baa0da17ed58318a442aad18d1bdf6815c7ee899910c10
MD5 c7fd1344487c0e347512884b56bcb2d1
BLAKE2b-256 205f695f4af32240d11a3c83dc7fdf18df8d019dbee4708a8300a27e5bdd012d

See more details on using hashes here.

Provenance

File details

Details for the file spyder_terminal-0.2.4-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for spyder_terminal-0.2.4-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0c7d2dcf886f47584af3800e98b2748d00da9995e3663146e9f98a1f75df9156
MD5 b3c9711b007e1500c10ae382c0a939d6
BLAKE2b-256 63fb4de6ae58b00e2ec8ef33ca7c8d18988b175484a3fce11a7f82de5ce32316

See more details on using hashes here.

Provenance

File details

Details for the file spyder_terminal-0.2.4-py2.py3-none-win32.whl.

File metadata

File hashes

Hashes for spyder_terminal-0.2.4-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 a2fe12300cc5bd86290591fd7773f128fc20e872991c5813c3fab28403476839
MD5 93bfbe00e1acd897613b846a14d46c64
BLAKE2b-256 f026aed9504e8cbf95241667783e21c891af070e3c24dd3146c19923a700d619

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for spyder_terminal-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 930b031ea6bd10294a1c2c75ac1ee812eb0f72d2c2ed32ba3fa060e934e49198
MD5 f4ddb745d455672c9b0ce4453e80f7e9
BLAKE2b-256 cc0275c277429fa1ddc5316dda3d2b85cbfbb50aa4190cfb30783f571b213ff9

See more details on using hashes here.

Provenance

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