Code Monkey home page Code Monkey logo

parser's Introduction

parser

repository contains implementations tasks on the subject "collective development" by Daria Karpenko.

structure

src
  │   mssql2pg.py - loading metadata from mssql db and creating ddl instructions 
  │                 and uploading this metadata to sqlite db;
  │                 transfering data from mssql db to postgres sql db 
  │                  
  │   init_pgdb.py - loading metadata from db or xdb file and uploading to postgresql db
  │   dbd2xml.py - loading from sqlite db and write to xml file
  │   xml2dbd.py - parsing from xml file and uploading to sqite db
  │ 
  ├───data_transfering
  │       data_transfering.py   - transfering data from mssql db to postgresql db 
  │ 
  ├───db
  │       config.py             - contains url's and path's which uses in program
  │       mssql_queries.py      - contains sql queries for mssql database
  │       postgres_util.py      - util for postgresql
  │       sqlite_ddl_init.py    - queries for creating sqlite database
  │       sqlite_queries.py     - contains sql queries for sqilte database
  │
  ├───dbd_module
  │       dbd2ram.py            - loading from database
  │
  ├───ram_module
  │       ram2dbd.py            - uploading to database
  │       ram2dbd_postgres.py   - contains sql queries for postgresql database
  │       ram2xml.py            - converting from ram representation to xml file
  │       ram_structure.py      - ram classes
  ├───test
  │       test.py               - contains checking result of parsing and downloading data
  │
  ├───utils
  │       exceptions.py         - contains custom exceptions which uses in some modules
  │       minidom_fixed.py      - util for xml
  │       writer.py             - writing files
  │
  └────xml_module
          xml2ram.py            - creating ram representation of xml file

modules that were implemented:

  1. a мodule of converting from text representation of database to representation in RAM (xml2ram)
  2. a мodule of converting from object representation of database to text representation (ram2xml)
  3. a мodule of uploading a RAM representation to the SQLite database (ram2dbd)
  4. a module of loading the DBD representation and converting it into a RAM representation (dbd2ram)
  5. a module of loading metadata from mssql db and creating ddl instructions and uploading this metadata to sqlite db; transfering data from mssql db to postgres sql db (mssql2pg)
  6. a module of loading metadata from db or xdb file and creating empty postgresql db (init_pgdb)

parser's People

Contributors

dariaaa avatar

Stargazers

Maksim Leonov avatar

Watchers

James Cloos avatar  avatar

parser's Issues

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.