Skip to main content

kobil-sign

KOBIL digital signature client for Python, with automatic OAuth token management.

pip install kobil-sign
from kobil.sign import SignClient

sign = SignClient(
    sign_base_url="https://idp.cloud.kobil.com/auth/realms/{TENANT}/mpower/v1/users/{USER_ID}",
    tenant_name="acme",
    default_callback_url="https://yourapi.com/signature-callback",
    # credentials optional if KOBIL_* env vars are set
)

res = sign.initiate_pdf_signature(
    user_id=user_id,
    file=open("Agreement.pdf", "rb").read(),
    position={"page_number": 1, "bottom_left_x": 59, "bottom_left_y": 89, "top_right_x": 85, "top_right_y": 96},
    file_name="Agreement.pdf",
    message_text="Please sign here",
)
# res["messageId"], res["instanceId"]

POST {sign_base_url}/signature as multipart (signatureFile PDF + signatureData JSON). The signed PDF is delivered to your callback; download it via kobil.chat's get_attachment_file. Failures raise kobil.sign.KobilSignError.

License

MIT

Metadata

Release files for kobil-sign 3.0.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 kobil-sign 3.0.0
File Size Uploaded Provenance Actions
kobil_sign-3.0.0.tar.gz 3.0 kB Without provenance Details for kobil_sign-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kobil-sign 3.0.0
File Interpreter ABI Platform Actions
kobil_sign-3.0.0-py3-none-any.whl Python 3 none any Details for kobil_sign-3.0.0-py3-none-any.whl

Total release size: 6.1 kB

Release files / kobil_sign-3.0.0.tar.gz

Download URL kobil_sign-3.0.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6ec7fd260d05b6ed013dd5636da2aa78f0a5dbc1b4f993f0ac4d3797a368d670
BLAKE2b-256 checksum
How to use checksums
dbb97de5d92946b057cfca1d1f09d36e1e99bd23dba8271f8181fbf879c831d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / kobil_sign-3.0.0-py3-none-any.whl

Download URL kobil_sign-3.0.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e37fca17fb9582c2c54a9ba7ece072309bb67f5751bb5ea17763136d18a89ed
BLAKE2b-256 checksum
How to use checksums
25bc6d60df7125438e95aa76405ddc82b1f2037040e894e4e474a18e8a92d5bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for kobil-sign 3.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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