You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Harshad Sharma b318c57dc7 Update readme. 7 years ago
ci Project skeleton with cookiecutter-pylibrary. 7 years ago
docs Project skeleton with cookiecutter-pylibrary. 7 years ago
examples Since we now depend on the interpreter path in installer template, 7 years ago
src Make installer examples more relevant. 7 years ago
tests Project skeleton with cookiecutter-pylibrary. 7 years ago
.bumpversion.cfg Project skeleton with cookiecutter-pylibrary. 7 years ago
.cookiecutterrc Project skeleton with cookiecutter-pylibrary. 7 years ago
.coveragerc Project skeleton with cookiecutter-pylibrary. 7 years ago
.editorconfig Project skeleton with cookiecutter-pylibrary. 7 years ago
.gitignore Ignore logs. 7 years ago
.travis.yml Project skeleton with cookiecutter-pylibrary. 7 years ago
AUTHORS.rst Project skeleton with cookiecutter-pylibrary. 7 years ago
CHANGELOG.rst Project skeleton with cookiecutter-pylibrary. 7 years ago
CONTRIBUTING.rst Project skeleton with cookiecutter-pylibrary. 7 years ago
LICENSE Project skeleton with cookiecutter-pylibrary. 7 years ago
MANIFEST.in Project skeleton with cookiecutter-pylibrary. 7 years ago
README.rst Update readme. 7 years ago
setup.cfg Project skeleton with cookiecutter-pylibrary. 7 years ago
setup.py install to qutebrowser's userscripts directory for easy access. 7 years ago
tox.ini Project skeleton with cookiecutter-pylibrary. 7 years ago

README.rst

========
Overview
========


Painless userscripts for qutebrowser.

* Free software: BSD license

Status
======

Very alpha, "works for me" on MacOS Sierra with Python 3.6;
if you like what you see, please test it on your platform
and help by submitting pull-requests if your current skills
allow.


Installation
============

::

    git clone https://github.com/hiway/python-qutescript.git qutescript
    cd qutescript
    pip install -e .


Usage
=====

::

    #!/usr/bin/env python

    from qutescript import userscript


    @userscript
    def hello_world(request):
        request.send_text('Hello, world!')


    if __name__ == '__main__':
        hello_world()