A Django app providing ePUAP integration interface.
Project description
django-epuap-esp
django-epuap-esp is a Django application providing integration with Polish Public Administration Services electronic inbox. django-epuap-esp is not related to Profil Zaufany authentication workflow, use django-epuap instead.
Installation
To get django-epuap-esp please follow the steps below:
- obtain ePUAP Service Certificate (https://int.epuap.gov.pl/wps/portal/strefa-urzednika/katalog-spraw/udostepnianie-uslug/najczesciej-zalatwiane-sprawy/wniosek-o-certyfikat-do-srodowiska-integracyjnego)
- download ePUAP Server Certificate (from Strefa urzędnika→Pomoc)
- pip install django-epuap-esp
- add following options to settings.py:
EPUAP_ESP_SUBJECT =ePUAP Public Administration Subject identification stringEPUAP_ESP_BOX =ePUAP Public Administration box nameEPUAP_ESP_ADDRESS =ePUAP Public Administration box addressEPUAP_ESP_SYSTEM_CERT =ePUAP Service Certificate PEM-encoded file nameEPUAP_ESP_SYSTEM_KEY =ePUAP Service Certificate private key PEM-encoded file nameEPUAP_ESP_WS_CERT =ePUAP Server Certificate PEM-encoded file name
- use an interface in view or module.
epuapesp.epuap.EPuap.pull()should be invoked periodically. Ex.from epuapesp import epuap document = epuap.EPuap.pull() #process document.content epuap.EPuap.acknowledge(document.sha256)
Current state
django-epuap-esp provides integration with ePUAP test environment. Currently only document receiver (pull) works. A document delivery is still WiP.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-epuap-esp-1.2.1.tar.gz
(25.5 kB
view details)
File details
Details for the file django-epuap-esp-1.2.1.tar.gz.
File metadata
- Download URL: django-epuap-esp-1.2.1.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59ef55cbfdb878111f1ad3d68e03b5074eb0bb327378e4800b29472df118f71b
|
|
| MD5 |
698ad6d3fe04d942cfd3634129814b14
|
|
| BLAKE2b-256 |
105df48c23ccc5ad44bd33e6794e06b5bb5b98de1b7376b04c31a4af4ff9aede
|