Skip to main content

omfpandas

PyPI Run Tests Publish Docs

A pandas (and parquet) interface for the Open Mining Format package (omf).

When working with OMF files, it is often useful to convert the data to a pandas DataFrame. This package provides a simple interface to do so.

The parquet format is a nice, compact, efficient format to persist pandas DataFrames. This package also provides a simple interface to convert an omf element to a parquet file. When datasets do not fit into memory, parquet files can be read in chunks or by column.

Note: This package only supports omf 2.0, which is currently only a pre-release.

Installation

pip install omfpandas

If you intend to use the parquet functionality, you will need to install the optional dependencies.

pip install omfpandas[io]

Roadmap

  • 0.2.0 - Add support for reading a VolumeElement (Block Model) from an OMF file as a pandas DataFrame. Export a VolumeElement as a parquet file.
  • 0.3.0 - Add support for writing a DataFrame to an OMF BlockModel. Version 2.0 of the OMF spec is supported.
  • 0.4.0 - Convert to omf 2.0 support.
  • 0.5.0 - Block model profiling, with reports persisted in the omf file.
  • 0.6.0 - Optional block model validation using pandera json schemas.
  • ...
  • 0.9.0 - Add support for low-memory/out-of-core writing an omf element to parquet
  • ...

Metadata

Release files for omfpandas 0.9.4

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

Source distribution (sdist)

Source distribution for omfpandas 0.9.4
File Size Uploaded Provenance Actions
omfpandas-0.9.4.tar.gz 26.2 kB Without provenance Details for omfpandas-0.9.4.tar.gz

Built distribution (wheel)

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

Total release size: 57.4 kB

Release files / omfpandas-0.9.4.tar.gz

Download URL omfpandas-0.9.4.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
51ae24d48d1115cc94cc5513397fa0a089076fa393f04b8060934f3ff71b2f2a
BLAKE2b-256 checksum
How to use checksums
df153acefea1920d3d94fac79ee6cb88c111a3190733618b614fc8d9397f9d3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / omfpandas-0.9.4-py3-none-any.whl

Download URL omfpandas-0.9.4-py3-none-any.whl
Size 31.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bf62cb8bce44f7abc52912b9974da624fac2ff905ee2b9fec5311b00dd0b31c
BLAKE2b-256 checksum
How to use checksums
db6ea2048f2058fd199863f4f2faea797b69d2c4ef7731b93b4422728683577c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for omfpandas 0.9.4

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