Softpedia
 


LINUX CATEGORIES:



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

    pydol 1.0.2

    Download button

    Downloads: 153  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sean Whalen | More programs
    MIT/X Consortium Lic... / FREE
    January 10th, 2013, 04:28 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    pydol description

    U.S. Department of Labor API interface in Python

    pydol is a Python module that provides an interface for the U.S. Department of Labor API.

    Usage

    from pydol import DOLAPI

    # Create an instance of the API
    DOL = DOLAPI("d9c6c290-da4c-424e-a378-fb4bd027b58b",
     "mysecret11111111111")

    # Get dataset metadata as a dictionary structure
    # Multi-part dataset names are separated by a /
    BLS = DOL.metadata("statistics/BLS_Numbers")

    # Get table data as a list of dictionaries
    UNEMPLOYMENT = DOL.table("statistics/BLS_Numbers", "unemploymentRate")

    # detailed examples at docs/examples.txt



    Product's homepage

    Requirements:

    · Python

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

    · Fixed mistakes in documentation.

      


    TAGS:

    U.S. Department of Labor API | Python interface | Python library | U.S. | Department of Labor | API

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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