Skip to main content
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Download-URL: https://github.com/jsarver/catools/tarball/v0.0.1-alpha
Description: Soap Helper Library for CA Service Desk

Features
Create and update any Object
Create and update tickets
Create and contacts

Usage:
#creating a client that interfaces with CA
client = login("hostname", "username", "password")

#Now you can perform several tasks
results = client.searchObjects("cnt","last_name='smith'",-1, ["last_name","first_name"])
#print list of users
for user in results.to_dict():
print(user['last_name'], user['first_name']


#Update an object
#query for users named smith and asking to only return the last_name and first_name attributes
results = client.searchObjects("cnt", "last_name='smith'",-1, ["last_name","first_name"])

#pick first user from search
user = results[0]
#change users first name to ned
c.updateObject(user['handle'], ["first_name","ned"], ["first_name","last_name"])

#list attributes for an object
print(client.listAttributes('cnt'))


Keywords: soap,ca service desk
Platform: UNKNOWN

Metadata

Release files for CATools 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for CATools 0.0.1
File Interpreter ABI Platform
CATools-0.0.1-py3-none-any.whl Python 3 none any Details

Release files / CATools-0.0.1-py3-none-any.whl

Download URL CATools-0.0.1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3d9fbfd9f3d1b8137acf726216449946605e3515824e7b43cee3e0a620fbb28
BLAKE2b-256 checksum
How to use checksums
14c4340757051803ad7da2a1e517bdb82963e8c4d29ae80a33e72ea973e2cfd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page