• Stars
    star
    139
  • Rank 262,954 (Top 6 %)
  • Language
    Python
  • License
    Other
  • Created almost 16 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Django tagging with multilingual, synonyms and hierarchy!
=================
Django Tagging NG
=================

This is a enhanced tagging application for Django projects

- For installation instructions, see the file "INSTALL.txt" in this directory

- For detailed instructions on how to configure and know all possibilities of this application, see the file "OVERVIEW.txt"


Rquirements
-----------
Note that this application requires Python 2.3 or later, and Django 0.96 or later. You can obtain Python from http://www.python.org/ and Django from http://www.djangoproject.com/.


Quickstart
----------

1.- Register a model:

   from django.db import models
   import tagging
   from shop.apps.products.models import Widget

   class Widget(models.Model):
       name = models.CharField(max_length=50)

   tagging.register(Widget)

2.- Use it

   w = Widget.objects.get(...)

   from tagging.models import Tag, TaggedItem
   house_tag = Tag.objects.get(name='house')
   thing_tag = Tag.objects.get(name='thing')

    - Set tags for instance:
    w.tags = 'tag1 tag2'

    - Get tag for instance:
    w.tags
     [<Tag: tag1>, <Tag: tag2>]

    - Retrive instances with tag1 AND tag2
   TaggedItem.objects.get_by_model(Widget, [house_tag, thing_tag])
   [<Widget: pk=1>]

    - Retrieve filtered instances with 'tag1'
   TaggedItem.objects.get_by_model(Widget.objects.filter(price__lt=50), 'house')


    - Get all tags for a model:
   Widget.tags.all()
   [<Tag: tag1>, <Tag: tag2>>]

    - Get tags for a model with usage counts:
    Widget.tags.count()

    - Get related tags (retrieve tags used by model instances which are also tagged with tag1 and tag2)
    Widget.tags.related('tag1', min_count=1)
    [<Tag: tag2>]
    Widget.tags.related(['tag1', 'tag2'], min_count=1)
    []


Authors
-------

This application is based on the original code, written by:
    Jonathan Buchanan <[email protected]>

Enhanced by:
    Alexander Artemenko <[email protected]>
    Antti Kaihola <[email protected]>
    GW [http://gw.tnode.com/] <[email protected]>
    Concha Labra https://github.com/clabra

Sources
-------

Django-tagging-ng: http://github.com/svetlyak40wt/django-tagging-ng/
Django-tagging:    http://code.google.com/p/django-tagging/

More Repositories

1

dotfiler

Shell agnostic git based dotfiles package manager, written in Python.
Python
237
star
2

django-fields

Fields pack for django framework.
Python
126
star
3

mobile-balance

A command line utility and python library to retrive mobile balance of different mobile operators
Python
48
star
4

django-markdown2

Django template tag which uses python-markdown2 library.
Python
43
star
5

yafotkiuploader

Command line script, to upload photos to the http://fotki.yandex.ru service.
Python
42
star
6

python-processor

A command line replacement for zapier and ifttt.
Hy
38
star
7

django-globals

Thread specific global variables with middleware to hold a reference to the current user.
Python
37
star
8

scrapy-useragents

A middleware to use random user agent in Scrapy crawler.
Python
33
star
9

django-antichaos

This is a django application for visual editing your messy tag clouds. Working with django-tagging or django-tagging-ng.
JavaScript
32
star
10

thebot

General purpose chat bot, written in orthodox Python. Die Hubot, die! :)
Python
31
star
11

django-pingback

Pingback client/server implementation for Django framework (improved version).
Python
27
star
12

django-counter

Page view / redirects counter for Django framework.
Python
25
star
13

pymongo-bongo

A higher level abstraction layer and some syntax sugar for pymongo.
Python
23
star
14

django-ban

Simple middleware, to ban users by IP or to ban IP networks.
Python
22
star
15

gtdzen

Simple but flexible Getting Things Done application.
Python
21
star
16

python-cl-conditions

Implementation of the Common Lisp's conditions system in Python.
Python
18
star
17

