Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Documentation

    mongodoc 0.3.3

    Download button

    No screenshots available
    Downloads: 303  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Craig Swank | More programs
    GPL / FREE
    January 7th, 2012, 04:17 GMT [view history]
    ROOT / Documentation

     Read user reviews (0)  Refer to a friend  Subscribe

    mongodoc description

    Creates a uml-like diagram for a nested mongodb document

    mongodoc is a Python module that creates a UML-like diagram for a nested mongodb document.

    If you have a mongodb database that you wish to document, a good starting point might be to install mongodoc and use the doc-db command:

    doc-db test

    After answering a few questions, you will get an output file that will look something like this:

     _____________________________________________________________________________
    | people |
    |_____________________________________________________________________________|
    | last: < type 'unicode' > ________________________________|
    | mood: < type 'unicode' > | address ||
    | age: < type 'int' > |________________________________||
    | location: < type 'unicode' > | state: < type 'unicode' > ||
    | address: < type 'dict' > | street: < type 'unicode' > ||
    | _id: < class 'bson.objectid.ObjectId' > | number: < type 'int' > ||
    | first: < type 'unicode' > | zip: < type 'int' > ||
    | |________________________________||
    |_____________________________________________________________________________|


    This document has a sub-document for the value of the address field, so it appears as a box within the people diagram. You will get one of these diagrams for each collection in the db.

    The doc-db command has a few options for connecting to the db:

    % doc-db -h
    usage: doc-db [-h] [--port PORT] [--host HOST] [--username USERNAME]
     [--password PASSWORD] [--file FILE]
     name

    Document a mongo db

    positional arguments:
     name The name of the mongo db to document

    optional arguments:
     -h, --help show this help message and exit
     --port PORT The db port number
     --host HOST The db host
     --username USERNAME The username for authenticating to the db
     --password PASSWORD The password for authenticating to the db
     --file FILE The name of the output file



    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Bugfix: didn't show sub documents when the subdocs were longer than the parent doc.

      


    TAGS:

    database documentation | mongodb document | mongodb | database | documentation

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM