find-similar integration for django
Project description
django-find-similar
find-similar integration for django
You can find Full Project Documentation here
Workflows
Package
Support
Downloads
Languages
Development
Menu
- Mission
- Open Source Project
- Features
- Requirements
- Development Status
- Install
- Quickstart
- Contributing
Mission
To provide find-similar integration with django projects
Open Source Project
This is the open source project with MIT license. Be free to use, fork, clone and contribute.
Features
- Django models
- Django forms
Requirements
- django, find-similar
- See more in Full Documentation
Development Status
- Package already available on PyPi
- See more in Full Documentation
Install
with pip
pip install django-find-similar
See more in Full Documentation
Quickstart
from django_find_similar.models import FindSimilarInput, Text
input_data = {
'text': Text.objects.create(text='one two'),
# 'texts': [Text.objects.create(text='one'), Text.objects.create(text='two')],
'language': "english",
'count': 5,
# 'dictionary': None,
'remove_stopwords': True,
# 'keywords': None,
}
find_similar_input = FindSimilarInput.objects.create(
**input_data
)
texts = [Text.objects.create(text='one'), Text.objects.create(text='two')]
for text in texts:
find_similar_input.texts.add(text)
find_similar_input.save()
More examples in Full Documentation
Contributing
You are welcome! To easy start please check:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-find-similar-1.3.0.tar.gz
.
File metadata
- Download URL: django-find-similar-1.3.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a83ac56940d5220ae01da3148face2c18a18f1ea93ac68f0544a90cd2eeb3d27 |
|
MD5 | 9d60b558b000cc653a48dadc4f974e19 |
|
BLAKE2b-256 | 847620394fc606fe41b2107603a1afdb2c5001835937e57141322b2efa038812 |
File details
Details for the file django_find_similar-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: django_find_similar-1.3.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ae925dfc44a7b47c0bc242aebb528d743d030e7f5b0842aeaaeb7db0a1848e |
|
MD5 | 5f5b585c76ba7c310ea3a5af70163e48 |
|
BLAKE2b-256 | c8de753ff7a2ac4b1d49b35080650644dcce09abee7339e9723ddc438609480a |