Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    iso3166 0.3

    Download button

    No screenshots available
    Downloads: 383  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mike Spindel | More programs
    MIT/X Consortium Lic... / FREE
    September 6th, 2012, 21:07 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    iso3166 description

    Self-contained ISO 3166-1 country definitions

    ISO 3166-1 defines two-letter, three-letter, and three-digit country codes.

    iso3166 is a Python library, a self-contained module that converts between these codes and the corresponding country name.

    Installation:

    pip install iso3166

    Usage:

    >>> from iso3166 import countries
    >>>
    >>> countries.get('us')
    Country(name=u'United States', alpha2='US', alpha3='USA', numeric='840')
    >>> countries.get('ala')
    Country(name=u'\xc5land Islands', alpha2='AX', alpha3='ALA', numeric='248')
    >>> countries.get(8)
    Country(name=u'Albania', alpha2='AL', alpha3='ALB', numeric='008')



    Product's homepage

    Requirements:

    · Python

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

    · Current through ISO newsletter VI-13

    Fix changes from 0.2 (thanks vincentfretin!):

    · Venezuela
    · Saint Helena
    · Bolivia

      


    TAGS:

    country definitions | ISO 3166-1 | ISO | 3166-1 | country

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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