Skip to main content

A simple Django application that provides a UI and RESTFul API for read only access to NPPES data.

Project description

django-providerregistry is a simple Django application that provides UI and a RESTFul API for read-only access to public information contained within NPPES (a.k.a. the NPI database).

Detailed documentation for using the API is in the “docs” directory. Installation instructions are below.

Quick Start

  1. Install MongoDB according to http://docs.mongodb.org/manual/installation/
  2. Download and import the NPPES Public Data into MongoDB.

You can use the script “loadnppes.py”, part of to do this for you in one big step. loadnppes.py is part of the provider-data-tools package.

  1. Pip install django-providerregistry and prerequisites:

    pip install pymongo django-providerregistry
    
  2. Add “providerregistry” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'providerregistry',
    )
    
  3. Include the direct URLconf in your project urls.py like this:

    url(r'^registry/', include('providerregistry.urls')),
    
  4. Create the models that contain informationto help with searching:

    python manage.py syncdb
    
  5. Collect static content:

    python manage.py collectstatic
    
  6. Start the development server:

    python manage.py runserver
    
  7. Point your browser to htpp://127.0.0.1:8000/registry

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-providerregistry-0.6.0.tar.gz (11.2 MB) Copy SHA256 hash SHA256 Source None Apr 2, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page