You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
J. Fernando Sánchez 8fa372de15 Added new launch option to the README 9 years ago
docs Added docs 9 years ago
senpy More sensible exceptions when importing 9 years ago
tests Added indentation and default plugins 9 years ago
.travis.yml Forcing Travis 9 years ago
LICENSE.txt Refactoring, name change 10 years ago
MANIFEST.in Added plugins by default and monkey patching 9 years ago
NOTICE Refactoring, name change 10 years ago
Procfile Simple server 10 years ago
README.rst Added new launch option to the README 9 years ago
app.py Added default plugins to app.py 9 years ago
config.py Simple server 10 years ago
dev-requirements.txt PEP8 compliance 10 years ago
logo.png Added plugin architecture 10 years ago
logo.svg Added plugins by default and monkey patching 9 years ago
logo_fp7.gif Better readme, fixed app.py 9 years ago
logo_grande.png Better readme, fixed app.py 9 years ago
requirements.txt Fixed requirements 9 years ago
setup.cfg Better readme, fixed app.py 9 years ago
setup.py Added console script 9 years ago
supervisord.conf Files for deployment 10 years ago
test-requirements.txt Added indentation and default plugins 9 years ago

README.rst

.. image:: logo.png
   :height: 6em
   :align: left

=====================================
`Senpy <http://senpy.herokuapp.com>`_
=====================================
.. image:: https://travis-ci.org/gsi-upm/senpy.svg?branch=master
    :target: https://travis-ci.org/gsi-upm/senpy

Sentiment analysis web services using a common interface: NIF+JSON-LD.

With Senpy, you can easily turn your sentiment analysis algorithm into a web service, just by creating a new plugin.

`DEMO on Heroku <http://senpy.herokuapp.com>`_

Installation
------------
The stable version can be installed via pip:

.. code:: bash

   pip install senpy

   
Alternatively, you can use the development version:
 
.. code:: bash

   git clone git@github.com:gsi-upm/senpy
   cd senpy
   pip install -r requirements.txt 
   
To install it system-wide, use setuptools:

.. code:: bash

   python setup.py install
   
Using
-----

You can use the modules included in senpy to build your own application.
However, the easiest and recommended way is to just use the command-line tool to load your plugins and launch the server.

.. code:: bash

   senpy

or, alternatively:

.. code:: bash

    python -m senpy


This will create a server with any modules found in the current path.
For more options, see the `--help` page.

TO-DO
-----

* Improve documentation and generate it with Sphinx
* ReadTheDocs
* Improve README


Acknowledgement
---------------
EUROSENTIMENT PROJECT
Grant Agreement no: 296277
Starting date: 01/09/2012
Project duration: 24 months

.. image:: logo_grande.png
    :target: logo_grande.png
    :width: 100px
    :alt: Eurosentiment Logo

.. image:: logo_fp7.gif
    :width: 100px
    :target: logo_fp7.gif