Commit graph

102 commits

Author SHA1 Message Date
Romain Bignon
84ce7b72ec fix wording 2015-04-04 15:46:01 +02:00
Florent
feb1405813 bump to 1.1 2014-10-17 14:10:38 +02:00
Oleg Plakhotniuk
d7acf211bd American amount to decimal conversion; PDF decompression function; regexp-based tokenizer. Part of #1641 2014-10-13 04:23:05 -05:00
Laurent Bachelier
f4c17cdc9d pep8: Fix E303 too many blank lines 2014-10-11 02:15:28 +02:00
Laurent Bachelier
21e8f82fd7 pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
2014-10-11 01:27:24 +02:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Laurent Bachelier
6161a0aacd pep8 fixes, modernizations
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
Also includes some manual reindentations (many are left after the print()
changes).
Manually checked, some modernizations not commited here.
2014-10-10 23:41:43 +02:00
Romain Bignon
d61e15cf84 rename things related to browsers
weboob.tools.browser -> weboob.deprecated.browser
weboob.tools.parsers -> weboob.deprecated.browser.parsers
weboob.tools.mech -> weboob.deprecated.mech
weboob.browser2 -> weboob.browser
weboob.core.exceptions -> weboob.exceptions

Also, the new tree for browser2 is:

weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
weboob.browser.url: the URL class
weboob.browser.profiles: all Profile classes
weboob.browser.sessions: WeboobSession and FuturesSession
weboob.browser.cookies: that's a cookies thing
weboob.browser.pages: all Page and derivated classes, and Form class
weboob.browser.exceptions: specific browser exceptions
weboob.browser.elements: AbstractElement classes, and 'method' decorator
weboob.browser.filters.*: all filters
2014-10-07 00:30:07 +02:00
Florent
9949bbf919 Move exceptions to weboob.core.exceptions 2014-10-02 11:04:14 +02:00
Florent
a019819f9d Move browser2 from weboob/tools/b2 to weboob/browser2 2014-10-02 11:01:34 +02:00
Florent
54a1bc4809 Remove * imports in filters 2014-09-29 22:31:54 +02:00
Florent
0088013ae1 Rename BaseBrowser to Browser 2014-09-26 10:18:12 +02:00
Florent
444d36eee8 Rename BasePage to Page 2014-09-26 10:18:12 +02:00
Florent
5a1d83b567 Rename BaseModule to Module and Module to LoadedModule 2014-09-26 10:18:12 +02:00
Florent
5c71be36f5 Rename GenericBackend.py to GenericModule.py 2014-09-26 10:18:12 +02:00
Florent
9370b2fae7 s/Backend/Module 2014-09-26 10:18:11 +02:00
Florent
8559af3d6a s/BaseBackend/BaseModule 2014-09-26 10:18:11 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +02:00
Romain Bignon
7d8571195f fix docstring issues 2014-08-30 20:45:10 +02:00
Oleg Plakhotniuk
649d777ac5 Transaction amounts cleaner helper for american banks.
Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>
2014-08-30 17:51:31 +02:00
Romain Bignon
0afc360970 FrenchTransaction.Amount can take a replace_dots parameter 2014-08-21 16:25:30 +02:00
Florent
76cb004eb4 Move ItemListTable-Element outside of page.py
One of the goal is to not import all modules needed by filters by
loading the page file.

In the same goal, move the import of parsers in the class definition.
2014-07-09 10:23:20 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Romain Bignon
51958135cb rename CapBaseObject to BaseObject (refs #1424) 2014-07-05 17:26:05 +02:00
Bezleputh
b8a1df26c1 fix unicode warning 2014-06-16 21:43:34 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Romain Bignon
5c8982e5e9 Filter does not have any logger, raise an exception instead 2014-05-19 22:07:34 +02:00
Romain Bignon
ba7d10046f Amount filter: credit_selector is optional too 2014-05-08 10:27:34 +02:00
Romain Bignon
07f6507096 improve documentation of browser2 2014-04-12 15:02:34 +02:00
Florent
8242dbecd1 One more use of find_object 2014-04-02 12:37:31 +02:00
Romain Bignon
a84d5f947c add a possible label title 2014-03-26 11:10:09 +01:00
Romain Bignon
75f17333a2 add TransactionsElement and TransactionElement 2014-03-12 08:43:48 +01:00
Romain Bignon
fd8136ebfe keep order in obj_* attributes, and changes in API 2014-03-10 22:52:59 +01:00
Romain Bignon
8b9073de12 add specific filters for browser2 2014-03-10 13:11:07 +01:00
Bezleputh
95ca604472 convert string to unicode to avoid warning message 2014-02-26 20:12:00 +01:00
Florent
c2466f5018 Do not name the exception
pyflakes was complaining about a unused variable
2014-02-20 16:13:31 +01:00
Vincent A
2c3922ed2c new image paste module: imgur 2014-02-19 22:14:23 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Pierre Mazière
e7805cec12 rename AudioStreamInfo into StreamInfo
Allowing future use with upcoming VideoStream

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Romain Bignon
9fdc1b4d56 FrenchTransaction.parse_date isn't a class method anymore
This is because we call self._logger to log errors
2013-12-04 22:40:01 +01:00
Romain Bignon
1a581a1543 change FrenchTransaction.parse_date to be a class method 2013-11-29 15:14:57 +01:00
Florent
98a4d0547a Make a real link in signature 2013-10-30 15:02:40 +01:00
Laurent Bachelier
bfe3ac6bcd Remove comments on deleted code
They were still there because the code was automatically removed.
2013-08-03 22:15:30 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
6a1ac6d6b6 FrenchTransaction.parse takes a new optional argument 'vdate' 2013-08-01 16:52:16 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Romain Bignon
6f95fdd800 do not crash if date in label regexp isn't valid 2013-05-20 20:59:14 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
e0542c2e4a Fix comparisons to None
Diff checked manually.

autopep8 -a -ir -j2 --select=E711 .

This required the "agressive" option because it can change code
behavior.
2013-03-16 00:57:30 +01:00