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.
Metadata
Release files for psym 2.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| psym-2.2.2.tar.gz | 77.5 kB | Without provenance | Details for psym-2.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| psym-2.2.2-py3-none-any.whl | Python 3 | none | any | Details for psym-2.2.2-py3-none-any.whl |
Total release size: 305.9 kB
Release files / psym-2.2.2.tar.gz
| Download URL | psym-2.2.2.tar.gz |
|---|---|
| Size | 77.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78cd54873865cc3ea3262515c60fa6a3a54ccda8d811eb9244178c5e0b869411
|
|
BLAKE2b-256 checksum How to use checksums |
b9136d50c183124e17175692dc6e8eee064d093c687ee7ff9d9ca57888302faf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
|
Release files / psym-2.2.2-py3-none-any.whl
| Download URL | psym-2.2.2-py3-none-any.whl |
|---|---|
| Size | 228.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fd8e641e6db2d6f352416bc2ab676a072d81b3d226797d99ed5cf6bb11762cd
|
|
BLAKE2b-256 checksum How to use checksums |
47a67918035b60b59612940bc8c7ff9816048aa4c235f5a0f396da03ade5f0d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
|
Security for psym 2.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.