Skip to content

Commit

Permalink
Links and badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
coady committed Nov 28, 2018
1 parent 3966389 commit e56b7fa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
![image](https://img.shields.io/pypi/status/lupyne.svg)
[![image](https://api.shippable.com/projects/56059e3e1895ca4474182ec3/badge?branch=master)](https://app.shippable.com/github/coady/lupyne)
[![image](https://api.shippable.com/projects/56059e3e1895ca4474182ec3/coverageBadge?branch=master)](https://app.shippable.com/github/coady/lupyne)
[![image](https://requires.io/github/coady/lupyne/requirements.svg)](https://requires.io/github/coady/lupyne/requirements/)

Lupyne is a search engine based on [PyLucene](http://lucene.apache.org/pylucene/), the Python extension for accessing Java Lucene.
Lucene is a relatively low-level toolkit, and PyLucene wraps it through automatic code generation.
Expand All @@ -27,7 +28,7 @@ import lucene
lucene.initVM()
```

Indexes are accessed through an `IndexSearcher` (read-only), `IndexWriter`, or the combined `Indexer.
Indexes are accessed through an `IndexSearcher` (read-only), `IndexWriter`, or the combined `Indexer`.

```python
from lupyne import engine
Expand Down
10 changes: 5 additions & 5 deletions lupyne/engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
abstracting away java lucene primitives.
"""

import lucene # flake8: noqa
from .analyzers import Analyzer, TokenFilter
from .queries import Query
from .documents import Document, Field, NestedField, DateTimeField, SpatialField
from .indexers import IndexSearcher, MultiSearcher, IndexWriter, Indexer
import lucene
from .analyzers import Analyzer, TokenFilter # noqa
from .queries import Query # noqa
from .documents import Document, Field, NestedField, DateTimeField, SpatialField # noqa
from .indexers import IndexSearcher, MultiSearcher, IndexWriter, Indexer # noqa

version = tuple(map(int, lucene.VERSION.split('.')))
assert version >= (7,), version
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
ignore = F402
ignore = F402,W605
max-line-length = 160
exclude = docs/conf.py

Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
long_description_content_type='text/markdown',
author='Aric Coady',
author_email='aric.coady@gmail.com',
url='https://bitbucket.org/coady/lupyne',
url='https://github.com/coady/lupyne',
project_urls={
'Documentation': 'https://lupyne.surge.sh',
},
license='Apache Software License',
packages=['lupyne', 'lupyne.engine'],
install_requires=['six'],
Expand Down

0 comments on commit e56b7fa

Please sign in to comment.