fake alternatives and similar packages
Based on the "Data" category.
Alternatively, view fake alternatives based on common mentions on social networks and blogs.
-
semantic-source
Parsing, analyzing, and comparing source code across many languages -
code-builder
Packages for defining APIs, running them, generating client code and documentation. -
text
Haskell library for space- and time-efficient operations over Unicode text. -
cassava
A CSV parsing and encoding library optimized for ease of use and high performance -
compendium-client
Mu (μ) is a purely functional framework for building micro services. -
resource-pool
A high-performance striped resource pooling implementation for Haskell -
primitive
This package provides various primitive memory-related operations. -
discrimination
Fast linear time sorting and discrimination for a large class of data types -
reflection
Reifies arbitrary Haskell terms into types that can be reflected back into terms -
dependent-sum
Dependent sums and supporting typeclasses for comparing and displaying them -
dependent-map
Dependently-typed finite maps (partial dependent products) -
text-icu
This package provides the Haskell Data.Text.ICU library, for performing complex manipulation of Unicode text. -
orgmode-parse
Attoparsec parser combinators for parsing org-mode structured text! -
streaming
An optimized general monad transformer for streaming applications, with a simple prelude of functions -
scientific
Arbitrary-precision floating-point numbers represented using scientific notation
Static code analysis for 29 languages.
Do you think we are missing an alternative of fake or a related project?
README
Fake
Fake is a Haskell package for generating realistic-looking fake data.
Overview
The package has three main components:
- Analogs to QuickCheck's Arbitrary and Gen that use realistic probability distributions rather than the more uniform distributions used by QuickCheck.
- A [generic coverage function](src/Fake/Cover.hs#L114) that generates [full constructor coverage](test/Main.hs#L32) over a data type.
- A [suite of providers](src/Fake/Provider) for common types of data such as names, addresses, phone numbers, ID numbers, etc.
Fake's gcover
function is particularly useful with the armor
package for ensuring that all
constructors of your data types are tested for backwards compatible
serializations without having to write all the values yourself. This allows
you to get higher confidence that you have covered most of the important cases
without the combinatorial explosion of exhaustive testing.
Credits
Original inspiration came from the production needs of Formation (previously Takt).
Providers and other details were inspired by similar packages in Python and Ruby.