Skip to main content

pypncp

CI PyPI Python Version License Coverage

Cliente Python assíncrono para a API de Consulta do PNCP — Portal Nacional de Contratações Públicas.

from pypncp import PNCPClient

async with PNCPClient() as client:
    async for p in client.precos.buscar_precos(
        q="dipirona",
        tipos_documento="edital",
        uf="SP",
    ):
        print(f"{p['descricao']} | {p['fornecedor']} | R$ {p['valor_unitario']}")
uv add pypncp

Documentação completa em docs/:

Seção Descrição
Quickstart Instalação, exemplos básicos, FastAPI
Paginação list_all*, prefetch, workers concorrentes
Recursos
Contratos Consulta de contratos
Contratações Licitações, publicações, propostas
Atas Atas de registro de preço
Busca no catálogo Busca full-text em todo o PNCP
Preços homologados Pipeline busca → itens → preços
Modelos Todos os campos e tipos
Erros Hierarquia de exceções, retry automático
Contribuindo Setup, testes, lint

Documentação oficial: Swagger da API PNCP

Licença: MIT

Metadata

Release files for pypncp 1.2.1

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

Source distribution (sdist)

Source distribution for pypncp 1.2.1
File Size Uploaded Provenance Actions
pypncp-1.2.1.tar.gz 25.2 kB With provenance Details for pypncp-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pypncp 1.2.1
File Interpreter ABI Platform Actions
pypncp-1.2.1-py3-none-any.whl Python 3 none any Details for pypncp-1.2.1-py3-none-any.whl

Total release size: 47.6 kB

Release files / pypncp-1.2.1.tar.gz

Download URL pypncp-1.2.1.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d9f077fb1aed3b2dc6ab93eb300b2ef305083a18fefb5492a30b43dc48d0fbee
BLAKE2b-256 checksum
How to use checksums
c5b14c897db664319117e4b3f89da11de53adc77e24865f9ac38ba6c4d235a21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

Release files / pypncp-1.2.1-py3-none-any.whl

Download URL pypncp-1.2.1-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c27c97c3c7250573de78ae17e7b06eabd84365303a93bfa432bd7f90e9827cb5
BLAKE2b-256 checksum
How to use checksums
e04ed256b60087351dedd4090a54f1b5365899e1c73c158bb30458849415355c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

Security for pypncp 1.2.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pypncp-1.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

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.

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