Skip to content

Commit

Permalink
Merge 126734c into e86ed8e
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Muhs committed Feb 4, 2018
2 parents e86ed8e + 126734c commit 8457c8d
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 4 deletions.
9 changes: 8 additions & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,14 @@ def run(self):
license="ASL 2.0",
cmdclass=commands,
scripts=['src/py/bin/keyvi'],
packages=['keyvi', 'keyvi.cli', 'keyvi.index', 'keyvi._pycore'],
packages=['keyvi',
'keyvi.cli',
'keyvi.compiler',
'keyvi.completion',
'keyvi.dictionary',
'keyvi.index',
'keyvi.util',
'keyvi._pycore'],
package_dir={'': 'src/py'},
ext_modules=ext_modules,
zip_safe=False,
Expand Down
10 changes: 7 additions & 3 deletions python/src/py/keyvi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@
limitations under the License.
'''

# backwards compatibility for 0.2
# global keyvi concepts
from keyvi._core import MatchIterator, Match

# backwards compatibility for 0.2, deprecated, use sub-packages instead

from keyvi._core import CompletionDictionaryCompiler, CompletionDictionaryMerger, Dictionary
from keyvi._core import ForwardBackwardCompletion, FsaTransform, IntDictionaryCompiler, IntDictionaryMerger
from keyvi._core import JsonDictionaryCompiler, JsonDictionaryCompilerSmallData, JsonDictionaryMerger, JumpConsistentHashString
from keyvi._core import KeyOnlyDictionaryCompiler, KeyOnlyDictionaryGenerator, KeyOnlyDictionaryMerger, Match
from keyvi._core import MatchIterator, MultiWordCompletion, PredictiveCompression, PrefixCompletion, ReadOnlyIndex
from keyvi._core import KeyOnlyDictionaryCompiler, KeyOnlyDictionaryGenerator, KeyOnlyDictionaryMerger
from keyvi._core import MatchIterator, Match
from keyvi._core import MultiWordCompletion, PredictiveCompression, PrefixCompletion, ReadOnlyIndex
from keyvi._core import StringDictionaryCompiler, StringDictionaryMerger
23 changes: 23 additions & 0 deletions python/src/py/keyvi/compiler/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
'''
keyvi - A key value store.
Copyright 2018 Hendrik Muhs<hendrik.muhs@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'''

from keyvi._core import CompletionDictionaryCompiler, CompletionDictionaryMerger, IntDictionaryCompiler, IntDictionaryMerger
from keyvi._core import JsonDictionaryCompiler, JsonDictionaryCompilerSmallData, JsonDictionaryMerger
from keyvi._core import KeyOnlyDictionaryCompiler, KeyOnlyDictionaryGenerator, KeyOnlyDictionaryMerger
from keyvi._core import StringDictionaryCompiler, StringDictionaryMerger
20 changes: 20 additions & 0 deletions python/src/py/keyvi/completion/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
'''
keyvi - A key value store.
Copyright 2018 Hendrik Muhs<hendrik.muhs@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'''

from keyvi._core import MultiWordCompletion, PrefixCompletion, ForwardBackwardCompletion
20 changes: 20 additions & 0 deletions python/src/py/keyvi/dictionary/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
'''
keyvi - A key value store.
Copyright 2018 Hendrik Muhs<hendrik.muhs@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'''

from keyvi._core import Dictionary
20 changes: 20 additions & 0 deletions python/src/py/keyvi/util/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
'''
keyvi - A key value store.
Copyright 2018 Hendrik Muhs<hendrik.muhs@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'''

from keyvi._core import JumpConsistentHashString, FsaTransform, PredictiveCompression

0 comments on commit 8457c8d

Please sign in to comment.