aiosnow: Asynchronous Python ServiceNow Library
aiosnow is a Python asyncio library for interacting with ServiceNow programmatically. It hopes to be:
- Convenient: A good deal of work is put into making the library flexible and easy to use.
- Performant: Uses non-blocking I/O to allow large amounts of API request tasks to run concurrently while being friendly on system resources.
- Modular: Core functionality is componentized into modules that are built with composability and extensibility in mind.
Example code
import asyncio
import aiosnow
from aiosnow.models.table.declared import IncidentModel as Incident
async def main():
client = aiosnow.Client("<instance>.service-now.com", basic_auth=("<username>", "<password>"))
async with Incident(client, table_name="incident") as inc:
# Fetch high-priority incidents
for response in await inc.get(Incident.priority <= 3, limit=5):
print(f"Number: {response['number']}, Priority: {response['priority'].value}")
asyncio.run(main())
Check out the examples directory for more material.
Documentation
API reference and more is available in the technical documentation.
Funding
The aiosnow code is permissively licensed, and can be incorporated into any type of application–commercial or otherwise–without costs or limitations. Its author believes it's in the commercial best-interest for users of the project to invest in its ongoing development.
Consider leaving a donation if you like this software, it will:
- Directly contribute to faster releases, more features, and higher quality software.
- Allow more time to be invested in documentation, issue triage, and community support.
- Safeguard the future development of aiosnow.
Development status
Beta: Core functionality is done and API breakage unlikely to happen.
Contributing
Check out the contributing guidelines if you want to help out with code or documentation.
Author
Robert Wikman <rbw@vault13.org>
Metadata
Release files for aiosnow 0.6.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 |
|---|---|---|---|---|
| aiosnow-0.6.0.tar.gz | 24.1 kB | Without provenance | Details for aiosnow-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiosnow-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for aiosnow-0.6.0-py3-none-any.whl |
Total release size: 61.0 kB
Release files / aiosnow-0.6.0.tar.gz
| Download URL | aiosnow-0.6.0.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c057c0cb132e952d53bf643bc236a1755e880385a3278e2dbfb7ec12133d2d24
|
|
BLAKE2b-256 checksum How to use checksums |
4e7edcb9d9f74d84330fdf0f05a52e3c9cc602d3e105e862acbcac7e6a508c74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.0b4 CPython/3.7.3 Linux/4.19.0-11-amd64
|
Release files / aiosnow-0.6.0-py3-none-any.whl
| Download URL | aiosnow-0.6.0-py3-none-any.whl |
|---|---|
| Size | 36.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
685b8575f09da3a1d59a2ea6e6921fdafacb2e82ab9337d76712b57317b1350b
|
|
BLAKE2b-256 checksum How to use checksums |
193052cb8e2a0dd42f3c0b6c9cdb825bc574542c2b9792a87ceee2678f4c663b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.0b4 CPython/3.7.3 Linux/4.19.0-11-amd64
|
Security for aiosnow 0.6.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.