معرفی شرکت ها


djangelo-0.1.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Tracking and rating Django Model activities with ELO system
ویژگی مقدار
سیستم عامل -
نام فایل djangelo-0.1.4
نام djangelo
نسخه کتابخانه 0.1.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Agustin Jimenez
ایمیل نویسنده agustin.j@zohomail.com
آدرس صفحه اصلی https://gitlab.com/agustinjimenez/djangelo
آدرس اینترنتی https://pypi.org/project/djangelo/
مجوز APACHE 2.0
# Djangelo Django Plugin for tracking and rating actions with ELO system. ## Implementation Example 1. You have a blog. 1. Your blog have posts. 1. Each post have comments, likes and other user reactions. 1. **You want to evaluate which posts have lower or beyond user reactions in a quantitative way** *This is your solution!* __Main Features__: - Track activity of your Django Models - Compare the activity of each Object with the activity of all objects tracked - Determine an ELO rating from this comparation __Cool Features__: - Easy to implement - Ready to use --- ## Documentation [Online](https://djangelo.rtfd.io) [PDF download](https://djangelo.rtfd.io/_/downloads/en/latest/pdf/) ## Getting Started ### Dependencies - python >= 3.5 - Django >= 3 ### Installation ~~~sh pip install djangelo ~~~ _And then, three simple steps_ __FIRST__: Add djangelo into your INSTALLED_APPS and define which models you want to track ~~~python INSTALLED_APPS = [ # ... 'django.contrib.contenttypes', 'djangelo' ] DJANGELO = { 'RATED_MODELS': [ 'myapp1.mymodel1', 'myapp1.mymodel2', 'myapp2.mymodel1', ] } ~~~ __SECOND__: Get elo values from your Model ~~~python # Adding the ELORated on your models, those will be tracked from django.db import models from djangelo.utils import EloDescriptor class MyModel(models.Model): elo = EloDescriptor() # ... here your code # You can also get and compare elo rated objects instance1.elo.value >> 3.5 instance1.elo >= instance2.elo >> True ~~~ __FINALLY__: Define when your objects increments his rating. ~~~python # To increse the elo rating just call elo.up() method myModelInstance.elo.up() myModelInstance.elo.down() ~~~ ### Customization ~~~python DJANGELO = { # Increse the sensibility for more sensitive rating. # This make more impact for each tracked activity # by default is 32 'SENSIBILITY': 64, # You can define a default ELO value for the new objects created # by default is 1200 'INITIAL_VALUE': 4000 'RATED_MODELS': [...] } ~~~ --- ### Contributing Contributors are wellcome! Any new feature will be well recibed as merge request or issue. ### Licence Licensed over APACHE 2.0. See [LICENSE](LICENSE) ### Manteiner This software is developed and mantained by [Agustin Jimenez](https://agustinjimenez.gitlab.io/portfolio).


نیازمندی

مقدار نام
~=3.0.2 Django
~=1.6.2 bandit
~=3.11.0 djangorestframework
~=3.7.9 flake8
~=0.4.1 flake8-html
~=5.4.3 pytest
~=3.9.0 pytest-django
~=2.10.0 pytest-cov
~=1.0.6 pytest-flake8
~=2.1.1 pytest-html


نحوه نصب


نصب پکیج whl djangelo-0.1.4:

    pip install djangelo-0.1.4.whl


نصب پکیج tar.gz djangelo-0.1.4:

    pip install djangelo-0.1.4.tar.gz