Skip to main content

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)

Source distribution for psym-nttdata 2.5.26
File Size Uploaded
psym_nttdata-2.5.26.tar.gz 133.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for psym-nttdata 2.5.26
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.5.26 This release

2 release files

2.5.20

2 release files

2.5.17

2 release files

2.4.16

2 release files

2.4.15

2 release files

2.3.13

2 release files

2.3.12

2 release files

2.2.11

2 release files

2.2.10

2 release files

2.2.9

2 release files

2.2.8

2 release files

2.2.7

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.3

2 release files

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