Commit Graph

744 Commits

Author SHA1 Message Date
870db69150 Release: 0.6.0 2018-01-01 22:19:20 +01:00
f640e358b4 Doc update 2018-01-01 22:18:21 +01:00
7d4fb1dff0 Release: 0.6.0b1 2017-12-30 15:20:56 +01:00
9d52d9971a Update requirements for beta. 2017-12-30 15:19:28 +01:00
229117fcca .gitignore update 2017-12-30 15:19:28 +01:00
99a9efa0a6 Release: 0.6.0a4 2017-12-27 14:22:47 +01:00
464d08a4a2 Generalize tuplize decorator to cast(...) decorator. 2017-12-27 14:21:50 +01:00
f64e6e3c76 Release: 0.6.0a3 2017-12-27 11:33:31 +01:00
46a8fd192e Refactoring API, writing docs. 2017-12-27 11:32:47 +01:00
018289dad6 Loosen stevedore requirement to avoid conflicts. 2017-12-13 09:32:33 +01:00
603d917712 Release: 0.6.0a2 2017-12-13 09:29:33 +01:00
281cc6c8ed Update dependencies. 2017-12-13 09:28:36 +01:00
5363a5b004 Django: fix create_or_update with no defaults. 2017-12-13 09:27:45 +01:00
99c4745b4e Work in progress on documentation for 0.6 2017-12-04 08:31:24 +01:00
a1f883e3c6 Release: 0.6.0a1 2017-12-03 10:00:47 +01:00
e39ab0e62e Fixes packaging: *.py-tpl are now included using recursive-include in MANIFEST.in 2017-12-03 09:57:56 +01:00
23374e7d58 Release: 0.6.0a0 2017-12-03 08:14:19 +01:00
02d6f4923e Removes dead snippet. 2017-12-03 06:54:54 +01:00
2277c3a83d Merge branch 'develop' of github.com:python-bonobo/bonobo into develop 2017-12-02 18:25:31 +01:00
7dd6d605f3 Merge remote-tracking branch 'upstream/master' into develop 2017-12-02 18:24:56 +01:00
0a77b2ab51 Merge pull request #228 from hartym/develop
Alpha0
2017-12-02 18:20:31 +01:00
47f3897847 Example datasets are now stored by bonobo minor version. 2017-12-02 16:19:27 +01:00
7a25774b0f Removing datasets from the repository. 2017-12-02 15:57:14 +01:00
893a61aba2 For some obscure reason, coverage is broken under python 3.7 making the test suite fail, disabled python3.7 in travis waiting for it to be fixed. 2017-12-02 15:03:13 +01:00
a8ff1b4df1 [tests] adding a spec to magicmock of nodes to avoid it being seen as partially configured nodes 2017-12-02 14:51:33 +01:00
47c676a068 Adds an OrderFields transformation factory, update examples. 2017-12-02 14:18:24 +01:00
9e0834b061 Check partially configured transformations that are function based (aka transformation factories) on execution context setup.
wip: make sure all api is exported, raise an error when a function based transformation factory is (incorrectly) used as a transformation.
2017-12-01 07:43:14 +01:00
db54ff41ef Fix PrettyPrinter, output verbosity is now slightly more discreete. 2017-12-01 07:42:23 +01:00
d8c0dfe11a Inheritance of bags and better jupyter output for pretty printer. 2017-11-28 21:58:01 +01:00
c7ff06a742 Documentation cosmetics. 2017-11-28 21:57:48 +01:00
686d1c81b3 Simple "examples" command that just show examples for now. 2017-11-28 21:57:08 +01:00
5e0b6567cd Rewritting Bags from scratch using a namedtuple approach, along with other (less major) updates.
New bag implementation improves a lot how bonobo works, even if this is
highly backward incompatible (sorry, that's needed, and better sooner
than later).

* New implementation uses the same approach as python's namedtuple,
  by dynamically creating the python type's code. This has drawbacks, as
  it feels like not the right way, but also a lot of benefits that
  cannot be achieved using a regular approach, especially the
  constructor parameter order, hardcoded.
* Memory usage is now much more efficient. The "keys" memory space will
  be used only once per "io type", being spent in the underlying type
  definition instead of in the actual instances.
* Transformations now needs to use tuples as output, which will be bound
  to its "output type". The output type can be infered from the tuple
  length, or explicitely set by the user using either
  `context.set_output_type(...)` or `context.set_output_fields(...)` (to
  build a bag type from a list of field names).

Jupyter/Graphviz integration is more tight, allowing to easily display
graphs in a notebook, or displaying the live transformation status in an
html table instead of a simple <div>.

For now, context processors were hacked to stay working as before but
the current API is not satisfactory, and should be replaced. This new
big change being unreasonable without some time to work on it properly,
it is postponed for next versions (0.7, 0.8, ...). Maybe the best idea
is to have some kind of "local services", that would use the same
dependency injection mechanism as the execution-wide services.

Services are now passed by keywoerd arguments only, to avoid confusion
with data-arguments.
2017-11-27 00:04:51 +01:00
52ea29afcb Merge remote-tracking branch 'origin/dev_rollback_kwargs' into develop 2017-11-17 17:13:15 +01:00
5bbd70a9ba Merge pull request #223 from winsmith/develop
Fix various Typos in Documentation
2017-11-14 08:34:51 +01:00
09a39a53a0 Merge pull request #224 from knkski/naive-execution-services
Adding services to naive execution strategy
2017-11-14 08:33:42 +01:00
cf120f6d65 Adding services to naive execution 2017-11-13 16:30:56 -06:00
9b0a51e647 Fix another typo in run 2017-11-13 16:38:53 +01:00
72ae354810 Fix two typos in the ContextProcessor documentation 2017-11-13 16:31:00 +01:00
c87775f090 Core: refactoring contexts with more logical responsibilities, stopping to rely on kargs ordering for compat with python3.5 2017-11-12 16:36:11 +01:00
7afbf336e6 Merge pull request #220 from hartym/develop
Less strict CSV processing, to allow dirty input.
2017-11-12 11:19:18 +01:00
739a64d8f4 Simplification of node execution context, handle_result is now in step() as it is the only logical place where this will actually be called. 2017-11-12 11:16:52 +01:00
0b3694142b Less strict CSV processing, to allow dirty input. 2017-11-12 10:36:07 +01:00
6fc5825fd5 Merge pull request #219 from hartym/develop
Update stdlib, new plugin architecture applied to existing plugins.
2017-11-12 10:13:54 +01:00
6fb9f52bec Merge pull request #218 from cw-andrews/patch-3
Update graphs.rst
2017-11-12 10:10:18 +01:00
c2f17296f6 [stdlib] Adds Update(...) and FixedWindow(...) the the standard nodes provided with bonobo. 2017-11-12 10:06:15 +01:00
a97b1c5d2e Adds a benchmarks directory with small scripts to test performances of things. 2017-11-12 09:08:32 +01:00
d1481fbfe8 Moves jupyter extension to both bonobo.contrib.jupyter (for the jupyter widget) and to bonobo.plugins (for the executor-side plugin). 2017-11-12 09:08:05 +01:00
4bea3f7dad Fix examples with new module paths. 2017-11-12 06:24:29 +01:00
f6093e308d IOFormats: if no kwargs, then try with one positional argument. 2017-11-12 06:23:19 +01:00
96fd4533e1 Adds a __getattr__ dunder to ValueHolder to enable getting attributes, and especially method calls, on contained objects. 2017-11-12 06:22:28 +01:00