Skip to main content

PyPI - Version PyPI - Status PyPI - Python Version GitHub contributors GitHub License GitHub last commit GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub Tag DOI PyPI - Downloads

pypamguard is a package for processing PAMGuard binary file outputs in Python.

Installation

pip install pypamguard

Getting Started

Example of loading in a simple PAMGuard data file into Python.

import pypamguard
df = pypamguard.load_pamguard_binary_file('path/to/data/file.pgdf')

Then, for example, you can print out the file header like so.

print(df.file_info.file_header) # File header
print(df.file_info.file_header.version) # File version

Modules also have a file_info.module_header, file_info.module_footer, file_info.file_footer, and most importantly data and background.

print("File length", len(df.data)) # Number of module data chunks
first_obj = df.data[0] # First module data chunk
for chunk in df.data: # Looping through the data
    print(chunk.identifier)

For more information, see the documentation.

Bugs/Requests

Please use the Github issue tracker to submit bugs or feature requests.

License

This software is distributed under the terms of the MIT license. pypamguard is free and open source.

If you use this code, please cite it as listed on Zenodo: https://doi.org/10.5281/zenodo.16789563 e.g. James Sullivan. (2025). PAMGuard/pypamguard: Version 1.0.0 (v1.0.0). Zenodo. https://doi.org/10.5281/zenodo.16789564

Contributing

Check CONTRIBUTING.md to get started.

Metadata

Release files for pypamguard 1.0.1

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

Source distribution (sdist)

Source distribution for pypamguard 1.0.1
File Size Uploaded Provenance Actions
pypamguard-1.0.1.tar.gz 33.5 kB Without provenance Details for pypamguard-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pypamguard 1.0.1
File Interpreter ABI Platform Actions
pypamguard-1.0.1-py3-none-any.whl Python 3 none any Details for pypamguard-1.0.1-py3-none-any.whl

Total release size: 92.0 kB

Release files / pypamguard-1.0.1.tar.gz

Download URL pypamguard-1.0.1.tar.gz
Size 33.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f0eb241831ef72cfad48800b4c8be0ff87c0068579095a35ebd50da1d4994618
BLAKE2b-256 checksum
How to use checksums
9c72df0ec0b5a8553e845e66fa5afd5bef0498757239cb3cbfc16eaf1f87d830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Release files / pypamguard-1.0.1-py3-none-any.whl

Download URL pypamguard-1.0.1-py3-none-any.whl
Size 58.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
988bccc5a27cc07864ef2de716de092a5e8340894291a307b305f2c9d45f67f5
BLAKE2b-256 checksum
How to use checksums
5747a97667c3aa99d8ab97a8c2a937ff0785176ab9dfae332fb0b1ea24fbe59d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Security for pypamguard 1.0.1

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.

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