Skip to main content

gisweb-jpparest

Client Python asincrono per le API REST Maggioli JPPA.

La libreria gestisce autenticazione, cache del token, un singolo retry dopo una risposta 401, errori HTTP e le chiamate al servizio di stampa. Il mapping tra il modello applicativo e i payload Maggioli resta nell'applicazione chiamante.

import httpx

from gisweb_jpparest import JppaClient

async with httpx.AsyncClient(timeout=30) as http:
    client = JppaClient(
        "https://pagopa.example/rest",
        "username",
        "password",
        "codice-ipa",
        http_client=http,
    )
    risposta = await client.invia_dovuto(payload)

Metadata

Release files for gisweb-jpparest 0.2.0

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

Source distribution (sdist)

Source distribution for gisweb-jpparest 0.2.0
File Size Uploaded
gisweb_jpparest-0.2.0.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gisweb-jpparest 0.2.0
File Interpreter ABI Platform
gisweb_jpparest-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.8 kB

Release files / gisweb_jpparest-0.2.0.tar.gz

Download URL gisweb_jpparest-0.2.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ccfe9b358c1d05ce5a267c0ddbae91c9997e8937754e9b247e70899a72fe5ee5
BLAKE2b-256 checksum
How to use checksums
4ba849f5c186366a62b850345e30b7c9707063e0b366df10a782753c6b665912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.12 Linux/6.8.0-137-generic

Release files / gisweb_jpparest-0.2.0-py3-none-any.whl

Download URL gisweb_jpparest-0.2.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48dfd6cfeacbc4882ce15a1885f2d70c81b31dfd4da444673c6f48fd0c9333d6
BLAKE2b-256 checksum
How to use checksums
4f76a169a354c9d5da87d6b740fc82bd8c7b400485b85fd3ce68cbfbe6582763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.12 Linux/6.8.0-137-generic

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.0.1

2 release files

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