Giter Site home page Giter Site logo

kkontosis / sql2csvfs Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 71 KB

sql2csvfs (prev. sql2textfs) is a FUSE filesystem for mounting database tables as csv text files, with optional schema metadata.

License: GNU General Public License v3.0

Makefile 1.39% C++ 90.92% Shell 7.69%

sql2csvfs's Introduction

`sql2textfs' is a FUSE filesystem for mounting database tables as text files.
Written by Kimon Kontosis in year 2013 for his major paper in
Department of Informatics and Telecommunications,
National & Kapodistrian University of Athens.
Copyright (C) 2013, Kimon Kontosis


The program `sql2textfs` is a custom file system based on FUSE that
lets the user mount a database and view all its tables as files of a 
directory of the filesystem in a POSIX system.
The databased tables are viewed as files but in a specific format:
All table entries are converted into lines in a file of text.
Columns are separated by tab, so all the data of the table is in
a tab-delimited text file. The file format is a form of CSV format.
The table header is in the first line of the file. It is a tab-delimited
line containing the name and some type-properties of each column.
The file system sql2textfs relies on `libsql2text` and `libretranse`
which are parts of the same project. `libretranse` is a runtime
library that parses and runs programs written in `retranse' - a language 
based on regular expressions. The configuration file of sql2textfs, 
which is written in retranse, is essential since much of the
convertion functionality lies there and each database type requires
a special configuration file.
The project sql2textfs, when built, produces the binary file 
`sql2textmount' which is the program that mounts databases into a 
directory given a connection string.


sql2textfs is licensed under the GNU General Public License version 3 or
later. See LICENSE


For sql2textfs documentation see doc/MANUAL

For INSTALLATION instructions see doc/INSTALL

sql2csvfs's People

Contributors

kkontosis avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.