No description
  • Python 99.2%
  • Shell 0.3%
  • Perl 0.3%
  • Batchfile 0.1%
Find a file
Laurent Bachelier b4b7182960 Make Collection more safe and sane
* Remove callbacks in Collection object
  Make Collection a "dumb" object (and also a base object,
  though it isn't very useful for now)
* Rename Path to WorkingPath, because it is more about managing state
  than being a single path.
* Rewrite almost all WorkingPath, because the code was overly
  complicated for no reason (I tried some special cases and it turned
  out that fromstring didn't handle them, and that the
  quote-escape-unquote was just unecessary). I also rewrote it to be
  more pythonic (no more lambdas and maps) and added tests.
* Require the full split path when creating a Collection. Because, come to
  think of it, an object needs an unique identifier; in the case of
  Collections, it is the full path, not only its last part.
  I might even replace the id by the full split path in the future.
* There is now only one way to get items of a Collection: calling
  iter_resources().
* Rewrite flatten_resources to iter_resources_flat(), which just calls
  iter_resources() recursively.
* Rewrite the collection part of the canalplus module. There is no more
  callback or a page calling the browser to check another page!
  The logic is only in iter_resources().
  The resulting code is not very pretty, but it should get better.
  As a bonus, avoid to reload the main XML file when we already have it
  open.
* change_path() now expects a split path and not a string.
* up/home special cases for "cd" are handled in the same place, and
  store the previous place properly (but are not yet exploitable by
  an user command).

This is a big commit but it would be hard to split it in *working*
commits.

If you read this entire commit message, I will buy you a beer.

refs #774
fixes #773
2012-03-13 22:08:45 +01:00
contrib Add missing close 2012-03-13 17:25:15 +01:00
desktop rename havesex and QHaveSex to havedate and QHaveDate 2012-03-03 22:59:17 +01:00
docs bump to 0.b 2012-02-05 19:35:30 +01:00
icons rename havesex and QHaveSex to havedate and QHaveDate 2012-03-03 22:59:17 +01:00
man add manpages for flatboob and QFlatBoob 2012-03-03 23:00:16 +01:00
modules Make Collection more safe and sane 2012-03-13 22:08:45 +01:00
scripts First implementation of boobill application 2012-03-13 22:01:10 +01:00
tools Fix Python 2.5 support 2012-03-13 12:36:02 +01:00
weboob Make Collection more safe and sane 2012-03-13 22:08:45 +01:00
.gitignore Ignore automatically generated modules.list 2012-01-17 18:03:15 +01:00
AUTHORS update AUTHORS 2012-03-13 22:03:09 +01:00
ChangeLog Weboob 0.a released 2012-02-05 19:35:30 +01:00
COPYING change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
INSTALL remove duplicate line 2010-11-25 16:39:05 +01:00
MANIFEST.in Include base documentation files in package 2012-03-11 01:33:27 +01:00
README fix licenses to AGPLv3+ 2011-06-22 16:20:20 +02:00
release.sh generate manpages before releasing 2011-08-04 10:00:50 +02:00
setup.py Better package description 2012-03-11 01:33:27 +01:00

Weboob is a project which provides a core library, backends and applications.

Overview
--------

The core library defines capabilities: features common to various websites. For
example, http://www.youtube.com and http://www.dailymotion.com are both videos
providers: Weboob defines the “ICapVideo” capability.

Each backend interfaces a website and implements one or many of these
capabilities. Backends can be configured, which means that the end-user can
provide personal information to access the underlaying website (login/password
for example).

Applications offer the ability to the end-user to work with many backends in
parallel, in a multi-threaded way. For example, one could search a video on
many providers websites. Applications are toolkit-agnostic. They can use Gtk,
Qt or text-only, more adapted to reuse data through pipes.

The core library provides base classes which help the developer to write
backends and applications.

Weboob is written in Python and is distributed under the AGPLv3+ license.


Bash completion
---------------

To enable bash completion, just source the tools/weboob_bash_completion
file from your ~/.bash_completion file (which is sourced by /etc/bash_completion).