Skip to main content

find-similar integration for django

Project description

django-find-similar

find-similar integration for django

You can find Full Project Documentation here


Workflows

Tests Pylint

Package

Version Development Status Python version License Wheel

Support

Documentation Discussions Issues

Downloads

Day Downloads Week Downloads Month Downloads All Downloads

Languages

Languages Top Language

Development

  • Release date Last Commit
  • Issues Closed Issues
  • Pull Requests Closed Pull Requests
  • Discussions

Menu

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

Development Status

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

django-find-similar-1.0.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

django_find_similar-1.0.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file django-find-similar-1.0.0.tar.gz.

File metadata

  • Download URL: django-find-similar-1.0.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for django-find-similar-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bb1ab74cedb3f8e0ff795d256dfe41b79ff4bb393a5fbd35cf8cef03eecd3e77
MD5 719dba7fdca860c388dced80d6a12c57
BLAKE2b-256 dc60986fb5f07ba931c068c3a2c112e60db6102b33cbae93f02a3ef83b6f73b6

See more details on using hashes here.

File details

Details for the file django_find_similar-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_find_similar-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59e6f424ffb55b544fdb6a13f57c521249f948d0c7b14d11e2786923b5ba7325
MD5 c2516ae76b77b1da0868179f739fa044
BLAKE2b-256 419bd8501501ac20f4b5ae0e026416e4f3a391ea512df557f101f500e459d065

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page