Skip to main content

igwn-gwalert-schema

JSON and Avro Schema for gravitational-wave alerts.

To install

$ pip install igwn-gwalert-schema

To use

$ python
>>> from importlib import resources
>>> import json
>>> with resources.open_text('igwn_gwalert_schema', 'igwn.alerts.v1_0.Alert.avsc') as f:
...     json.load(f)
... 
{'name': 'Alert', 'namespace': 'igwn.alerts.v1_0', 'type': 'record', 'doc': 'Alert schema v1.0.', 'fields': [{'name': 'alert_type', 'type': 'igwn.alerts.v1_0.AlertType', 'doc': 'The type of alert; the possible values are EARLY_WARNING, PRELIMINARY, INITIAL, UPDATE, RETRACTION.'}, {'name': 'time_created', 'type': 'string', 'doc': 'The time this notice was created in ISO 8601 format.'}, {'name': 'superevent_id', 'type': 'string', 'doc': 'The GraceDB superevent ID.'}, {'name': 'event', 'type': ['null', 'igwn.alerts.v1_0.EventInfo'], 'doc': 'Information about the event, if any.'}, {'name': 'external_coinc', 'type': ['null', 'igwn.alerts.v1_0.ExternalCoincInfo'], 'doc': 'Information about the coincidence with an non-GW event, if any.'}, {'name': 'urls', 'type': {'type': 'map', 'values': 'string', 'default': {}}, 'doc': 'URLs relevant to the event, if any.'}]}

Release files for igwn-gwalert-schema 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for igwn-gwalert-schema 1.0.0
File Size Uploaded
igwn-gwalert-schema-1.0.0.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for igwn-gwalert-schema 1.0.0
File Interpreter ABI Platform
igwn_gwalert_schema-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 kB

Release files / igwn-gwalert-schema-1.0.0.tar.gz

Download URL igwn-gwalert-schema-1.0.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
28dcd14d263df65cfceef85aa8b28c344a2d465e8f4fa4016675992f6817fc1d
BLAKE2b-256 checksum
How to use checksums
c0769eab85fde60d0ef5b061fa8790e708e0d87442751ac61b71bdd8f8926413
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / igwn_gwalert_schema-1.0.0-py3-none-any.whl

Download URL igwn_gwalert_schema-1.0.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18fae274d72687376b7376189d6602ac157d24f3a487e18d195ab7788153e7b6
BLAKE2b-256 checksum
How to use checksums
c513fe9154af79623c61133ef08b478adbd45335ce003da60850d6673a3ce70f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

1.1.0

2 release files

This release

1.0.0 This release

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