django-faces

Django application for nonintrusive avatar support. It uses site's URL and user's email for autodiscovery.
Python
18
star
18

forkfeed

Utility to track all changes in all forks of your projects on GitHub.
Python
15
star
19

server-reloader

An easy to use server reloader
Python
15
star
20

django-apps

Django application which provides an information about other installed applications.
Python
14
star
21

django-vcs-watch

This is the app to turn your SVN, GIT or other VCS repositories in a Twitter-like social service.
Python
13
star
22

django-link-auth

Django's authentication backend to login by temporary URLs.
Python
12
star
23

django-dzenlog

Django Dzenlog is a set of models and templates, which can be used to create blogs with different kinds media.
Python
12
star
24

sbcl-lib

Example of using Common Lisp code from C (using SBCL).
C
11
star
25

twisted-lock

Fault-tolerant distributed lock with REST interface.
Python
11
star
26

svetlyak40wt.recipe.symlinks

A simple recipe for buildout, to collect symbolic links in one place.
Python
9
star
27

pagerator

A helper to build iterables when you need to fetch results already divided into the pages.
Python
9
star
28

graphite-node

A script for a painless Graphite setup.
Shell
8
star
29

python-repr

A shortcut to generate __repr__ methods for python clases.
Python
7
star
30

django-metafeed

A helper to merge few Rss or Atom feeds into the one. Works for Django.
Python
7
star
31

couchdb-performance-tests

CouchDB performance tests.
Python
7
star
32

django-basic-apps

My own django-basic-apps with blackjack and setuptools packaging!
7
star
33

osbench

Quick and dirty attempt to create a Homebrew-like package manager for Linux.
Python
6
star
34

django-autolinks

App for storing links and automatic link extraction from markdown texts.
Python
6
star
35

django-subs

This is the app to hold email subscriptions. Usually it is subscriptions for comments.
Python
6
star
36

django-dbtemplates

A Django template loader which loads templates from the database
Python
6
star
37

cl-static-resources

A small demo showing how it is easy to compile a static resource into a Common Lisp binary
Common Lisp
6
star
38

django-app-template

A template for basic django application with buildout and setuptools support.
Python
5
star
39

yafotki.lrplugin

