Skip to main content

django-thjodskra is a simple app for integrating the icelandic national registry into your django project

Project description

django-thjodskra
================

django-thjodskra is a simple app for integrating the icelandic national registry into your project.
You still need to aquire the data files through the proper channel. This project only contains django models and functions for dealing with the archaic fileformat provided by the registry distributors.

###Installation:
pip install django-thjodskra

###Usage:
thjodskra.models.Person corresponds to rows in the national registry.

python manage.py fetch_update
Fetches update file via FTP, this file can then be used with update_people

Requires django settings:

THJODSKRA = {
'host': [Address of your update provider],
'username': [FTP Username],
'password': [FTP Password],
'file': [Path and name of update file to fetch]
}

python manage.py update_people [filename]
Imports people that have not yet been added to local database and updates the info of those who have.

This can then be added to any script or cronjob as needed.

Project details


Download files

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

Source Distribution

django-thjodskra-0.41.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file django-thjodskra-0.41.tar.gz.

File metadata

File hashes

Hashes for django-thjodskra-0.41.tar.gz
Algorithm Hash digest
SHA256 20ca09c4f842b8b7015ec5f531811bb6974656317edd42c22e55eb46dd103793
MD5 c0906d2807884b594465cee97573a1e8
BLAKE2b-256 3cda6b690874c5c59326f16f40cbeaf8ed90b99260ea56692cbc1b115c7405e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page