luhn alternatives and similar packages
Based on the "Algorithms and Data structures" category.
Alternatively, view luhn alternatives based on common mentions on social networks and blogs.
-
matrex
A blazing fast matrix library for Elixir/Erlang with C implementation using CBLAS. -
exconstructor
An Elixir library for generating struct constructors that handle external data with ease. -
erlang-algorithms
Implementations of popular data structures and algorithms -
remodel
:necktie: An Elixir presenter package used to transform map structures. "ActiveModel::Serializer for Elixir" -
MapDiff
Calculates the difference between two (nested) maps, and returns a map representing the patch of changes. -
exmatrix
Elixir library implementing a parallel matrix multiplication algorithm and other utilities for working with matrices. Used for benchmarking computationally intensive concurrent code. -
the_fuzz
String metrics and phonetic algorithms for Elixir (e.g. Dice/Sorensen, Hamming, Jaccard, Jaro, Jaro-Winkler, Levenshtein, Metaphone, N-Gram, NYSIIS, Overlap, Ratcliff/Obershelp, Refined NYSIIS, Refined Soundex, Soundex, Weighted Levenshtein) -
dataframe
Package providing functionality similar to Python's Pandas or R's data.frame() -
ecto_materialized_path
Tree structure & hierarchy for ecto models -
Conrex
An Elixir implementation of the CONREC algorithm for topographic or isochrone maps. -
bitmap
Bitmap implementation in Elixir using binaries and integers. Fast space efficient data structure for lookups -
murmur
:speech_balloon: An implementation of the non-cryptographic hash Murmur3 -
paratize
Elixir library providing some handy parallel processing facilities that supports configuring number of workers and timeout. -
exor_filter
Erlang nif for xor_filter. 'Faster and Smaller Than Bloom and Cuckoo Filters'. -
combination
A simple combinatorics library providing combination and permutation. -
Mappable
Simple module that provides unified, simple interface for converting between different dictionary-like data types in Elixir.
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of luhn or a related project?
Popular Comparisons
README
Luhn algorithm in Elixir
Validate Luhn number.
Installation
# mix.exs
defp deps do
[
{:luhn, "~> 0.3.0"}
]
end
# and fetch
$ mix deps.get
How to use
# validate number
Luhn.valid? "378282246310005"
# => true
# Integer type number
Luhn.valid? 378282246310005
# => true
Benchmarking
$ MIX_ENV=bench mix deps.get
$ MIX_ENV=bench mix compile
$ mix bench
Author
Takayuki Matsubara (@ma2ge on twitter)
LICENSE
MIT
*Note that all licence references and agreements mentioned in the luhn README section above
are relevant to that project's source code only.