mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #676 from maxbachmann/master
use rapidfuzz instead of fuzzywuzzy
This commit is contained in:
commit
d0f71ea6de
@ -3,7 +3,7 @@ Functionality for Bill of Material (BOM) management.
|
|||||||
Primarily BOM upload tools.
|
Primarily BOM upload tools.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from fuzzywuzzy import fuzz
|
from rapidfuzz import fuzz
|
||||||
import tablib
|
import tablib
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ from mptt.models import TreeForeignKey
|
|||||||
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from fuzzywuzzy import fuzz
|
from rapidfuzz import fuzz
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|
||||||
from InvenTree import helpers
|
from InvenTree import helpers
|
||||||
|
@ -18,7 +18,7 @@ from django.conf import settings
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from fuzzywuzzy import fuzz
|
from rapidfuzz import fuzz
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
from .models import PartCategory, Part, PartAttachment
|
from .models import PartCategory, Part, PartAttachment
|
||||||
|
@ -17,5 +17,4 @@ django-qr-code==1.1.0 # Generate QR codes
|
|||||||
flake8==3.3.0 # PEP checking
|
flake8==3.3.0 # PEP checking
|
||||||
coverage==4.0.3 # Unit test coverage
|
coverage==4.0.3 # Unit test coverage
|
||||||
python-coveralls==2.9.1 # Coveralls linking (for Travis)
|
python-coveralls==2.9.1 # Coveralls linking (for Travis)
|
||||||
fuzzywuzzy==0.17.0 # Fuzzy string matching
|
rapidfuzz==0.2.1 # Fuzzy string matching
|
||||||
python-Levenshtein==0.12.0 # Required for fuzzywuzzy
|
|
||||||
|
Loading…
Reference in New Issue
Block a user