Polako Finance Python SDK
Official Python SDK for the Polako Finance payment gateway. This library provides an async-first interface following modern Python best practices for seamless integration with the Polako Finance API.
The SDK uses the polako.sdk namespace to avoid naming conflicts with other packages.
Features
- ✅ Async-First - Built with async/await for optimal performance
- ✅ Type Safety - Full type hints for better IDE support and code quality
- ✅ Easy to Use - Simple, intuitive API design
- ✅ Comprehensive - Complete coverage of Polako Finance payment gateway features
- ✅ Well Documented - Extensive documentation and examples
- ✅ Production Ready - Robust error handling and validation
- ✅ Modern - Follows current Python async best practices
Installation
Install using pip:
pip install polako-finance
Or using poetry:
poetry add polako-finance
Requirements
- Python 3.10+
- httpx >= 0.25
Quick Start
import asyncio
from polako.sdk import PolakoClient, OrderDetails, OrderItem, CustomerInfo, CustomerAddress
from decimal import Decimal
from uuid import UUID
async def create_payment():
# Use as context manager for automatic cleanup
async with PolakoClient(test_env=True) as client:
# Create order details
order = OrderDetails(
currency="RSD",
language="en",
order_id="ORDER-123",
items=[
OrderItem(
code="PROD-001",
name="Premium Product",
description="A premium product",
price=Decimal("100.00"),
quantity=2,
tax="VAT"
)
],
total=Decimal("200.00")
)
# Create customer information
customer = CustomerInfo(
first_name="John",
last_name="Doe",
email="john.doe@example.com",
phone="+381123456789",
address=CustomerAddress(
address="Knez Mihailova 5",
city="Belgrade",
state="Central Serbia",
zip="11000",
country="RS"
)
)
# Create payment session
session = await client.create_order(
order=order,
customer=customer,
platform_id=UUID("00000000-0000-0000-0000-000000000000"), # your platform ID
secret_key="your-secret-key"
)
print(f"Payment URL: {session.paymentPageUrl}")
print(f"Session ID: {session.paymentSessionId}")
print(f"Expires at: {session.expiresAt}")
return session
# Run async function
if __name__ == "__main__":
session = asyncio.run(create_payment())
Payment Callback Handling
Handle payment callbacks from the gateway:
Always pass secret_key in production: if it is omitted, the signature is not verified. A callback with a wrong
signature raises AssertionError.
from polako.sdk import PolakoClient
# Parse callback payload
callback_payload = request.body # Raw body from your webhook endpoint
try:
callback = PolakoClient.parse_payment_callback(
payload=callback_payload,
secret_key="your-secret-key" # Verifies the signature
)
except AssertionError:
... # Signature mismatch: reject the request (e.g. respond with HTTP 400)
if callback.success:
print(f"Payment successful for order: {callback.order_id}")
print(f"Amount: {callback.total} {callback.currency}")
else:
print(f"Payment failed for order: {callback.order_id}")
# Merchant info is included in the callback (v0.1.9+)
if callback.merchant:
print(f"Merchant: {callback.merchant.name}")
print(f"PIB: {callback.merchant.pib}")
print(f"Address: {callback.merchant.address}")
Subscriptions
A subscription charges a customer's card on a schedule. You create it, the customer goes through a one-time card registration (3DS), and from then on the gateway charges the card every billing interval and tells your server about every charge.
You need:
- the company ID, shown on the Company info page of the dashboard, and the API key of your platform (the same API key that signs payments);
- subscriptions switched on for your company: Polako does that, and until it is done
create_subscriptionraises aConflictError; - a webhook URL for your platform, set in the platform settings in the dashboard: charge notifications are sent there;
- an error URL, which you give for every subscription: a failed card registration is reported there.
Create a subscription and send the customer to the card registration
from decimal import Decimal
from uuid import UUID, uuid4
from fastapi import FastAPI
from fastapi.responses import HTMLResponse
from polako.sdk import BillingInterval, PolakoClient, render_registration_form
COMPANY_ID = UUID("00000000-0000-0000-0000-000000000000") # your company ID
API_KEY = "your-secret-key" # the API key of your platform
app = FastAPI()
@app.post("/subscribe")
async def subscribe():
key = str(uuid4()) # keep it with your order before the call: repeating a request with the same key is safe
async with PolakoClient(test_env=True, company_id=COMPANY_ID, api_key=API_KEY) as client:
created = await client.create_subscription(
customer_email="jane.smith@example.com",
amount=Decimal("990.00"),
currency="RSD",
billing_interval=BillingInterval.MONTHLY,
merchant_subscription_ref="plan-pro-monthly",
success_url="https://shop.example.com/subscribe/success",
cancel_url="https://shop.example.com/subscribe/cancel",
error_url="https://shop.example.com/polako/subscription-error",
idempotency_key=key,
)
return HTMLResponse(render_registration_form(created.registration_form))
create_subscriptionreturns aSubscriptionCreatedwith thesubscription_id, theregistration_formand theidempotency_keythat was used (a key is generated if you do not pass one).- The subscription becomes active only after the customer completes the registration. A failure is reported to your error URL; every later charge is reported to your webhook URL.
- Repeating a request with the same
idempotency_keyreturns the same subscription. A request that fails on the network (a timeout included), or with HTTP 429, 500, 502, 503 or 504, is repeated for you, up to three attempts, with the same key. There is no overall deadline: the 30 second timeout applies to each phase of an attempt, so in the worst case a failing call takes a minute and a half or more before it raises; if you set a deadline of your own, set it above that. - The endpoint accepts 20 requests per 60 seconds, and every attempt counts. Beyond that you get a
RateLimitedErrorwithretry_afterset. amounthas at most two decimal places (990.00): the gateway keeps cents, so a third decimal is refused with aValueErrorinstead of being rounded; round the amount to cents yourself first.merchant_subscription_refis your own reference to the plan or product (1 to 128 characters). A customer can have one live subscription per reference; a second one is aConflictError.render_registration_formreturns a complete HTML page: a form that posts the customer to the card processor, or a redirect, depending on the processor. Return it as an HTML response. It sends the customer on at once with one small script and always shows a "Continue" button as well, for a browser or a page policy that blocks the script. Passauto_submit=Falseif your site forbids inline scripts: the page then holds no script and the customer presses the button.
Read the webhooks
from fastapi import HTTPException, Request
from polako.sdk import (
ChargeFailed,
ChargeSucceeded,
DroppedExternally,
SubscriptionCancelled,
WebhookPayloadError,
WebhookSignatureError,
parse_subscription_webhook,
)
@app.post("/polako/subscription-webhook")
async def subscription_webhook(request: Request):
try:
event = parse_subscription_webhook(await request.body(), request.headers.get("X-Signature"), API_KEY)
except WebhookSignatureError:
raise HTTPException(status_code=400, detail="invalid signature")
except WebhookPayloadError:
raise HTTPException(status_code=422, detail="invalid payload")
if isinstance(event, ChargeSucceeded):
print(f"Charged {event.amount} {event.currency} for {event.merchant_subscription_ref}")
elif isinstance(event, ChargeFailed):
print(f"Charge failed for {event.merchant_subscription_ref}: {event.error_class}")
elif isinstance(event, DroppedExternally):
print(f"The card of {event.merchant_subscription_ref} was revoked")
elif isinstance(event, SubscriptionCancelled):
print(f"{event.merchant_subscription_ref} was cancelled")
return {"status": "ok"}
| Event | Meaning | Fields besides subscription_id and merchant_subscription_ref |
|---|---|---|
ChargeSucceeded |
A scheduled charge went through | amount (Decimal), currency, charged_at |
ChargeFailed |
A charge failed | error_class |
DroppedExternally |
The card agreement was revoked by the card provider | none |
SubscriptionCancelled |
The subscription was cancelled | none |
UnknownSubscriptionEvent |
A kind of event this version of the SDK does not know | event (its name), data (the whole payload) |
Pass the body exactly as you received it. The signature is checked over the raw bytes, so JSON that your framework
has parsed and serialized again no longer matches and is rejected. Use the raw body (await request.body() above).
Answer with a 2xx status. A server error or no answer makes the gateway try again, up to three attempts; any other error status is final.
Read the registration failure
When the card registration fails, the gateway sends a notification to the error URL you gave. It has no event field,
so it is read with its own function.
from polako.sdk import parse_registration_failed
@app.post("/polako/subscription-error")
async def subscription_error(request: Request):
try:
failure = parse_registration_failed(await request.body(), request.headers.get("X-Signature"), API_KEY)
except WebhookSignatureError:
raise HTTPException(status_code=400, detail="invalid signature")
print(f"Registration of {failure.merchant_subscription_ref} failed: {failure.error_message}")
return {"status": "ok"}
parse_registration_failed and parse_subscription_webhook each refuse the other's body and tell you which function to
use, so a mixed-up URL is easy to spot. A notification without a signature is rejected. Subscriptions made without a
platform are notified unsigned; pass allow_unsigned=True to accept those, and check failure.signature_verified:
it is False for them, because anyone who knows your URL could send such a notification.
Errors
| Exception | HTTP status | Meaning |
|---|---|---|
UnauthorizedError |
401 | The API key is missing or unknown |
ForbiddenError |
403 | The API key belongs to another company, or the subscription does |
NotFoundError |
404 | There is no such subscription |
ConflictError |
409 | Subscriptions are switched off for your company, the customer already has a live subscription with this reference, or the status does not allow the change (resuming an active subscription, say) |
RequestValidationError |
422 | A field was rejected, for example a currency that is not allowed |
RateLimitedError |
429 | Too many requests; retry_after is the number of seconds to wait |
ServerError |
5xx | The gateway or the card processor failed |
All of them are HttpRequestErrors, so except HttpRequestError still catches every one. A network error is an
HttpClientError. A client without company_id or api_key raises ConfigurationError before sending anything, and so does an api_key that is not a string ("must be a string") or cannot be sent as a header (not printable ASCII, or whitespace at either end: a key read from a file often ends with a newline). An idempotency key that is blank, is neither a string nor a UUID, or cannot be sent raises
InvalidHeaderValueError (a kind of InvalidArgumentError), and any other invalid argument is an InvalidArgumentError, before any request. All three are ValueErrors, so except ValueError still catches them.
The retries wait with anyio.sleep, and the bounded close of a connection uses asyncio tasks; the SDK is checked on asyncio only. Where no asyncio loop runs (trio, say) the close is a plain aclose(), without the bound, and its failure is logged; nothing else is checked there.
The client is set up when a call starts, or at async with PolakoClient() if you use it. If SSL_CERT_FILE names a file that exists but is unreadable or malformed (from httpx 0.28 a missing file fails there too, before 0.28 it is skipped), or a proxy setting in the environment cannot be used (an unknown scheme, a malformed URL or port, a SOCKS proxy without the socksio package), that call or that line raises HttpClientError (Client set-up failed: ...). In the examples async with is outside the try, so their except branches do not see such a failure; put it inside yours if you want it handled.
The SDK closes the connections it opened when a call ends (or when async with exits). Normally the close is immediate; it is bounded to 10 seconds for the unexpected case (a stalled peer, an event loop that is starved, a custom transport), after which the SDK gives up and logs it, so a call that closes its own connection can in that case take that long to return. A failure of the close never raises: it does not replace the result of the call or the error you are handling, and an async with exit no longer raises it either. It is logged by the logger polako.sdk._async_client at warning level, so you can alert on it: Closing the HTTP client failed: ... (with the traceback), ... timed out after 10.0 seconds and was cancelled; its connections may stay open if it does not end, ... was cancelled before it ended ... (the close was interrupted), ... was cancelled before it started; no close was attempted, the client stays open, ... ended cancelled although the SDK did not cancel it ... (if aclose had not been called yet when it was cancelled, ... no close was attempted ... is logged instead), and ... is still running 10.0 seconds after it was cancelled; the SDK stops holding it. After the last of these asyncio may report the task as Task was destroyed but it is pending: the SDK does not hold a close that does not end for the life of the client. If your task is cancelled, or your own deadline (asyncio.timeout) runs out, while the SDK sends the request or closes, the call leaves at once with your cancellation and the close finishes in the background. If the event loop is shut down before it ends, the connections may stay open: when the loop cancels its tasks (asyncio.run does) the SDK logs that (if aclose had not been called yet, whether the close task had stepped or not, the SDK says so: no close was attempted at all); a loop that is closed with loop.close() without cancelling them only gets asyncio's own message, Task was destroyed but it is pending.
Managing a subscription
Read and manage the subscriptions of your company with the same client and API key you create them with. The SDK sends each of these calls once and does not repeat it, see "A change that did not get an answer" below.
from uuid import UUID
from polako.sdk import PolakoClient, SubscriptionStatus
COMPANY_ID = UUID("00000000-0000-0000-0000-000000000000") # your company ID
API_KEY = "your-secret-key" # the API key of your platform
async def show_active_subscriptions():
async with PolakoClient(test_env=True, company_id=COMPANY_ID, api_key=API_KEY) as client:
page = await client.list_subscriptions(status=SubscriptionStatus.ACTIVE, limit=20)
print(f"{page.total} active, showing {len(page.items)}")
for subscription in page.items:
print(subscription.id, subscription.customer_email, subscription.amount, subscription.next_charge_at)
if page.items:
details = await client.get_subscription(page.items[0].id)
print(details.status, details.saved_card.masked_pan if details.saved_card else "no card")
for charge in details.charge_history:
print(charge.charge_date, charge.status, charge.amount, charge.payment_session_id)
-
list_subscriptionsreturns aSubscriptionPage:items(a tuple ofSubscriptionSummary),total(how many match in all),limit(the page size) andoffset. It takes these arguments, all optional and all by keyword:Argument Meaning statusOne SubscriptionStatus(or its text), or several; a subscription matches any of thembilling_intervalOne BillingInterval(or its text), or severalsearchText looked for in the customer's email, in your merchant_subscription_refand in the subscription ID, ignoring casecreated_from,created_toA date(the whole day) or adatetimewith a timezone (to the second); both ends are includedsort_by,sort_ordercreated_at(the default),next_charge_at,last_charged_at,amountorstatus;ascordesc(the default, newest first)limit,offset1 to 100 subscriptions per page (10 by default); how many matching subscriptions to skip -
get_subscriptionreturns aSubscriptionDetails: the customer, the card (only its masked number, brand and expiry, never the card data itself),next_charge_atandlast_charged_at,charge_history(newest first, each charge with itsstatus,amountand thepayment_session_idyou pass torefund_sessionto return it) andevents(the journal, oldest first). The ID is aUUIDor a string holding one. -
Reading works even when subscriptions are switched off for your company.
-
A time is a timezone-aware
datetime, an amount aDecimal. A status the SDK does not know yet is returned as its text instead of aSubscriptionStatus.
To read every subscription, ask for the next page until you have them all:
async def read_all_subscriptions(client):
subscriptions = []
while True:
page = await client.list_subscriptions(limit=100, offset=len(subscriptions))
subscriptions.extend(page.items)
if not page.items or len(subscriptions) >= page.total:
return subscriptions
A subscription is in one of these statuses (SubscriptionStatus):
| Status | Meaning |
|---|---|
pending_registration |
The customer has not finished the card registration yet |
registration_failed |
The card registration failed; the subscription is over |
active |
Charged on schedule |
past_due |
The last charge failed and is being retried |
paused |
Suspended; nothing is charged |
cancelled |
Over; nothing more is charged |
Three calls change a subscription. Each returns nothing when it worked:
| Call | Works when the subscription is | Then |
|---|---|---|
pause_subscription(subscription_id) |
active |
paused: no charges until you resume it; the next charge date is kept |
resume_subscription(subscription_id) |
paused |
active again; a charge that came due during the pause is attempted soon after |
cancel_subscription(subscription_id) |
active, paused or past_due |
cancelled for good, and your webhook receives SubscriptionCancelled; the card is released unless another live subscription uses it |
Cancelling does not return money that was already charged: refund a charge with refund_session, using the
payment_session_id from the charge history.
from polako.sdk import ConflictError, HttpClientError, HttpRequestError, NotFoundError, PolakoClient
async def pause_subscription_of(subscription_id):
async with PolakoClient(test_env=True, company_id=COMPANY_ID, api_key=API_KEY) as client:
try:
await client.pause_subscription(subscription_id)
except NotFoundError:
print("There is no such subscription")
except ConflictError as error:
# Not active (already paused or cancelled, say), or subscriptions are switched off for your company.
print(f"It cannot be paused: {error.response_body}")
except HttpRequestError as error:
print(f"The gateway refused: status {error.status_code}")
except HttpClientError:
# The request may or may not have arrived. Look before you try again.
details = await client.get_subscription(subscription_id)
print(f"The subscription is {details.status}")
A change that did not get an answer. If the network fails while a change is on its way, the SDK raises
HttpClientError and cannot tell whether the change was made. It does not repeat the call, because the repeat would find
the subscription already changed and be refused with a ConflictError, which looks the same as a real refusal. Read the
subscription with get_subscription and repeat the change only if it did not happen.
Configuration
Client Options
from polako.sdk import PolakoClient
# Initialize client with options
async with PolakoClient(
timeout=30.0, # Request timeout in seconds (default: 30.0)
test_env=False # Use production environment (default: False)
) as client:
# Your code here
pass
Supported Currencies
RSD- Serbian Dinar
Supported Languages
sr- Serbianen- Englishru- Russian
Tax Schemas
VAT- Value Added TaxNo_VAT- No VATReduced_VAT- Reduced VAT rate
Error Handling
The SDK provides specific exceptions for different error scenarios:
from polako.sdk import PolakoClient, HttpClientError, HttpRequestError
try:
async with PolakoClient() as client:
session = await client.create_order(order, customer, platform_id, secret_key)
except ValueError as e:
# Validation error (invalid order or customer data)
print(f"Validation error: {e}")
except HttpRequestError as e:
# HTTP request failed (4xx or 5xx response)
print(f"Request failed with status {e.status_code}: {e.message}")
print(f"Response: {e.response_body}")
except HttpClientError as e:
# Network error or other client-side issue
print(f"Client error: {e.message}")
except Exception as e:
# Unexpected error
print(f"Unexpected error: {e}")
Beyond HttpRequestError, the SDK raises a class of its own for the statuses you will want to handle separately:
UnauthorizedError (401), ForbiddenError (403), NotFoundError (404), ConflictError (409), RequestValidationError (422),
RateLimitedError (429, with retry_after) and ServerError (5xx). All of them are subclasses of HttpRequestError, so
the code above keeps working. See Subscriptions for what they mean there.
Advanced Usage
Custom Customer Address
from polako.sdk import CustomerInfo, CustomerAddress
customer = CustomerInfo(
first_name="John",
last_name="Doe",
email="john.doe@example.com",
phone="+381123456789",
address=CustomerAddress(
address="123 Main Street",
city="Belgrade",
state="Central Serbia",
zip="11000",
country="RS"
)
)
Multiple Items in Order
from polako.sdk import OrderDetails, OrderItem
from decimal import Decimal
order = OrderDetails(
currency="RSD",
language="en",
order_id="ORDER-789",
items=[
OrderItem(
code="ITEM-001",
name="Product A",
description="First product",
price=Decimal("50.00"),
quantity=2,
tax="VAT"
),
OrderItem(
code="ITEM-002",
name="Product B",
description="Second product",
price=Decimal("75.00"),
quantity=1,
tax="VAT"
),
],
total=Decimal("175.00") # 50*2 + 75*1
)
API Reference
PolakoClient
Async client for Polako Finance API.
Methods
async create_order(order, customer, platform_id, secret_key)- Create a new payment orderasync get_session_details(session_id)- Get details of a payment sessionasync get_payment_url(session_id, payment_option_id, customer, language_code, terms_accepted, address_shipping=None)- Get a payment URL for an existing sessionasync check_order_status(session_id, platform_id, secret_key)- Check the status of a payment sessionasync refund_session(session_id, platform_id, secret_key, reason, refund_items=None)- Full or partial refundparse_payment_callback(payload, secret_key)- Parse payment callback (static method)async create_subscription(*, customer_email, amount, currency, billing_interval, merchant_subscription_ref, success_url, cancel_url, error_url, idempotency_key=None)- Create a subscription (the client needscompany_idandapi_key)async list_subscriptions(*, status=None, billing_interval=None, search=None, created_from=None, created_to=None, sort_by=None, sort_order=None, limit=10, offset=0)- One page of the subscriptions of your companyasync get_subscription(subscription_id)- One subscription with its customer, card, charge history and journalasync pause_subscription(subscription_id),async resume_subscription(subscription_id),async cancel_subscription(subscription_id)- Change a subscription
Functions
parse_subscription_webhook(body, signature, api_key)- Check and read a subscription webhook:ChargeSucceeded,ChargeFailed,DroppedExternally,SubscriptionCancelledorUnknownSubscriptionEventparse_registration_failed(body, signature, api_key, *, allow_unsigned=False)- Check and read the notification about a failed card registrationrender_registration_form(form, *, auto_submit=True)- Turn a registration form into an HTML page for the customer
Context Manager
The client supports async context manager protocol for automatic resource cleanup:
async with PolakoClient() as client:
# Client automatically manages connection lifecycle
session = await client.create_order(...)
# Resources are automatically cleaned up here
Models
OrderDetails- Order informationOrderItem- Individual order itemCustomerInfo- Customer informationCustomerAddress- Customer address detailsSessionInfo- Payment session responsePaymentCallback- Parsed payment callback dataMerchantInfo- Merchant details from callbacks (name, PIB, address)PaymentSessionDetails,PaymentOption,PaymentUrlResult,InitCustomerInfo- Session details and payment URLOrderStatusResponse,OrderStatusItem- Result ofcheck_order_statusRefundItem,RefundResponse,RefundedItem- RefundsSubscriptionCreated,BillingInterval- Result and input ofcreate_subscriptionFormPost,HppFormPost,RedirectForm- The three kinds of registration formChargeSucceeded,ChargeFailed,DroppedExternally,SubscriptionCancelled,UnknownSubscriptionEvent- Subscription webhook events (type aliasSubscriptionWebhookEvent)RegistrationFailed- A failed card registrationSubscriptionPage,SubscriptionSummary,SubscriptionDetails- Result oflist_subscriptionsandget_subscriptionSubscriptionCustomer,SavedCard,ChargeAttempt,SubscriptionEvent- The parts of aSubscriptionDetailsSubscriptionStatus,ChargeAttemptStatus- Status of a subscription and of one of its charges
Support
- Documentation: https://docs.polako-finance.com
- GitHub: https://github.com/Polako-Finance/python-sdk
- Issues: GitHub Issues
- Email: support@polako-finance.com
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for polako-finance 0.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 |
|---|---|---|---|---|
| polako_finance-0.2.1.tar.gz | 57.5 kB | Without provenance | Details for polako_finance-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polako_finance-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for polako_finance-0.2.1-py3-none-any.whl |
Total release size: 113.8 kB
Release files / polako_finance-0.2.1.tar.gz
| Download URL | polako_finance-0.2.1.tar.gz |
|---|---|
| Size | 57.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88827cb359f17d89b763247dc26bcce5311e7277e50ea54674e80399b50b4aa3
|
|
BLAKE2b-256 checksum How to use checksums |
0bd60fc02225db0222e04871023e4eb48b1bb3d591fba9228777679c4811166b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.11.17 Linux/7.0.0-1017-azure
|
Release files / polako_finance-0.2.1-py3-none-any.whl
| Download URL | polako_finance-0.2.1-py3-none-any.whl |
|---|---|
| Size | 56.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3ef75f78100594a3ac6ff3769a99a185a3d429a71e55a46a666cc0d4eb0656e
|
|
BLAKE2b-256 checksum How to use checksums |
2e3ee4344b9f1b1e58000c0545a88c2566841936a94465c6590560abd3bcd5ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.11.17 Linux/7.0.0-1017-azure
|
Security for polako-finance 0.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.