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.Alert.avsc') as f:
...     json.load(f)
...
{'name': 'Alert', 'namespace': 'igwn.alerts', 'type': 'record', 'doc': 'Alert schema.', 'fields': [{'name': 'alert_type', 'type': 'igwn.alerts.AlertType', 'doc': 'The type of alert; the possible values are EARLYWARNING, 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.EventInfo'], 'doc': 'Information about the event, if any.'}, {'name': 'external_coinc', 'type': ['null', 'igwn.alerts.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.'}]}

To contribute

This package uses pre-commit to automate code formatting and validation. Before your first commit, run these commands:

pip install pre-commit
pre-commit install

Metadata

Release files for igwn-gwalert-schema 1.3.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.3.0
File Size Uploaded Provenance Actions
igwn_gwalert_schema-1.3.0.tar.gz 18.8 kB Without provenance Details for igwn_gwalert_schema-1.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 36.6 kB

Release files / igwn_gwalert_schema-1.3.0.tar.gz

Download URL igwn_gwalert_schema-1.3.0.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
90a43bb3679e6a0d6ac3b1cd1151e30ebc5c2f9bae59256735c317b33fa8eaa8
BLAKE2b-256 checksum
How to use checksums
a64cb98e4312dcecb50d63600bfcd77a3e0027218bd33af7d1c241a0b0887116
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

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

Download URL igwn_gwalert_schema-1.3.0-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6035053e5dfb430b890ea5a6da151d66bcb38955cc3a63518864957d733a641
BLAKE2b-256 checksum
How to use checksums
e76bdc03471b32b532c15ff363bd040076be2fbe7201d23729b026c3999e22c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

Security for igwn-gwalert-schema 1.3.0

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.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files No provenance

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