Popularity
1.9
Declining
Activity
0.0
Stable
1
3
0
Monthly Downloads: 10
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Database
haskell-tyrant alternatives and similar packages
Based on the "Database" category.
Alternatively, view haskell-tyrant alternatives based on common mentions on social networks and blogs.
-
erd
Translates a plain text description of a relational database schema to a graphical entity-relationship diagram. -
HDBC-session
This repository includes a joined query generator based on typefull relational algebra, and mapping tools between SQL values list and Haskell record type. -
groundhog
This library maps datatypes to a relational model, in a way similar to what ORM libraries do in OOP. See the tutorial https://www.schoolofhaskell.com/user/lykahb/groundhog for introduction -
mysql-simple
A mid-level client library for the MySQL database, intended to be fast and easy to use. -
dbmigrations
DISCONTINUED. A library for the creation, management, and installation of schema updates for relational databases. -
ampersand
Build database applications faster than anyone else, and keep your data pollution free as a bonus.
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
* 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 haskell-tyrant or a related project?
README
Pure Haskell interface to Tokyo Tyrant
Haskell-tyrant is a client library for Tokyo Tyrant. It uses the binary protocol for efficiency.
Example
A simple example assuming you've got ttserver running at the default location
module Main where
import Database.TokyoTyrant
import Data.ByteString.Lazy.Char8 (pack)
defaultHost = "localhost"
defaultPort = "1978"
main = do
let k = pack "mykey"
let v = pack "myval"
conn <- openConnection defaultHost defaultPort
result <- putValue conn k v
--should be "success"
print result
g <- getValue conn k
print g
-- remove the record created above
out conn k
-- close connection to server
closeConnection conn