Skip to main content

gunsnprices 0.1.0 copy "gunsnprices: ^0.1.0" to clipboard
gunsnprices: ^0.1.0 copied to clipboard

Parse gun and ammo product titles: brand, model, caliber, magazine capacity, barrel length, rounds per box and cost per round. Pure Dart, no dependencies.

0.1.0 - 2026-11-10 #

First release. Dart port of the gunsnprices Python package 0.1.2, with identical results on the 1,150 recorded store titles of its test suite (on the Dart VM and compiled to JavaScript) and on all 63,755 titles of the GunsNPrices catalog.

  • parseTitle(): firearm or ammo, brand, model, calibers, magazine capacity, barrel length, rounds per box, cost per round.
  • identifyModel(): 50 brands, the same model dictionaries that GunsNPrices uses on its site; decodes Glock part numbers.
  • findCalibers() / normalizeCaliber() / listCalibers(): 293 calibers with retailer spellings.
  • magazineCapacity(), barrelLength(), roundsPerBox(), costPerRound(), looksLikeAmmo().
  • Command line: dart pub global activate gunsnprices, then gunsnprices "title".
  • Pure Dart, no dependencies; the data is compiled in, so it works in Flutter, on the web and on the server.
0
likes
160
points
48
downloads

Documentation

API reference

Publisher

verified publishergunsnprices.com

Weekly Downloads

Parse gun and ammo product titles: brand, model, caliber, magazine capacity, barrel length, rounds per box and cost per round. Pure Dart, no dependencies.

Homepage
Repository (GitHub)
View/report issues

Topics

#parser #ecommerce #firearms #ammunition #nlp

License

MIT (license)

More

Packages that depend on gunsnprices