
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
🚧👷🏻 This project is under active development, expect breaking changes the to API 👷🏻🚧 - March, 2024
This is an efficient and comprehensive SEG-Y parsing library.
See the documentation for more information.
This is not an official TGS product.
numpy
+ numba
).fsspec
ecosystem to read / write files to and from disk, cloud, http
, ftp
.segy
Clone the repo and install it using pip:
Simplest way to install segy
is via pip from PyPI:
$ pip install segy
or install segy
via conda from conda-forge:
$ conda install -c conda-forge segy
Extras must be installed separately on
Conda
environments.
For details, please see the installation instructions in the documentation.
segy
Please see the Command-line Usage for details.
For Python API please see the API Reference for details.
It supports reading from local and cloud files (object store). It can read:
The library will also try to infer the endianness and the revision of the SEG-Y file automatically. If it can't, users can override the endianness, revision, and more parameters using the settings.
The performance is high and to be proven with upcoming benchmarks. The initial subjective benchmarks is very acceptable.
The library provides a fully flexible, schematized SEG-Y structure, including data models and JSON schema parsing and validation.
It supports predefined SEG-Y "standards" for various versions. However, some versions are still in progress and not all validation logic is implemented yet:
** The XML stanzas and extended trace headers are not currently supported.
You can build your own SEG-Y "standard" with composition of specs for:
segy
Contributions are very welcome. To learn more, see the Contributor Guide.
Distributed under the terms of the Apache 2.0 license.
segy
is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.
This project was established at TGS. Current maintainer is Altay Sansal with the support of many more great colleagues.
The CI/CD tooling is loosely based on Hypermodern Python Cookiecutter with more modern tooling applied elsewhere.
FAQs
The Ultimate Python SEG-Y I/O with Cloud Support and Schemas
We found that segy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.