{"id":22868517,"url":"https://github.com/patrickroocks/pypref","last_synced_at":"2025-07-04T09:32:29.667Z","repository":{"id":86807566,"uuid":"49577927","full_name":"patrickroocks/pypref","owner":"patrickroocks","description":"Development repository of the pypref package (Skylines in Python)","archived":false,"fork":false,"pushed_at":"2021-02-20T18:37:34.000Z","size":225,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T15:53:38.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickroocks.png","metadata":{"files":{"readme":"readme.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-13T14:12:54.000Z","updated_at":"2021-02-20T18:37:36.000Z","dependencies_parsed_at":"2023-07-12T10:00:45.381Z","dependency_job_id":null,"html_url":"https://github.com/patrickroocks/pypref","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickroocks%2Fpypref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickroocks%2Fpypref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickroocks%2Fpypref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickroocks%2Fpypref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickroocks","download_url":"https://codeload.github.com/patrickroocks/pypref/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246458022,"owners_count":20780675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T12:35:38.404Z","updated_at":"2025-03-31T10:50:58.386Z","avatar_url":"https://github.com/patrickroocks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Database Preferences and Skyline Computation in Python\n======================================================\n\nRoutines to select and visualize the maxima for a given strict partial \norder. This especially includes the computation of the Pareto \nfrontier, also known as (Top-k) Skyline operator, and some \ngeneralizations (database preferences).\n\nThis the Python port of the rPref package.\n\nPackage web site: http://p-roocks.de/rpref/index.php?section=pypref\n\nInstall and run\n---------------\n\nCopy the repository, e.g., in a sub folder of your home directory\n\n::\n\n  cd ~\n  git clone https://github.com/patrickroocks/pypref pypref\n\n  \nStart Python, move to this directory (replace \"/home/patrick\" by your home directory) and import it:\n  \n::\n  \n  import os\n  os.chdir(\"/home/patrick/pypref\")\n  import pypref as p\n  \nIf everything went well, the following first tiny example should work:\n\n::\n\n  mtcars = p.get_mtcars()\n  pref = p.high(\"mpg\") * p.high(\"hp\")\n  sky = pref.psel(mtcars)\n  btg = pref.btg(mtcars)\n\nSee pypref-examples.py for more examples.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickroocks%2Fpypref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickroocks%2Fpypref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickroocks%2Fpypref/lists"}