Giter Club home page Giter Club logo

analysis-of-parse-files's Introduction

Analysis-Of-Files

This class is used to make analysis of xml, dita and ditamap etc. files. This module is worked on parsing files like xml.

Author: Nilesh Payghan contact: [email protected] Linkdin: www.linkedin.com/in/nileshpayghan7

Description: This is simple analysis example for parsing files and identify their behavior of files. - This class is used to make analysis of xml like files. - Number of attributes contains that element. - This gives us output in csv. - CSV contains xpath, attribute and their attribute values. If one attribute contains values more than 10 then it will write it as [....] in list. - Because it contains different values with that attribute. - It shows attribute and their values if the attribute values are not found more than 10 for that particular tag.

Warning: set set_prefixes key value pair of file namespaces whatever you have. otherwise it will work properly - If don't have namespaces for files then comment that lines and run as it is. - If file is not parsed then it will show an traceback because I don't handle any kind of exception in this module. - so provide correct input and don't forget set set_prefixes for your file namespace.

command to run: python AnalysisOfFiles.py directory_name extension(xml,dita,ditamap) directory_name: contains xml like files for parsing. extension: give an extension of files that we wanted to analyse. ex. if we give an xml as extension it only gets xml files from directory which is provided.

Conclusion: We can analyse the hundreds and thousands of files within a minute. - We don't need to analyse such files manually while data conversion - This is helpful for data conversion expertise for analyse files and get what kind tagging structure within it.

Note: This module is created for educational purpose. © Copyright Author and contributors 2018

analysis-of-parse-files's People

Contributors

nileshpayghan avatar

Stargazers

 avatar

Watchers

 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.