The title parser behind GunsNPrices (gunsnprices.com), a US gun and ammo price comparison site. Reads store titles such as "G19 GEN5 9MM 15RD FS" or "Federal 308 150gr 20rds" and returns the brand and model (50 brands), calibers (293), magazine capacity, barrel length, rounds per box and cost per round. Ruby port of the Python package gunsnprices with identical results. Pure Ruby, no runtime dependencies; the model dictionaries and caliber list (CC BY 4.0) ship inside the gem.

Required Ruby Version

>= 3.0

Authors

GunsNPrices

Versions

  1. 0.1.0
    1. source

      1. 0.1.0 source November 16, 2026 (124 KB)

Pushed by

SHA 256 checksum