Python asyncio library for ServiceNow
Project description
snow: Python asyncio library for ServiceNow
Snow is a simple and lightweight yet powerful and extensible library for interacting with ServiceNow. It works with modern versions of Python, utilizes asyncio and can be used for simple scripting as well as for building high-concurrency backend applications on top of the ServiceNow platform.
Example code
from snow import Snow
from snow.schemas.table import IncidentSchema as Incident
app = Snow(
"https://my-instance.service-now.com",
basic_auth=("<username>", "<password>")
)
# Make a TableModel object from the built-in Incident schema
async with app.get_table(Incident) as inc:
# Get incident with number INC01234
response = await inc.get_one(Incident.number == "INC01234")
print(response["description"])
Documentation
The Snow API reference and more is available in the documentation.
Examples
Check out some usage examples to quickly get a feel for the library.
Funding
The Snow 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 Snow.
Development status
The fundamental components (models, client code, error handling, documentation, etc) of the library is considered complete. However, automatic testing and real-world use is somewhat lacking, i.e. there are most likely bugs lurking about, and the software should be considered Alpha, shortly Beta.
Contributing
Check out the contributing guidelines if you want to help out with code or documentation.
Author
Robert Wikman <rbw@vault13.org>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file snow-0.3.0.tar.gz
.
File metadata
- Download URL: snow-0.3.0.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.3.0-55-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 870436d603eaa9d5e1a616c275498fc5952ef33beb2e07b988ed1fda2d8960a2 |
|
MD5 | dadd49ba34dfce82b6ae2d1b6e76f372 |
|
BLAKE2b-256 | 0718697fe254880b69940b606c8c5ee739a6cda5661dc128603612fc86cce458 |
File details
Details for the file snow-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: snow-0.3.0-py3-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.3.0-55-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc1ee5923c27d9ad41ed315f2e1c49903ec80ff564c62213ee3c62f881daf8a8 |
|
MD5 | d7d8c5ad31cebc55a5b20127794b609d |
|
BLAKE2b-256 | d8a5a550addb0dfafe1be67af6d5149db497eae1cde1dd0c9609d75477a0931d |