Skip to main content
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 import_entities
This should only be used for the initial import of registry data, i.e. when you have an empty DB and a big text file containing the complete 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_entities [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.

Metadata

Release files for django-thjodskra 0.562

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-thjodskra 0.562
File Size Uploaded Provenance Actions
django-thjodskra-0.562.tar.gz 8.3 kB Without provenance Details for django-thjodskra-0.562.tar.gz

Release files / django-thjodskra-0.562.tar.gz

Download URL django-thjodskra-0.562.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2e5856cc38b5ee142ac87c60c5a1e3f24e831004bf8c699538be9c523f373fa6
BLAKE2b-256 checksum
How to use checksums
d3569a2d78d55b86fe6199870511f8eb5b49ae9dd900b71514919f7bf5306408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-thjodskra 0.562

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.562 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page