Adila Pay para Python
SDK Python 3.10+ com clientes síncrono e assíncrono, gerado a partir do mesmo
contrato financeiro dos SDKs Node.js/Bun. O módulo se chama adila_pay.
Instalação
python -m pip install adila-pay
# ou
uv add adila-pay
Uso no servidor
import os
import httpx
from adila_pay import AdilaPayClient
with httpx.Client(follow_redirects=False) as transport:
client = AdilaPayClient(
base_url=os.environ["ADILA_PAY_BASE_URL"],
api_key=os.environ["ADILA_PAY_API_KEY"],
timeout=30,
max_retries=2,
httpx_client=transport,
)
customers = client.customers.list(
organization_id=os.environ["ADILA_PAY_ORGANIZATION_ID"],
limit=10,
)
customer = client.customers.create(
organization_id=os.environ["ADILA_PAY_ORGANIZATION_ID"],
idempotency_key="cliente-integracao-001",
name="Cliente de exemplo",
)
Para async, importe AsyncAdilaPayClient, use httpx.AsyncClient com
async with e aguarde os métodos com await. O contexto fecha o transporte.
Erros HTTP derivam de adila_pay.core.api_error.ApiError e expõem status_code.
Configure a URL da sua instalação; API keys pertencem somente ao servidor.
São 75 operações financeiras, incluindo links de pagamento, códigos promocionais e configuração de repasses.
Criação de conta, onboarding e cadastro humano
ficam fora do cliente. Respostas Stripe continuam abertas, com modelos Pydantic
para os envelopes de lista. A aplicação controla starting_after e has_more.
Mutações exigem chave de idempotência de 8 a 255 caracteres. Reutilize a mesma
chave e corpo somente para repetir a mesma operação lógica.
Consulte a documentação para o exemplo assíncrono
completo e os limites de ambiente. O módulo contém openapi.json,
provenance.json e py.typed.
Metadata
Release files for adila-pay 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adila_pay-0.5.0.tar.gz | 133.9 kB | With provenance | Details for adila_pay-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adila_pay-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for adila_pay-0.5.0-py3-none-any.whl |
Total release size: 360.3 kB
Release files / adila_pay-0.5.0.tar.gz
| Download URL | adila_pay-0.5.0.tar.gz |
|---|---|
| Size | 133.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e438b1310db8d1b68c9f52f2212ef7829a40f7461abc43fb8f5924f33bf1174b
|
|
BLAKE2b-256 checksum How to use checksums |
be01fe83b124bcec57e459de28fad744e5cd250cd89adbd89026b1be4ba2b20c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Nov 6, 2026.
Transparency logRelease files / adila_pay-0.5.0-py3-none-any.whl
| Download URL | adila_pay-0.5.0-py3-none-any.whl |
|---|---|
| Size | 226.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43de1418ddd8096d8d56cc294e525e57eea694f99b98d0bae4165c1c187388b0
|
|
BLAKE2b-256 checksum How to use checksums |
bcda1815b2b0104c4b7fcdc66b5073cd466da76bb42bbdce43cf5e43e302c31c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Nov 6, 2026.
Transparency logSecurity for adila-pay 0.5.0
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.
Attestation for adila_pay-0.5.0.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 Nov 6, 2026.
Transparency logA 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.