Skip to main content

Allow hit count mixed objects represented into relational database, using NoSQL databases.

Motivation

Imagine that you have ordered items, and each one can be customized with diferent toppings. Example:

  • Round Pizza with toppings (Spinach, Hot Sopresatta)

  • Round Pizza with toppings (Anchovies, Fried Eggplant)

So you want to know, the number of items ordered with the same toppings.

Application provides the following methods

  • push_hit

    object: model instance

    related_objects: sequence of model instances that compound the mixed object together the object param

    hit_count: number of hits to push

  • get_hit_count

    object: model instance

    related_objects: sequence of model instances that compound the mixed object together the object param

  • get_mixed_objects

    filters: dictionary of filter to quering mixed objects

    limit: max number of mixed objects to return

    offset: skip to this position before returning the results

    order_by: order the mixed objects by these keys

Feedback

If you have questions about usage or development you can send an email to rmaceissoft at gmail dot com

Metadata

Release files for django-hitcount-mixed-object 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-hitcount-mixed-object 0.1.1
File Size Uploaded
django-hitcount-mixed-object-0.1.1.zip 8.3 kB Details

Release files / django-hitcount-mixed-object-0.1.1.zip

Download URL django-hitcount-mixed-object-0.1.1.zip
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e13a9f320f0087840946712fd10d10db713907d2ffccdd9809e58e79ac2559e1
BLAKE2b-256 checksum
How to use checksums
0b47cd57e45a8a668c9a88cbceba4fc9164d2f49192d16531e9b2948636dbba7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page