Skip to content

Commit

Permalink
Merge 8b91ff7 into 4e94a65
Browse files Browse the repository at this point in the history
  • Loading branch information
copyninja committed Jun 9, 2014
2 parents 4e94a65 + 8b91ff7 commit 8bf6589
Show file tree
Hide file tree
Showing 211 changed files with 1,609 additions and 16,956 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
@@ -0,0 +1,7 @@
[run]
omit = silpa/tests/*
branch = True
source = silpa

[report]
ignore_errors = True
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -28,3 +28,7 @@ venv
*.swp
.\#*
\#*\#
*.webassets-cache/
*silpa.min.*
/.testrepository/
/cover/
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "silpa/frontend/static/js/lib"]
path = silpa/frontend/static/js/jquery.ime
url = https://github.com/wikimedia/jquery.ime.git
4 changes: 4 additions & 0 deletions .testr.conf
@@ -0,0 +1,4 @@
[DEFAULT]
test_command=${PYTHON:-python} -m subunit.run discover silpa $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
20 changes: 20 additions & 0 deletions .travis.yml
@@ -0,0 +1,20 @@
language: python
python:
- "2.7"
# - "3.3"
install:
- pip install -r requirements.txt
- pip install -r requirements-modules.txt
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements-py2.txt; fi
- pip install -r test-requirements.txt
script: make travis
after_success: coveralls
notifications:
email:
- silpa-discuss@nongnu.org
irc:
channels:
- "irc.freenode.net#silpa"
on_success: change
on_failure: change
use_notice: true
15 changes: 15 additions & 0 deletions Makefile
@@ -0,0 +1,15 @@
travis:
python setup.py testr --coverage \
--testr-args="--parallel --concurrency=2"
flake8 silpa

clean:
find . -name "*.pyc" -exec rm -vf {} \;
find -name __pycache__ -delete
find . -name "*~" -exec rm -vf {} \;

tox:
tox

flake:
flake8 silpa tests
4 changes: 4 additions & 0 deletions README
@@ -1,5 +1,9 @@
SILPA
==========

[![Build Status](https://travis-ci.org/Project-SILPA/Silpa-Flask.svg?branch=development)](https://travis-ci.org/Project-SILPA/Silpa-Flask)
[![Coverage Status](https://coveralls.io/repos/Project-SILPA/Silpa-Flask/badge.png?branch=development)](https://coveralls.io/r/Project-SILPA/Silpa-Flask?branch=development)

SILPA - Indian Language computing platform which provides a web interface
for different Indian language computing python modules. This is hosted at

Expand Down
2 changes: 0 additions & 2 deletions core/__init__.py

This file was deleted.

102 changes: 0 additions & 102 deletions core/jsonrpchandler.py

This file was deleted.

55 changes: 0 additions & 55 deletions core/modulehelper.py

This file was deleted.

5 changes: 3 additions & 2 deletions docs/installation.rst
Expand Up @@ -74,7 +74,8 @@ Get the Code
$ git clone https://github.com/Project-SILPA/Silpa-Flask.git
$ cd Silpa-Flask
$ pip install -r requirements.txt
$ python silpa.py
$ python setup.py install
$ python wsgi.py
If you want to Install all modules:

Expand Down Expand Up @@ -112,7 +113,7 @@ You can start the silpa application by

.. code-block:: shell-session
python silpa.py
python wsgi.py
Running on http://127.0.0.1:5000/
Expand Down
60 changes: 60 additions & 0 deletions etc/silpa.conf
@@ -0,0 +1,60 @@
[main]
# SITE Name
site = SILPA

# If your site is not hosted in document root please give baseurl
# eg: www.example.org/silpa
# Leave the / if SILPA is hosted directly under documentroot
# leave it as / if you are using WSGI even if you are not under document root
baseurl = /

[logging]
# Set a logging level
# Allowed values are info,debug,warn,error
log_level = debug

# Which folder log should be located
log_folder = /tmp

# log file name
log_name = silpa.log

[modules]
# These section provides list of modules use
# 'yes' to enable them and 'no' to disable
spellchecker = no
inexactsearch = no
soundex = yes
transliteration = no
hyphenation = no
chardetails = no
payyans = no
indicsyllabifier = no
indicfortune = no
ucasort = no
indicngram = no
shingling = no
textsimilarity = no
indicstemmer = no
katapayadi = no
#scriptrender = yes

[module_display]
# Section gives names to be displayed on HTML and
# additionally the end point for each module
soundex = Soundex
inexactsearch = ApproxSearch
spellchecker = SpellCheck
transliteration = Transliteration
hyphenation = Hyphenate
chardetails = Chardetails
payyans = Payyans
indicsyllabifier = Syllabalizer
indicfortune = Fortune
ucasort = UCA Sort
indicngram = N-gram
shingling = Shingling
textsimilarity = Similar Texts
indicstemmer = Stemmer
katapayadi = Katapayadi Numbers
scriptrender = Script Render
36 changes: 0 additions & 36 deletions loadconfig.py

This file was deleted.

2 changes: 1 addition & 1 deletion requirements-modules.txt
Expand Up @@ -5,7 +5,7 @@
-e git+https://github.com/Project-SILPA/Soundex.git#egg=soundex
-e git+https://github.com/Project-SILPA/silpa-common.git#egg=silpa_common
-e git+https://github.com/Project-SILPA/shingling.git#egg=shingling
-e git+https://github.com/Project-SILPA/scriptrender.git#egg=scriptrender
#-e git+https://github.com/Project-SILPA/scriptrender.git#egg=scriptrender
-e git+https://github.com/Project-SILPA/payyans.git#egg=payyans
-e git+https://github.com/Project-SILPA/normalizer.git#egg=normalizer
-e git+https://github.com/Project-SILPA/inexactsearch.git#egg=inexactsearch
Expand Down
1 change: 1 addition & 0 deletions requirements-py2.txt
@@ -0,0 +1 @@
configparser
3 changes: 3 additions & 0 deletions requirements.txt
@@ -1 +1,4 @@
Flask
Flask-Assets
cssmin
jsmin>=2.0.6
27 changes: 27 additions & 0 deletions setup.cfg
@@ -0,0 +1,27 @@
[metadata]
name = silpa
summary = Indic language computing platform
description-file =
README.md
author = SILPA Developers
author-email = silpa-discuss@nongnu.org
home-page = http://silpa.org.in
classifier =
Environment :: Web Environment
Framework :: Flask
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3

[files]
packages =
silpa

[build-sphinx]
all_files = 1
build_dir = docs/build
source-dir = docs

0 comments on commit 8bf6589

Please sign in to comment.