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.1.0.tar.gz
.
File metadata
- Download URL: django-find-similar-1.1.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb9b6f39294d94b28a18d51c40a96a4881430b80e2f02f5e0df907a20ad37a7d |
|
MD5 | 677580d5a29fa2e9ef254f0b7d279319 |
|
BLAKE2b-256 | d35c724eb812b2da3134e16e5cb23738d8a17fa6d38c8b4829e1fa3e8b750ba7 |
File details
Details for the file django_find_similar-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_find_similar-1.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 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 | da71eb8c320b38b24eddd148271003858d1b267695d97058d55137b109c1f981 |
|
MD5 | e795602b14291c59a1ce9d0f9c63ba40 |
|
BLAKE2b-256 | 1d7ea243248f9ec02f4ef01060ca903c9a6b97196b748c20f6e956e47f22f377 |