Export plugin for Adobe Lightroom and Yandex Fotki (http://fotki.yandex.ru).
5
star
40

slowloris-test

A test of Woo and Hunchentoot Common Lisp webservers agains slowloris attack
Common Lisp
5
star
41

django-dzenlog-text

Text posts application for the Django Dzenlog, basic blogging application.
Python
4
star
42

pip

An unofficial mirror of https://svn.openplans.org/svn/pip/
Python
4
star
43

django-openid

My clone of Simon Willison's django-openid
Python
4
star
44

cookiecutter-cl-project

A boilerplate Common Lisp project's template.
Shell
4
star
45

phidippus

a common lisp web spider / web crawler
Common Lisp
4
star
46

full-feed-maker

Simple full feed maker for those sited, which has 'stripped' RSS/Atom feeds.
Python
4
star
47

cl-spath

A Common Lisp library for running search queries against s-expressions.
Common Lisp
4
star
48

ping-pong

Example of a Ping Pong game. Uses LispWorks and it's CAPI framework.
Common Lisp
4
star
49

namalizer

Normalizes method names according to PEP8.
Python
4
star
50

twiggy-goodies

These addons help to use Twiggy with third-party libraries, which use standart library's logging.
Python
4
star
51

gitorama.com

What Gitorama is? It is egocentric view on github!
Python
3
star
52

trivial-signal-example

This is a demo of TRIVIAL-SIGNAL Common Lisp library usage
Common Lisp
3
star
53

gpxcat

Script to concatenate GPX tracks from GPS navigator.
Python
3
star
54

dev.svetlyak

Content for http://dev.svetlyak.ru, developer's blog, powered by Pelican.
JavaScript
3
star
55

bempy

Attempt to adapt BEM methodology for using in python web frameworks such like Django.
Python
3
star
56

django-guts

Allows to browse source code of all "INSTALLED_APPS" in Django project.
Python
3
star
57

turbofilm

Downloader for Turbofilm.tv
JavaScript
3
star
58

yaru-bot

This is a Jabber bot for social service http://wow.ya.ru
Python
3
star
59

github-plus

Service with bells and whistles for the GitHub.
Python
3
star
60

django-dzenlog-link

This is a simple application to post links to the dzenlog.
Python
3
star
61

dot-tmux

A dotfiler config files for tmux.
Python
3
star
62

event-emitter-playground

An example of using event-emitter to make a simple chat application in Common Lisp.
Common Lisp
3
star
63

five-days-ago

Five Days Ago (for Python). Proof of the concept.
Python
2
star
64

thebot-draftin

A glue between your Pelican/Jekill powered blog and Draftin.com writing service.
Python
2
star
65

dot-zsh

A dotiler repository for zsh configuration.
Shell
2
star
66

qlot-without-roswell

A short instruction how to use Qlot from lisp REPL without Roswell
2
star
67

dot-helpers

A different command line helpers repository to be cloned with dotfiler.
2
star
68

open-sauced-goals

2
star
69

moscow-python-confpp-2021

Код и ноутбуки для моей презентации на Moscow Python Conf++ 2021
Jupyter Notebook
2
star
70

imap2rss

A program to read IMAP folder and to save it as local RSS feed.
Common Lisp
2
star
71

.vim

My vim config.
Vim Script
2
star
72

dot-osx

A dotfiler repository with my configs for OSX.
2
star
73

fabricant

A set of helpers to work with Fabric deployment.
Python
2
star
74

reshator

Помошник для принятия сложных решений.
Python
2
star
75

my-zsh-config

My own zsh configuration
2
star
76

sozigen

SVG based presentation tool to show monitoring graphs as a slideshow.
Python
2
star
77

arc-crawler

A crawler to search projects which use Arc language.
Arc
2
star
78

xslt-proxy

A proxy app which applies XSLT transformation on fly.
Python
2
star
79

colorize

Console stream colorizer: log-producer | colorize ERROR WARNING DEBUG
Python
2
star
80

dot-python-dev

Dotfiler configs to setup python development environment.
Python
2
star
81

thebot-instagram

A plugin for TheBot, to post new popular photos from the Instagram.
Python
2
star
82

array-performance

A simple benchmark to test list and arrays performance on Common Lisp
Common Lisp
2
star
83

minitage.recipe.scripts

Clone of the http://git.minitage.org/git/minitage/eggs/minitage.recipe.scripts
Python
2
star
84

things-periodical-tasks

An apple script to add a new item to the Things (a task manager from Cultured Code).
1
star
85

shark

Configs to use yandex-tank
Shell
1
star
86

stacktrack

Fresh Stack Overflow's answers tracker
Python
1
star
87

replwm

A hackable window manager implemented with Common LISP.
Common Lisp
1
star
88

help.github.com

GitHub help guides
JavaScript
1
star
89

yaru.user

Grease Monkey scripts for http://my.ya.ru blogging service.
JavaScript
1
star
90

bottle-template

Python
1
star
91

svetlyak40wt.github.com

1
star
92

thebot-webhooks

A configurable webhooks for TheBot.
Python
1
star
93

dot-arc-lisp

Arc Lisp IDE settings for Emacs.
Emacs Lisp
1
star
94

dot-git

A dotfiler environment with configs for git.
Python
1
star
95

dot-lisp

Dotfiler's config for Lisp development.
Emacs Lisp
1
star
96

towxr

Script for converting from different formats to wxr
Python
1
star
97

dot-emacs

A dotfiler repository with configs for Emacs.
Emacs Lisp
1
star
98

convert-srt

This script converts SRT subtitles from CP1251 to UTF-8
Python
1
star
99

test-spinneret

A small Common Lisp ASDF system to check if spinneret/cl-markdown loads propertly
Common Lisp
1
star
100

els2020

This example was used to demonstrate how to load a project to Ultralisp.org
Common Lisp
1
star