Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Granitosaurus/xonsh-scrapy-tabcomplete
Scrapy tabcomplete support for Xonsh shell
https://github.com/Granitosaurus/xonsh-scrapy-tabcomplete
Last synced: about 1 month ago
JSON representation
Scrapy tabcomplete support for Xonsh shell
- Host: GitHub
- URL: https://github.com/Granitosaurus/xonsh-scrapy-tabcomplete
- Owner: Granitosaurus
- License: gpl-3.0
- Created: 2016-06-28T10:32:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-24T11:10:50.000Z (over 8 years ago)
- Last Synced: 2024-05-22T06:07:06.246Z (7 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xontribs - scrapy_tabcomplete - Adds tabcomplete functionality to scrapy inside of xonsh. (Tab-completions)
README
# xonsh-scrapy-tabcomplete
Tab completion for scrapy in xonsh
[![PyPi version](https://img.shields.io/pypi/v/xonsh-scrapy-tabcomplete.svg?style=flat-square)](https://pypi.python.org/pypi/xonsh-scrapy-tabcomplete)
[![PyPi license](https://img.shields.io/pypi/l/xonsh-scrapy-tabcomplete.svg?style=flat-square)](https://pypi.python.org/pypi/xonsh-scrapy-tabcomplete)
[![PyPi license](https://img.shields.io/pypi/pyversions/xonsh-scrapy-tabcomplete.svg?style=flat-square)](https://pypi.python.org/pypi/xonsh-scrapy-tabcomplete)
Provides tab completion for [scrapy](https://github.com/scrapy/scrapy) for `xonsh` console shell users.
It provides auto-completion for commands and projects spiders.
Project's spider names are also cached in `$SCRAPY_CACHE` for every project directory for faster completion
in `scrapy crawl` and `scrapy check` commands.If new spiders are added the cache is outdated and can be refreshed with `scrapy_clear_cache` alias which is created by the contrib. It clears the cache for current working directory.
## Installation
Just do a
```console
pip install xonsh-scrapy-tabcomplete
```
or you can clone the repo via pip for the latest version
```console
pip install git+
```## Configuration
To automatically load scrapy completion at startup, put
```console
xontrib load scrapy_tabcomplete
```in your `.xonshrc`