netsware-sdk
Official Python SDK for the Netsware API — Business Hours, Scheduled Jobs, and Webhooks. Pure standard library, no dependencies.
Install
pip install netsware-sdk
Quickstart
from netsware import Netsware, verify_webhook
client = Netsware("nw_live_xxx")
# Is a business open right now?
status = client.hours.check(timezone="Asia/Kolkata", country="IN")
print(status["open"])
# Create a business-hours schedule
sched = client.hours.create_schedule(
name="Mumbai office",
days=["MON", "TUE", "WED", "THU", "FRI"],
open_time="09:00",
close_time="18:00",
timezone="Asia/Kolkata",
country="IN",
)
# Schedule a one-time job
job = client.jobs.schedule(
name="Send reminder",
url="https://example.com/webhook",
run_at="2026-07-01T09:00:00",
timezone="Asia/Kolkata",
payload={"user_id": "123"},
)
# Register a webhook (one event per registration)
hook = client.webhooks.register(
product="scheduled_jobs",
event="job.completed",
url="https://example.com/events",
)
Verifying webhook signatures
Pass the raw request body string for a byte-exact check:
ok = verify_webhook(
payload=raw_body, # raw request body (string)
signature=headers["X-Netsware-Signature"],
timestamp=headers["X-Netsware-Timestamp"],
secret="whsec_...",
)
if not ok:
... # reject
Configuration
client = Netsware("nw_live_xxx", base_url="https://app.netsware.com", timeout=30.0)
Full API reference: https://netsware.com/dashboard/docs.
MIT © Netsware Systems LLP
Metadata
Release files for netsware-sdk 2.0.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 |
|---|---|---|---|---|
| netsware_sdk-2.0.0.tar.gz | 5.5 kB | With provenance | Details for netsware_sdk-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netsware_sdk-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for netsware_sdk-2.0.0-py3-none-any.whl |
Total release size: 11.4 kB
Release files / netsware_sdk-2.0.0.tar.gz
| Download URL | netsware_sdk-2.0.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92218cdb5ba838001a3cfa603d48c74a59069a99b8e535f230617b2c6d661f5e
|
|
BLAKE2b-256 checksum How to use checksums |
0326a46757bcb27143685744abb6abedc6d6d13ae809dd1de694f2603d2dd158
|
| 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 Aug 22, 2026.
Transparency logRelease files / netsware_sdk-2.0.0-py3-none-any.whl
| Download URL | netsware_sdk-2.0.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61d31ac3421016ce8c2ae3bc4593c943d7f88e5b3108fe6800f03411e537dacf
|
|
BLAKE2b-256 checksum How to use checksums |
5eac0fedf3be3d3c06cbdc57c523f749c0e8a39215cd9ffaa8c0b9c11ed5fe82
|
| 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 Aug 22, 2026.
Transparency logSecurity for netsware-sdk 2.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for netsware_sdk-2.0.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 Aug 22, 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.