Skip to main content

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)

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 configuration, you’ll need to install a few more optional libraries,

pip install pylru

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.

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ores-1.0.0.tar.gz (105.9 kB view details)

Uploaded Source

Built Distribution

ores-1.0.0-py2.py3-none-any.whl (886.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ores-1.0.0.tar.gz.

File metadata

  • Download URL: ores-1.0.0.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ores-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b388185e9cfce9f75c9ba9985017a96b0ddd9c51595c7b9e8db324f3a72f0ada
MD5 97867e17a14eeddea3b8681353e0a4aa
BLAKE2b-256 8f77fd67f35b92945bcd6e7c905bfe935441692600008ebf98265087713f7a43

See more details on using hashes here.

File details

Details for the file ores-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ores-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0025a3afc1f69ab89f58dce119d9c6b14df8bdd900a3e2efef01baad91223a1a
MD5 f560ebd2822a7d270973e06b39eb2b7d
BLAKE2b-256 a4d01322c8fbb79f5f0e59caf28d4feb9cc4ca8967f2f72288a9f7d107163923

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page