Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.203.935 Times

interssection 0.1.0

Company: Maciej Konieczny
Date Added: October 02, 2013  |  Visits: 379

interssection

Report Broken Link
Printer Friendly Version


Product Homepage
Download (32 downloads)



Python lib that lets you treat Atom and RSS feeds like sets.<br /><br />interssection provides Feed class that reads feeds from string (either URL or XML) and supports all frozenset methods apart from copy() and __contains__(elem). You can change id and title of created feed and print/save it as Atom 1.0 XML (at the moment it's the only supported output format).<br />Usage<br />In Ideal World<br /><br />from interssection import Feed<br /><br />python = Feed('???/tags/python')<br />django = Feed('???/tags/django')<br />job = Feed('???/tags/job')<br /><br />feed = (python | django) & job<br />feed.title = 'Python and Django jobs'<br />print feed<br /><br />In Real World<br /><br />#!/usr/bin/env python<br /># encoding: utf-8<br />"""<br />Create Atom 1.0 feed containing Stack Overflow questions<br />tagged with "Python" but not tagged with "Django" and save<br />it to ~/Sites/nondjango.xml so that it can be accessed at<br />http://localhost/nondjango.xml on your shiny Mac.<br />"""<br /><br />import codecs<br />from os.path import expanduser<br /><br />from interssection import Feed<br /><br /><br />def _main():<br /> # get source feeds<br /> python = Feed('http://stackoverflow.com/feeds/tag/python')<br /> django = Feed('http://stackoverflow.com/feeds/tag/django')<br /><br /> # create smart feed<br /> feed = python - django<br /> feed.title = 'Non-Django Python Questions'<br /><br /> # set unique identifier (if you're going to run this script more than<br /> # once, you may want the resultant feed to have the same id; you can<br /> # generate one with `import uuid; print uuid.uuid4().urn`)<br /> feed.id = 'urn:uuid:7cb27103-10fa-49ed-ad91-83583bb3b16a'<br /><br /> # save xml<br /> xml = unicode(feed)<br /> filepath = expanduser('~/Sites/nondjango.xml')<br /> with codecs.open(filepath, encoding='utf-8', mode='w') as f:<br /> f.write(xml)<br /><br />if __name__ == '__main__':<br /> _main()<br /><br />Installation<br /><br />[[ ! -x "`which pip`" ]] && easy_install pip<br />pip install interssection<br /><br />Python 2.7 and either pip or easy_install are required.

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Create Django Easy Install Feed Httpstackoverflowcomfeedstagdjango Feeds Feedtitle Identifier Import Install Interssection Interssectionpython Nondjango Python Questions Required Smart Source Unique
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


INTERSSECTION RELATED
Home & Leisure  -  django-easy-maps 0.7.2
This app makes it easy to display a map for given address in django templates. No API keys, manual geocoding, html/js copy-pasting or django model changes is needed. Installation pip install geopy pip install...
10.24 KB  
Programming  -  Distribute for linux 0.6.13
Distribute is a friendly fork of the setuptools utility. The Setuptools maintainer, Phillip J. Eby is not responsible of any aspect of this fork. If you install Distribute and want to switch back for any reason to Setuptools, get to the...
296.96 KB  
Networking  -  Automatic Store Feeds 3.0
This contribution is a combination of the Froogle (Google base), Yahoo, Bizrate, and the new Bidhopper Store Feed contributions plus the added admin configuration group for easy install. This contribution was created as an improvement to the...
 
Network & Internet  -  django-permissions 1.0 Beta 3
jango-permissions is a generic per-object permissions for the Django web framework. For more documentation please visit: http://packages.python.org/django-permissions/ Installation: To install django-permission,...
10.24 KB  
Web Authoring  -  LinkAssure Free RSS Feed Writer 1.0
Create your own RSS feed in 4 easy steps with LinkAssure's free web based XML RSS feed builder. Step 1- Create a title and description for your RSS feed. Step 2- Add items to your RSS feed. Step 3- Copy & paste your XML code into a text editor and...
15 KB  
Network & Internet  -  django-contenteditable 0.1
With django-contenteditable you can easily create Django apps that use the powerful HTML contenteditable attribute. Contenteditable is supported by all non-mobile browsers, including Internet Explorer (see...
10.24 KB  
Automation Tools  -  Advanced Windows Unattended Installer 1.61
Automatic Microsoft WindowsXP installation. To automatically install all software/drivers/service packs that you need after the automatic Windows XP installation, you should create automatic installation packages using the program MultiSet....
340 KB  
Web Browsers  -  Lektora f 1.0
Lektora is the FREE RSS feed aggregator that integrates seamlessly with Firefox and Internet Explorer to enable easy reading of news feeds within the web browser. Offering an intuitive user interface and highly polished aesthetic, Lektora...
1.63 MB  
Multimedia  -  Podcast Generator 0.96.2
Podcast Generator is a free web based podcast publishing script written in PHP: upload media files (audio-video) via a web form along with episode information and automatically create podcast w3c-compliant feed including iTunes specific tags. It...
 
Modules  -  Feeds Wesabe Parser 6.x-1.0
This allows transaction data to be imported from many financial institutions.Thw module can be used in conjunction with Views and Views Calc to create a simple accounting system.Installation:Unpack in your modules folder (usually...
10 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB