Integrify Clopos
Integrify API inteqrasiyalarını rahatlaşdıran sorğular kitabaxanasıdır. Bu kitabxana, başqa Integrify alt-kitabxanaları üçün "bünövrə" (core) kitabxanadır.
Dokumentasiya: https://integrify.mmzeynalli.dev
Kod: https://github.com/integrify-sdk/integrify-python/tree/main/packages/core
Əsas özəlliklər
- Kitabxana həm sync, həm də async sorğu dəyişimini dəstəkləyir.
- Kitabaxanadakı bütün sinif və funksiyalar tamamilə dokumentləşdirilib.
- Kitabaxanadakı bütün sinif və funksiyalar tipləndirildiyindən, "type hinting" aktivdir.
- Sorğuların çoxunun məntiq axını (flowsu) izah edilib.
Kitabxananın yüklənməsi
$ pip install integrify-core
İstifadəsi
Məsələn, EPoint üçün sorğuları istifadə etmək istərsək:
Sync
from integrify.epoint import EPointRequest
resp = EPointRequest.pay(amount=100, currency='AZN', order_id='12345678', description='Ödəniş')
print(resp.ok, resp.body)
Async
from integrify.epoint import EPointAsyncRequest
# Async main loop artıq başlamışdır
resp = await EPointAsyncRequest.pay(
amount=100, currency='AZN', order_id='12345678', description='Ödəniş'
)
print(resp.ok, resp.body)
Sorğu cavabı
Yuxarıdakı sorğuların (və ya istənilən sorğunun) cavab formatı ApiResponse class-ıdır:
class ApiResponse:
ok: bool
"""Cavab sorğusunun statusu 400dən kiçikdirsə"""
status_code: int
"""Cavab sorğusunun status kodu"""
headers: dict
"""Cavab sorğusunun header-i"""
body: Dəyişkən
"""Cavab sorğusunun body-si"""
Metadata
Release files for integrify-core 1.2.1
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 |
|---|---|---|---|---|
| integrify_core-1.2.1.tar.gz | 11.6 kB | Without provenance | Details for integrify_core-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| integrify_core-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for integrify_core-1.2.1-py3-none-any.whl |
Total release size: 23.2 kB
Release files / integrify_core-1.2.1.tar.gz
| Download URL | integrify_core-1.2.1.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bdf6a5454c3169a4576b0f1b37fe182d604ef8fb3a15d1a9d7ed0964589f815
|
|
BLAKE2b-256 checksum How to use checksums |
bc7aaf32db8be31ecce9e9016c01685deca5836f464999706adec612dc8135fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / integrify_core-1.2.1-py3-none-any.whl
| Download URL | integrify_core-1.2.1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1d5e638082092fd2a9bc64126b37f7b5bda8f577b375f9115080855d9aef7d8
|
|
BLAKE2b-256 checksum How to use checksums |
1587641c174dd43b50dd0576107eefbcc2abf0f744b38f884cb044d5c1c61b39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for integrify-core 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.
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.