Skip to main content

Ranking Python Library

Project description

RPLIB

This repo contains the RPLib data, package, and web server.

Browse data (recommended)

Visit the RPLIB browser at https://birg.dev/rplib/.

View RPLIB Card (recommended)

You may view individual cards using the RPLIB browser or for a more customizable experience, use our sample Jupyter notebook that has been tested with Google's Colab: Click to launch on Colab.

Contribute a dataset (recommended)

We encourage the community to extend this repository with additional data. The recommended procedure for doing so begins with filling out this form: Click to launch add dataset form.

Generate artificial data (recommended)

We have also developed a sample notebook for those researchers interested in generating their own artificial data in a compatable format for RPLIB. Click to launch on Colab.

Install instructions

Prerequisites

graphviz headers must be installed:

apt-get install -y libgraphviz-dev

Recommended package installation

pip install pyrplib

Post package installation: Gurobi License

The webserver does not require Gurobi to launch, but to use the full functionality of RPLIB, the Gurobi optimizer must be installed with a valid license. Gurobi provides free academic licenses and more information on obtaining and installing your license can be found here: https://support.gurobi.com/hc/en-us/articles/360040541251.

Verify installation

import pyrplib

Development notes

Launch a version of RPLIB browser locally

Production

cd pyrplib
USER=$(id -u) docker-compose up -d --build production

Staging

cd pyrplib
git checkout staging
USER=$(id -u) docker-compose up -d --build staging

Development environments

cd pyrplib git checkout USER=$(id -u) docker-compose up --build

Running tests

cd pyrplib
python3 -m venv ../env
source ../env/bin/activate
cd tests
pytest card_tests.py

Authors

Paul Anderson, Ph.D.
Brandon Tat
Charlie Ward
Department of Computer Science and Software Engineering
California Polytechnic State University

Kathryn Pedings-Behling
Amy Langville, Ph.D.
Department of Mathematics
College of Charleston

Acknowledgements

We would like to thank the entire IGARDS team for their invaluable insight and encouragement.

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

pyrplib-0.1.1.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distribution

pyrplib-0.1.1-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

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