Linux SoftwareProgrammingLibrariespydelicious 0.3.0

pydelicious 0.3.0



Developer:   regenkinder
      more software by author →
Price:  0.00
License:   Python License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


pydelicious library allows you to access the web service of del.icio.us via it's API through python.

def getrss(tag = "", popular = 0, url = '', user = ""):
get posts from del.icio.us via parsing Rss

tag (opt) sort by tag
popular (opt) look for the popular stuff
user (opt) get the posts by a user, this striks popular
url (opt) get the posts by url '''

def apiNew(user, passwd):
creates a new _DeliciousApi object
requires username and passwd

class _DeliciousAPI:
def __init__(self, user, passwd):
initialize the api with username and passwd

def tags_get(self):
get the tags

def tags_rename(self, old, new):
rename a tag

def posts_update(self):
when have the posts been updated

def posts_dates(self, tag = ""):
when have the posts been posted

def posts_get(self, tag="", dt="", url=""):
get the posts, filtering may help

def posts_recent(self, tag="", count=""):
what have been the 'latest' posts

def posts_all(self, tag=""):
get me all posts

def posts_add(self, url, description="", extended="", tags="", dt="", replace="no"):
add an post to del.icio.us

url - the url of the page you like to add
description - a description of the page, often the title of the page
extended (opt) - an extended description, could be some kind of comment
tags - tags to sort your posts
dt (opt) - current date in format ...., if no date is given, the current
date will be used

def posts_delete(self, url):
delete a post by url

def bundles_all(self):

def bundles_set(self, bundle, tags):

def bundles_delete(self, bundle):

This are short functions for common api calls.

def add(user, passwd, url, description, tags = "", extended = "", dt = "", replace="no"):
def get(user, passwd, tag="", dt="", count = 0):
def get_all(user, passwd, tag = ""):
def delete(user, passwd, url):
def rename_tag(user, passwd, oldtag, newtag):
def get_tags(user, passwd):

This are short functions for getrss calls.

def get_userposts(user):
def get_tagposts(tag):
def get_urlposts(url):
def get_popular(tag = ""):

Examples:

>>> a = apiNew(user, passwd)
>>> a.posts_add(url="http://my.com/", desciption="my.com", extended="the url is my.moc", tags="my com")
True
>>> len(a.posts_all())
1
>>> get_all(user, passwd)
1
>>>

What's New in This Release:
  • This release is mainly a rewrite.
  • It now uses external libraries.
    tags user passwd  def posts  def get  the posts  self tag  get the  url def  del icio  tag def  def bundles  the page  this are  current date  

    Download pydelicious 0.3.0


     http://deliciouspython.python-hosting.com/file/branches/pydelicious-0.3.0.tar.gz?format=raw


    Authors software

    pydelicious 0.3.0 (by regenkinder)

    delicious python 0.3.3 (by regenkinder)
    delicious python lets you access the Web service of del.icio.us via its API through Python


    Similar software

    pydelicious 0.3.0 (by regenkinder)

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    MathML::Entities 0.13 (by Jacques Distler)
    MathML::Entities is a Perl module that can convert XHTML+MathML Named Entities to Numeric Character References.

    SYNOPSIS

    use M

    OpenVPN Auth Passwd 1.1 (by Giancarlo Razzolini)
    OpenVPN Auth Passwd is a plugin that authenticates OpenVPN users using the local passwd or shadow files, using a privilege separation

    Passwd 3.0 (by Jan Schneider)
    Passwd is the Horde password changing application

    jGossip 1.0 (by Dmitry Belov)
    jGossip is simple and powerful forum (message board) software implemented on J2EE platform.It is using Struts framework.

    Features

    pwdutils 3.1.0 (by Thorsten Kukuk)
    pwdutils is a collection of utilities to manage the passwd and shadow user information

    Mod_Authz_Unixgroup 1.0.0 (by Jan Wolter)
    If you are having users authenticate with real Unix login ID over the net, using something like my mod_authnz_external / pwauth combi

    cvsdadm 0.3.2 (by Serge Gagnon)
    cvsdadm is a tool to assist CVSd administrators in the user admin of the CVSROOT/passwd, CVSROOT/readers, CVSROOT/writers files when

    commitrc 2.02 (by Xavier Renaut)
    commitrc is a tool to put your /etc files (and the like) under cvs/svn.

    It is useful to see diff in /etc/passwd, routing information


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags