{"id":15647250,"url":"https://github.com/ankane/plu","last_synced_at":"2025-11-17T14:04:23.149Z","repository":{"id":10681170,"uuid":"12919692","full_name":"ankane/plu","owner":"ankane","description":"Price look-up codes made easy","archived":false,"fork":false,"pushed_at":"2025-01-31T03:47:33.000Z","size":65,"stargazers_count":49,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T09:08:17.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"tensorflow/models","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankane.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2013-09-18T09:58:27.000Z","updated_at":"2025-03-07T17:13:13.000Z","dependencies_parsed_at":"2024-12-11T14:11:51.302Z","dependency_job_id":"c3760eb9-6631-44ae-8175-9406bbd46d1a","html_url":"https://github.com/ankane/plu","commit_stats":{"total_commits":43,"total_committers":4,"mean_commits":10.75,"dds":0.5581395348837209,"last_synced_commit":"f156ea561ad92785d08c74d02e8d7f10f42bd65a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankane%2Fplu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankane%2Fplu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankane%2Fplu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankane%2Fplu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankane","download_url":"https://codeload.github.com/ankane/plu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157283,"owners_count":20893220,"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-10-03T12:17:46.983Z","updated_at":"2025-11-17T14:04:23.118Z","avatar_url":"https://github.com/ankane.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PLU\n\n[Price look-up codes](https://en.wikipedia.org/wiki/Price_look-up_code) made easy\n\n:watermelon: 4032\n:banana: 4011\n:grapes: 4023\n\nData cleaned up from the [International Federation of Produce Standards](https://www.ifpsglobal.com/)\n\n[![Build Status](https://github.com/ankane/plu/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/plu/actions)\n\n## Installation\n\nAdd this line to your application’s Gemfile:\n\n```ruby\ngem \"plu\"\n```\n\n## Getting Started\n\nList known PLUs\n\n```ruby\nPLU.all\n```\n\nGet name from PLU\n\n```ruby\nPLU.new(4011).name # Bananas\n```\n\nCheck if valid\n\n```ruby\nPLU.new(2000).valid? # false\n```\n\n### 5-Digit PLUs\n\nFor PLUs with 5 digits, the first digit has a special meaning: 9 specifies organic.\n\n4011 - Bananas :banana:\n94011 - Organic bananas :banana:\n\n```ruby\nPLU.new(94011).organic? # true\n```\n\n### Retailer Assigned\n\n```ruby\nPLU.new(3170).retailer_assigned? # true\n```\n\n## History\n\nView the [changelog](https://github.com/ankane/plu/blob/master/CHANGELOG.md)\n\n## Contributing\n\nEveryone is encouraged to help improve this project. Here are a few ways you can help:\n\n- [Report bugs](https://github.com/ankane/plu/issues)\n- Fix bugs and [submit pull requests](https://github.com/ankane/plu/pulls)\n- Write, clarify, or fix documentation\n- Suggest or add new features\n\nTo get started with development:\n\n```sh\ngit clone https://github.com/ankane/plu.git\ncd plu\nbundle install\nbundle exec rake test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankane%2Fplu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankane%2Fplu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankane%2Fplu/lists"}