A webserver for hosting scorer models.
Project description
[![Build Status](https://travis-ci.org/wiki-ai/ores.svg)](https://travis-ci.org/wiki-ai/ores) [![Test coverage](https://codecov.io/gh/wiki-ai/ores/branch/master/graph/badge.svg)](https://codecov.io/gh/wiki-ai/ores)
Objective Revision Evaluation Service
A webserver for hosting scoring services. For more information, see [the ORES documentation on MediaWiki](https://mediawiki.org/wiki/ORES).
Installation
ORES is based on Python 3. Use pip to install ORES:
pip install ores (or pip3 install ores if your distribution defaults to Python 2)
If you’re running with the default Redis configuration, you’ll need to install a few more optional libraries,
pip install ores[redis]
Then you can easily run a test server by:
ores applications.wsgi
Use the -h argument to view its usage.
ores applications.wsgi -h
Visit these pages to see if your installation works,
http://localhost:8080/ http://localhost:8080/v2/scores/testwiki/revid/641962088?features=true
Running a development server
We recommend that you set up a python “virtual environment”. We put together [this guide](https://gist.github.com/halfak/9f4830895496af9e9731) to help you get everything set up.
Install requirements AND the test-requirements in order to run the default test server and experiment with different scoring strategies.
$ pip install -r requirements.txt
$ pip install -r test-requirements.txt
Run a test server as ORES using the ./utility, so local changes are reflected: Use -h to view its usage
$ ./utility applications.wsgi
Check if everything is running on http://localhost:8080.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ores-1.1.1.tar.gz
.
File metadata
- Download URL: ores-1.1.1.tar.gz
- Upload date:
- Size: 108.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 851463998449bfccf85820dfa1959081e67efdc6807448f332f97f916258fa3c |
|
MD5 | dceb10567eff81f37188499d0abddbc0 |
|
BLAKE2b-256 | 393161bc44e45d1cc748cbdd784490bca22ff40beb0c7402b410f9586c87a325 |