Skip to main content

Tool for accessing and modifying Symphony database

Reason this release was yanked:

broken

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.6

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psym-1.0.1.tar.gz (80.5 kB view details)

Uploaded Source

Built Distribution

psym-1.0.1-py3-none-any.whl (202.7 kB view details)

Uploaded Python 3

File details

Details for the file psym-1.0.1.tar.gz.

File metadata

  • Download URL: psym-1.0.1.tar.gz
  • Upload date:
  • Size: 80.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.1 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for psym-1.0.1.tar.gz
Algorithm Hash digest
SHA256 07de89a9a46b1ec98794164a9b60bdda25be6f626def5100808b6a5647086c68
MD5 fb2f367530a08513a4aac1dd3e3be1ce
BLAKE2b-256 fb0ce9a194e5690fb81871070f134a0da7e0f46e30581a87f06872bed8c785f2

See more details on using hashes here.

Provenance

File details

Details for the file psym-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: psym-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 202.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.1 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for psym-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4daf759ff5dd1aa31dc349a015d6f7ee829b7900e486c523be2edd2c1403cb7e
MD5 994c24f3467e29fe79d743b4941fd154
BLAKE2b-256 9b99fc8bb11ea5723fc6bb46fc09165fdfd639a562afac4439d697acf03aa045

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page