GithubHelp home page GithubHelp logo

davidpeckham / pyunv Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 392 KB

Automatically exported from code.google.com/p/pyunv

License: GNU Lesser General Public License v2.1

Python 91.98% Mako 8.02%

pyunv's Introduction

Introduction
============

This package reads a SAP BusinessObjects universe (.unv) file
and creates a text manifest that includes universe settings,
classes, objects, conditions, source tables, source columns, and
joins. You can use your favorite diff tool to compare manifests
and track changes between versions of your universes.

Installing
==========

Install PyUnv with easy_install::

    easy_install pyunv

Using
=====

With PyUnv installed, this will create a universe manifest::

    $ python docunv.py tests/universes/universe_xir2.unv
    
or write your own version using pyunv::

    >>> from pyunv.reader import Reader
    >>> from pyunv.manifest import Manifest
    >>> universe = Reader(open('sample.unv', 'rb')).universe
    >>> Manifest(universe).save(open('manifest.txt', 'w'))

This will create a text manifest of the tables, columns, classes, 
objects, and conditions in your universe. Use diff, FileMerge, or 
your favorite file comparison tool to compare manifests so you can 
track changes between releases.

Limitations
===========

I've tested PyUnv with BusinessObjects XI R2 universes. It parses most 
of the information stored in a universe file, but not all. Try it on 
your universes to see if it extracts what you need. I haven't tested
PyUnv with BusinessObjects 6.5 or XI R3. Let me know how it works for
you.

License
=======
This library and sample program are licensed under the GNU Lesser General 
Public License.

pyunv's People

Stargazers

 avatar  avatar  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.