Giter Site home page Giter Site logo

pyqode.python's Introduction

image

Latest PyPI version

Number of PyPI downloads

image

Travis-CI build status

Coverage Status

About

pyqode.python adds python support to pyQode (code completion, calltips, ...).

Features:

  • calltips mode (using Jedi)
  • code completion provider (using Jedi)
  • code folding mode
  • auto indent mode
  • on the fly code checkers (frosted (fork of PyFlakes), PEP8)
  • a customisable python specific syntax highlighter
  • a pre-configured QPythonCodeEdit (with the corresponding Qt Designer plugin)

License

pyQode is licensed under the MIT license.

Requirements

pyqode.python depends on the following libraries:

  • python 2.7 or python 3 (>= 3.2)
  • pyqode.core
  • jedi
  • pep8
  • frosted
  • docutils

Installation

$ pip install pyqode.python --upgrade

Testing

pyqode.core has a test suite and measure its coverage.

To run the tests, just run python setup.py test

To measure coverage, run:

python setup.py test -a "--cov pyqode"

To check for PEP8 warnings, install pytest-pep8 and run:

python setup.py test -a "--pep8 -m pep8"

To run a single test, use -a "-- test_file_path.py::test_function", e.g.:

python setup.py test -a "-- test/test_api/test_code_edit.py::test_set_plain_text"

Testing Matrix

We test the following combinations on Travis-CI:

PyQt4 PyQt5
GNU/Linux - Python 2.7 yes no
GNU/Linux - Python 3.4 yes yes

pyqode.python's People

Contributors

bitdeli-chef avatar colinduquesnoy avatar mmolero avatar zwadar avatar

Watchers

 avatar  avatar

Forkers

ewerybody

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.