Commit Graph

45 Commits

Author SHA1 Message Date
d5cfa0281d Topological sort is non deterministic, only check for logic in test and not exact result so it will pass tests under py3.5 2017-05-19 18:38:41 +02:00
e747bc1da8 Topological sort of a graph, allowing better console (and other) outputs.
Uses algorithm borrowed from networkx graph library to sort a graph in
topological order. The method is only used by output plugins, as
internal plumbery does not really care about the node order.

Also includes a bonobo.util.python.require function that helps importing
thing in a package-less context, or when there are conflict with site
package names.
2017-05-19 13:28:31 +02:00
171fa3415b first draft of enhancers. 2017-05-08 11:33:02 +02:00
da4ba2603c Update basic tests. 2017-05-01 18:50:06 +02:00
5111b2932e mocks work this way under py3.5, apparently. 2017-05-01 18:37:23 +02:00
743de17c4c mock is in unittest 2017-05-01 18:35:12 +02:00
4154d7e3d8 Starting to work on #47 a.k.a the context processor mess. This is a first implementation removing all the uggly function calls, but further work must work on less things called "context", as it is bad for readability. Concerns better separated now. 2017-05-01 18:27:27 +02:00
d3daee1234 remove run() output from basicusage timed test. 2017-05-01 17:09:06 +02:00
8f38237658 Code formating. 2017-05-01 15:57:03 +02:00
ffa9ab6bc8 Fix positional options (#17) and associated tests. 2017-05-01 15:52:34 +02:00
5b29b5fe95 Merge branch 'services_init' into 17_positional_options
Conflicts:
	.coveragerc
2017-05-01 15:32:05 +02:00
159389e323 adds valueholder tests and fixes. 2017-05-01 15:31:00 +02:00
25253cf119 Positional options (WIP). 2017-05-01 15:26:57 +02:00
670f4e61d1 fixing codacy issues 2017-05-01 11:02:28 +02:00
92fa1fb7e2 mock module is in unittest (py3) 2017-05-01 10:43:13 +02:00
95eeaf61b9 fix test 2017-04-30 11:19:29 +02:00
bb5fc22f5e release: 0.2.2 2017-04-28 08:04:48 +02:00
eacd0cc8c5 wip: filesystem as a service. 2017-04-28 06:21:26 +02:00
ad502d7e23 Split execution module in submodules for better readability. 2017-04-25 23:05:18 +02:00
efcd4361cc First implementation of services and basic injection. Not working with CLI for now. 2017-04-25 22:04:21 +02:00
3ecb2c2ccd Minor stuff, cleanup and formating. 2017-04-25 07:47:51 +02:00
ef2c881075 Attempt to refactor a bit of context, new count transform that counts the calls, new bonobo.structs package with basic data structures, removal of blessings. 2017-04-24 23:44:29 +02:00
b035bdea32 formating, better consistency in readers, ability to read files from http (fast and dirty). 2017-02-12 08:10:22 +01:00
9dab39a474 Minor fixes and update documentation. Preparing the upcoming 0.2 release. 2017-01-20 20:45:16 +01:00
8532520aae Big refactoring, way simpler management of transformations. Early branch for upcoming version 0.2. 2017-01-17 22:45:10 +01:00
b6e84c66e3 Implements configurables and options to create cleaner transformation classes, and ease documentation of available options. 2017-01-16 16:22:13 +01:00
f736e7e7e3 Working toward sqlalchemy extension. Better ability to extend context. Still needs a lot of cleanup. 2017-01-03 22:06:09 +01:00
d3d2a22145 Exports CSV reader/writer to root package (#2) 2016-12-28 12:29:15 +01:00
e77fbae38b Implements naive csv reader / writer (#2) 2016-12-28 12:27:23 +01:00
cebb8df173 API is cleaner this way, easier to understand the purpose of methods (#2). 2016-12-28 11:40:03 +01:00
67e25b92e1 Implements JsonReader (#2) 2016-12-28 11:29:12 +01:00
2527a1b85b Still working on file handlers... JsonWriter (#2) 2016-12-28 11:14:37 +01:00
2b8216ec0d implementing FileReader/FileWriter (#2) 2016-12-28 10:54:50 +01:00
25ad284935 starting to write docs, taking decisions on public api 2016-12-27 13:31:38 +01:00
512e2ab46d refactoring contexts, moved json writer to a class as it make more sense. 2016-12-27 09:06:44 +01:00
4bc6248ee4 constants 2016-12-26 13:55:59 +01:00
fdd5d511eb fixing tests under py3.5 2016-12-26 09:19:50 +01:00
8903e1d386 still testing 2016-12-26 08:57:39 +01:00
1fbd43a94d refactoring for better testability 2016-12-25 15:01:56 +01:00
deb7700353 starting to test contexts ... 2016-12-25 14:44:38 +01:00
7b34b43b08 testing bags 2016-12-25 14:25:10 +01:00
a3adb044bf implements bags, so we can pass arbitrary args/kwargs to functions. 2016-12-25 12:40:28 +01:00
c30048f1b0 basic reimplementation of what was working in rdc.etl, jupyter widget, json import, demo with opendatasoft api, etc. Lot of things are still work in progress, stay tuned. 2016-12-24 10:37:53 +01:00
90d3b6235b work in progress ... 2016-12-09 08:01:04 +01:00
a7a00011fc initialize project structure 2016-12-09 05:05:03 +01:00