pysnc
Python SNC (REST) API
What it is and what it does
PySnc is a Python wrapper around ServiceNow's REST Table API that lets you query and interact with ServiceNow data using a GlideRecord-like interface. It abstracts away HTTP calls and JSON handling, letting you write familiar ServiceNow code in Python instead of JavaScript or direct REST calls. The package depends on requests, certifi, and urllib3 for HTTP communication.
It's designed for developers who work with ServiceNow and want to automate data operations, build integrations, or script bulk updates from Python. You instantiate a ServiceNowClient with your instance URL and credentials, then use GlideRecord-style methods (add_query, query, iteration) to fetch and work with records. Some GlideRecord methods are not yet implemented, and a few are noted as not applicable to the REST API.
Use it for:
- Automate bulk data operations or migrations in ServiceNow from a Python script or scheduled job.
- Build integration scripts that read ServiceNow records and feed them into external systems or analytics pipelines.
- Query ServiceNow tables programmatically in a Python application without writing raw REST calls.
- Perform data validation or cleanup tasks across ServiceNow tables using Python's data-processing ecosystem.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PySnc provides a Python interface to ServiceNow's Table API, mimicking the GlideRecord pattern familiar to ServiceNow developers with Pythonic conventions.
Yes, if you need to interact with ServiceNow from Python. The package is actively maintained, has low install friction, carries a permissive MIT license, and offers a familiar interface for ServiceNow developers. No known vulnerabilities. The main caveat is that some GlideRecord methods remain unimplemented; check the docs to confirm your use case is supported.
Install
pysnc on PyPI
pip
pip install pysncuv
uv add pysncpoetry
poetry add pysncInstalling pysnc
Before you install
Low friction install with standard dependencies (requests, certifi, urllib3). Actively maintained with recent commits; last release 184 days ago. Supports Python 3.9–3.11.
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions.
Quickstart
pip install pysnc
from pysnc import ServiceNowClient
client = ServiceNowClient('https://dev0000.service-now.com', ('user', 'password'))
gr = client.GlideRecord('sys_user')
gr.add_query('user_name', 'admin')
gr.query()
for record in gr:
print(record.sys_id)
Requires a ServiceNow instance URL and valid credentials; Python 3.9 or later.
Verify before relying
- Whether asyncio support (optional install) is production-ready or still experimental.
- Completeness of GlideAggregate support, listed as a feature want in the docs.
- Real-world performance characteristics with large result sets or complex queries.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — requests, certifi, urllib3 |
| Maintenance | actively maintained — 184 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 629,950/month — #5,665 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pysnc-1.2.1-py3-none-any.whl
Keywords: servicenow, snc
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
pysnowpysnow is a Python HTTP client library for…
permissive · top 15,000 on PyPI
nocodb-simple-clientA Python client library for NocoDB that…
permissive · top 15,000 on PyPI
requests-auth-aws-sigv4Adds AWS Signature Version 4 authentication to…
permissive · top 5,000 on PyPI
mfa-servicenow-mcpAn MCP server that connects ServiceNow…
permissive · top 15,000 on PyPI
atlassian-python-apiProvides Python bindings to REST APIs for…
permissive · top 5,000 on PyPI
nextcloudmonitorWraps the Nextcloud monitor API to retrieve…
permissive · top 15,000 on PyPI
asyncio-poolManages a pool of concurrent asyncio…
permissive · top 15,000 on PyPI
nsj-rest-libnsj-rest-lib builds declarative REST APIs for…
unclear · top 15,000 on PyPI
beaapibeaapi retrieves and processes economic data…
permissive · top 15,000 on PyPI