Tool for accessing and modifying Symphony database
Project description
Psym is a python package that allows for querying and modifying the Symphony data using graphql queries. Graphql is a query language developed by Facebook (https://graphql.org/)
Prerequisites
- Python >= 3.7
Installation
- Install it with:
pip install psym
Usage
- First connect to symphony with your credentials
from psym import PsymClient
# since symphony is multi tenant system you will need to insert which partner you connect as
client = PsymClient(email, password, tenant_name)
- The tenant is the company name
- Start creating location types, equipment types:
locationType = client.add_location_type("City", [])
equipment_type = client.add_equipment_type("Antenna HW", "Category Name", [("altitude", "int", None, True)], {}, [])
- Start creating locations, equipment and links:
location = client.add_location(-1.22,2.66, ('City', 'New York'))
equipment = client.add_equipment('HW1569', 'Antenna HW', location, {'altitude': 53.5})
License
psym is BSD License licensed, as found in the LICENSE file.
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
psym_nttdata-2.2.3.tar.gz
(103.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
psym_nttdata-2.2.3-py3-none-any.whl
(335.7 kB
view details)
File details
Details for the file psym_nttdata-2.2.3.tar.gz.
File metadata
- Download URL: psym_nttdata-2.2.3.tar.gz
- Upload date:
- Size: 103.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
305f641b9faec82cf18e7a3d84ee0fc5140648a5136f39e562f6b6ef5eaa18f7
|
|
| MD5 |
d4571df55c52359b3259ef7e5c4c0e93
|
|
| BLAKE2b-256 |
81aac11b87ed152b99d74623ae9d6aaa16a5e13f0b910a8c568fba4fb69a0e0b
|
File details
Details for the file psym_nttdata-2.2.3-py3-none-any.whl.
File metadata
- Download URL: psym_nttdata-2.2.3-py3-none-any.whl
- Upload date:
- Size: 335.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44af64c5a263851a3b8b7d528fcf6687aa49346f05c11756c0f609220ea74c6a
|
|
| MD5 |
e750c4336ff40f7fac41bd2311149192
|
|
| BLAKE2b-256 |
b1ce258dfaf5af2cd155cbd78eda1c33249d15eee6f02a7f3ac672f1c057ce8a
|