Mappable alternatives and similar packages
Based on the "Algorithms and Data structures" category.
Alternatively, view Mappable alternatives based on common mentions on social networks and blogs.
-
matrex
A blazing fast matrix library for Elixir/Erlang with C implementation using CBLAS. -
simple_bayes
A Naive Bayes machine learning implementation in Elixir. -
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" -
merkle_tree
:evergreen_tree: Merkle Tree implementation in pure Elixir -
MapDiff
Calculates the difference between two (nested) maps, and returns a map representing the patch of changes. -
bloomex
:hibiscus: A pure Elixir implementation of Scalable Bloom Filters -
aja
Extension of the Elixir standard library focused on data stuctures, data manipulation and performance -
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) -
DeepMerge
Deep (recursive) merge for maps, keywords and others in Elixir -
ecto_materialized_path
Tree structure & hierarchy for ecto models -
dataframe
Package providing functionality similar to Python's Pandas or R's data.frame() -
Conrex
An Elixir implementation of the CONREC algorithm for topographic or isochrone maps. -
murmur
:speech_balloon: An implementation of the non-cryptographic hash Murmur3 -
bitmap
Bitmap implementation in Elixir using binaries and integers. Fast space efficient data structure for lookups -
exor_filter
Erlang nif for xor_filter. 'Faster and Smaller Than Bloom and Cuckoo Filters'.
Build time-series-based applications quickly and at scale.
* 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 Mappable or a related project?
Popular Comparisons
README
Mappable
Simple module that provides unified, simple interface for converting between different dictionary-like data types in Elixir:
- maps
- structs
- keyword lists
Examples
Use Mappable.to_map map, keys: :strings
to convert anything to map
with string keys recursively:
%{:foo => :bar}
|> Mappable.to_map(keys: :strings)
=> %{"foo" => :bar}
Use keys: :atoms
to do the same but use atom keys:
%{"foo" => %{"bar" => :baz}}
|> Mappable.to_map(keys: :atoms)
=> %{:foo => %{:bar => :baz}}
Convert anything to struct easily by matching keys:
%{"id" => 1, "email" => "[email protected]"}
|> Mappable.to_struct(User)
=> %User{id: 1, email: "[email protected]@example.com"}
Convert anything to keyword list with:
%{"bar" => :foo, "foo" => :bar}
> Mappable.to_list
=> [bar: :foo, foo: :bar]
Installation
If available in Hex, the package can be installed
by adding mappable
to your list of dependencies in mix.exs
:
def deps do
[{:mappable, "~> 0.2.0"}]
end
Documentation
Documentation on HexDocs.