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.
Release files for psym-nttdata 2.5.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psym_nttdata-2.5.26.tar.gz | 133.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psym_nttdata-2.5.26-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 571.7 kB
Release files / psym_nttdata-2.5.26.tar.gz
| Download URL | psym_nttdata-2.5.26.tar.gz |
|---|---|
| Size | 133.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06268a12604ea692ccfbd5d24d1481dfca107645ea785bdbef410003807f14f6
|
|
BLAKE2b-256 checksum How to use checksums |
fe877fbbd8330d7f6efc54df64c7177e92cbebe3e7ce07dee764deada9cadb55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / psym_nttdata-2.5.26-py3-none-any.whl
| Download URL | psym_nttdata-2.5.26-py3-none-any.whl |
|---|---|
| Size | 438.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6eaf2ad743f1265f0cdcd30855d56e1d28860c352dc43c17f17d975c1a377282
|
|
BLAKE2b-256 checksum How to use checksums |
a98bc9a1b92168d68e9d52924664f1702990452b7cb57687f8ad129a9f5331b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|