Commit Graph

24 Commits (778746c5e835ed2e120c5dfd80e497cb3aaa3671)

Author SHA1 Message Date
J. Fernando Sánchez 778746c5e8 Added data folder configuration
Closes #46
7 years ago
J. Fernando Sánchez 19278d0acd Use the right version of PIP (py2/py3)
Closes senpy/senpy#47
7 years ago
J. Fernando Sánchez 3e3f5555ff Fixed py2 problems and other improvements
We've changed the way plugins are activated, and removed the notion of
deactivated plugins.
Now plugins activate asynchronously.
When calling a plugin, it will be activated if it wasn't, and the call will wait
for the plugin to be fully activated.
7 years ago
J. Fernando Sánchez fa082e11e7 Use flask's server by default
Using this server in production is discouraged, but to implement a
proper asynchronous server with tornado/gevent every blocking call would
have to be converted to a non-blocking call.

Failing to do so causes deadlocks like senpy/senpy#35

For now, it is easier to just use the default server.
7 years ago
J. Fernando Sánchez 7927cf1587 add option to show senpy version number
Merge branch 'patch-5' of https://github.com/drevicko/senpy into drevicko-patch-5
7 years ago
J. Fernando Sánchez ef40bdb545 Replace gevent with tornado
Closes #28

Added:

* Async test (still missing one that includes the IOLoop)
* Async plugin under tests. To manually try async functionalities:
```
senpy -f tests/
```
7 years ago
drevicko 7efece0224 add option to show senpy version number 7 years ago
J. Fernando Sánchez 0c8f98d466 Pre-0.8.6
* Improved debugging (back to using Flask's built-in mechanisms)
* Recursive model loading from json
* Added DEVPORT to Makefile
* Accept json-ld input. Closes #16
* Improved Exception handling in client
* Modified default plugin selection to only include analysis plugins
* More tests
7 years ago
J. Fernando Sánchez 9f6a6f5ecd Loads of changes!
* Added conversion plugins (API might change!)
* Added conversion to the analysis pipeline
* Changed behaviour of --default-plugins (it adds conversion plugins regardless)
* Added emotionModel [sic] and emotionConversion models

//TODO add conversion tests
//TODO add conversion to docs
7 years ago
J. Fernando Sánchez b4ca5f4a7c Several fixes and changes
* Added interactive debugging
* Better exception logging
* More tests for errors
* Added ONBUILD to dockerfile
  Now creating new images based on senpy's is as easy as:
  ```from senpy:<version>```. This will automatically mount the code to
  /senpy-plugins and install all dependencies
* Added /data as a VOLUME
* Added `--use-wheel` to pip install both on the image and in the
  auto-install function.
* Closes #9

Break compatibilitity:

* Removed ability to (de)activate plugins through the web
7 years ago
J. Fernando Sánchez db30257373 Flake8, Semver, Pre-commit
* Added pre-commit: http://pre-commit.com
* Fixed flake8 errors
* Added flake8 pre-commit hooks
* Added pre-commit to Makefile
* Changed VERSION numbering
* Changed versioning to match PEP-0440
7 years ago
J. Fernando Sánchez 7fd69cc690 YAPFed 7 years ago
J. Fernando Sánchez d72a995fa9 New shelf location and better shelf tests 7 years ago
J. Fernando Sánchez 07b5dd3823 Added option to install dependencies in CLI 8 years ago
J. Fernando Sánchez 39761e0922 Fix for heroku 8 years ago
J. Fernando Sánchez 407d17b2b9 __version__ in the module itself 8 years ago
J. Fernando Sánchez 48d7d1d02e Improved plugins API and loading
Also:

* added drone-ci integration: tests for py2.7 and py3
8 years ago
J. Fernando Sánchez 74b0cf868e Added console script 9 years ago
J. Fernando Sánchez b484b453e0 Added indentation and default plugins
* setup.py:
9 years ago
J. Fernando Sánchez d1006bbc92 PEP8+Better JSON-LD support
* The API has also changed, there are new parameters to send the
context as part of the headers.
* Improved tests
* PEP8 compliance (despite the line about gevent)
9 years ago
J. Fernando Sánchez 79c83e34a3 Added random plugin and other features 9 years ago
J. Fernando Sánchez 37a098109f Module script and improvement in JSON-LD 10 years ago
J. Fernando Sánchez e06fc2e671 V 0.2.2 - Better plugins 10 years ago
J. Fernando Sánchez 8405e5deef Added plugin architecture 10 years ago