Skip to main content

Welcome to the OmniRec Documentation

Overview

Welcome to OmniRec! OmniRec is an open-source Python library designed to be an all-in-one solution for reproducible and interoperable recommender systems experimentation.

Please visit omnirec.recommender-systems.com for comprehensive documentation, including user guides and API references.

You can download the full demo paper here.

Recommender systems research often faces challenges like fragmented data handling, inconsistent preprocessing, and poor interoperability between different toolkits. These issues can make it difficult to compare results and reproduce studies, slowing down scientific progress. OmniRec tackles these problems by providing a unified, transparent, and easy-to-use workflow for the entire experimentation process.

Key Features

  • Massive Dataset Collection: Get standardized access to over 230 datasets right out of the box.
  • Unified Preprocessing: Define your data cleaning, filtering, and splitting pipeline just once and apply it consistently across different models and frameworks.
  • Seamless Integration: OmniRec works with multiple state-of-the-art recommender system frameworks, including RecPack, RecBole, Lenskit, and Elliot.
  • Extensible by Design: Its modular architecture allows you to easily add new datasets, custom preprocessing steps, or interfaces to other frameworks.

Architecture

OmniRec's power comes from its simple yet flexible architecture, which is organized into four interconnected modules. This design enables a smooth end-to-end workflow from loading data to evaluating model performance.

Diagram showing the OmniRec architecture

Click here to download the PDF.

The OmniRec architecture, showing its four main components and the experimental workflow.

Here’s a brief look at each component:

1. Data Loader

The Data Loader is your starting point. It provides a simple way to load any of the registered datasets or even your own custom data. To ensure consistency, it performs initial preparations like removing duplicate interactions and normalizing user and item identifiers. It also exposes key dataset statistics, which are crucial for analysis and reproducible reporting.

2. Preprocessing Pipeline

Once your data is loaded, the Preprocessing Pipeline applies all the transformations you need. You can easily perform common operations such as:

  • Subsampling and k-core filtering
  • Converting explicit feedback (e.g., ratings) to implicit feedback (e.g., clicks)
  • Splitting data into training and testing sets using various strategies like random holdout, time-based holdout, or cross-validation.

The best part is that this pipeline is completely customizable, so you can add your own functions with minimal effort.

3. Recommender Interface

This is where the magic of interoperability happens. The Recommender Interface takes your preprocessed data and seamlessly exports it to widely-used recommender frameworks like Lenskit, RecPack, RecBole, and Elliot. This allows you to train models and generate predictions using the specific tools you need, all without having to rewrite your data preparation code. OmniRec even handles the Python environments for each library to solve dependency conflicts.

4. Evaluator

Finally, the Evaluator module provides a standardized way to assess your model's performance. It computes common ranking and rating-based metrics like nDCG@k, Recall@k, and RMSE. By centralizing the evaluation logic, OmniRec ensures that results are always comparable, no matter which underlying framework you used to train the model. All results can be stored with complete metadata, guaranteeing traceability and long-term reproducibility.

Metadata

Release files for omnirec 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnirec 1.1.0
File Size Uploaded Provenance Actions
omnirec-1.1.0.tar.gz 21.2 MB Without provenance Details for omnirec-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omnirec 1.1.0
File Interpreter ABI Platform Actions
omnirec-1.1.0-py3-none-any.whl Python 3 none any Details for omnirec-1.1.0-py3-none-any.whl

Total release size: 21.3 MB

Release files / omnirec-1.1.0.tar.gz

Download URL omnirec-1.1.0.tar.gz
Size 21.2 MB
Tags Source
SHA-256 checksum
How to use checksums
c6c3e6a55cdbbdc11a54415169b5c2362d2e6a41b0aaf0e5eb4d270218fc6178
BLAKE2b-256 checksum
How to use checksums
f44016ec2d150f7b5f21904a2917af0405eb7bf8ef31a2723deb22af992ea75e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / omnirec-1.1.0-py3-none-any.whl

Download URL omnirec-1.1.0-py3-none-any.whl
Size 101.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eca48c368fe3b5ae6f54cea09b35ae92e190e63e69d0d4494ab9c41c04e69502
BLAKE2b-256 checksum
How to use checksums
12c139005f00458e778e0d339fa1b62a60d2774314da8bce22bf87c621d8003e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for omnirec 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page