Python client for the Siigo API
Project description
siigo_connector — Python client for the Siigo API
[!WARNING] Status: Under development (alpha). Breaking changes may occur.
A small, typed client for Siigo. It handles auth (JWT with username + access_key + Partner-Id), retries, and pagination so you can call Python methods instead of crafting HTTP requests.
Requires Python 3.9+
Install
Create and activate a virtual environment and then install FastAPI:
pip install siigo-connector
Usage
Create the Client instance
from src.siigo_connector import client as siigo
c = siigo.Client(
username="siigoapi@pruebas.com",
access_key="<access_token>",
partner_id="myapp", # short, no spaces
)
Customers
for cust in c.customers.list(created_start="2024-08-30"):
print(cust)
Close the connection after at the end
c.close()
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file siigo_connector-0.1.10.tar.gz.
File metadata
- Download URL: siigo_connector-0.1.10.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1599c039f2689df791e51af968193489f761b968527fa3e8531e7b5a77fb5c97
|
|
| MD5 |
ab0c6c757f1c6afb88794bf4db616341
|
|
| BLAKE2b-256 |
c718b0a5f956de96ec2e679cce6a844ce01d5c6a282d8eec2e03620124fc30a7
|
Provenance
The following attestation bundles were made for siigo_connector-0.1.10.tar.gz:
Publisher:
release-pypi.yml on arendondiosa/siigo-connector-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
siigo_connector-0.1.10.tar.gz -
Subject digest:
1599c039f2689df791e51af968193489f761b968527fa3e8531e7b5a77fb5c97 - Sigstore transparency entry: 454957809
- Sigstore integration time:
-
Permalink:
arendondiosa/siigo-connector-py@7eb8f26fbdaa25b1618f57f8c689768c8301949f -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/arendondiosa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@7eb8f26fbdaa25b1618f57f8c689768c8301949f -
Trigger Event:
push
-
Statement type:
File details
Details for the file siigo_connector-0.1.10-py3-none-any.whl.
File metadata
- Download URL: siigo_connector-0.1.10-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cbf57fcdab0f61650f18ad546e2f22ba8971840538eb8c4e0bcb52618142104
|
|
| MD5 |
8574486921b713cfa746a2243c50dd70
|
|
| BLAKE2b-256 |
4d281960b68133c364c0b43e3c51821e286945db843d2e774e73c2bc4fa55e35
|
Provenance
The following attestation bundles were made for siigo_connector-0.1.10-py3-none-any.whl:
Publisher:
release-pypi.yml on arendondiosa/siigo-connector-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
siigo_connector-0.1.10-py3-none-any.whl -
Subject digest:
7cbf57fcdab0f61650f18ad546e2f22ba8971840538eb8c4e0bcb52618142104 - Sigstore transparency entry: 454957833
- Sigstore integration time:
-
Permalink:
arendondiosa/siigo-connector-py@7eb8f26fbdaa25b1618f57f8c689768c8301949f -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/arendondiosa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yml@7eb8f26fbdaa25b1618f57f8c689768c8301949f -
Trigger Event:
push
-
Statement type: