Code Monkey home page Code Monkey logo

abstractdata's Introduction

Build status

AbstractData

AbstractData is a C# library and scripting language built to move data from one place to another.

Project Status: Under Development - scripts and console are working. Basic string data is the only data type attempted.

What sort of data formats are compatible?

Currently the only thing in testing is text only. Some data adaption has been implemented but it is far from complete.

  • SQL Server Databases
  • Excel Files
  • CSV Files
  • SQLite Databases
  • Google Sheets
  • Access Databases
  • PostgreSql Databases
  • MariaDB/MySQL Databases
  • TODO: Windows File Permissions (read only)
  • TODO: Oracle Databases
  • TODO: VoltDB Databases
  • TODO: MongoDB Datablases ?
  • TODO: Firebase ?
  • TODO: JSON Files ?

Build with Visual Studio

This solution has been built for Visual Studio Community 2017 and can be edited and built in that environment.

Build without Visual Studio

Without visual studio, download nuget bianaries from nuget.org and add nuget to your PATH. Then dowload Visual Studio 2017 Build Tools. After it has been installed, then run the build.cmd file.

Library Usage

Currently unusable. As things come together there will be a way to include the library in projects from source and also from NuGet.

CLI Installation

Same answer as above. When things are working there will be a way to run scripts from the command line and an installer to add the CLI to the path.

CLI Usage

Below is an example of how to use the interpreter

>> #This is a comment. Lines that start with '#' will be ignored.
>> 
>> # Database references define the files that will be used later
>> SQLiteDB sqlite1 = "C:\--path to database--"
>> ExcelFile excel1 = "C:\--path to excel file--"
>> CSVFile csv1 = "C:\--path to csv file--"
>>
>> # Table references tell where the data will move to. In this data moves from Sheet1 in the excel file to the CSV file.
>> tableReference(excel1>Sheet1 => csv1)
>> # Data references tells which columns or fields to move where. In this case letter columns to ordinal columns in the csv file
>> A => 0
>> B => 1
>> C => 2
>> D => 3
>> # The move command executes the references and moves the data
>> move()
>>
>> tableReference(excel1>Sheet1 => sqlite1>Table1)
>> A => Field1
>> B => Field2
>> C => Field3
>> D => Field4
>> move()
>>
>> # exit will close the interpreter
>> exit

abstractdata's People

Contributors

moutansos avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

eksotama

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.