Skip to main content

cptextract


A Python package to automate extraction of cone penetration test (CPT) data from various sources.

Description

cptextract is a library of function and class to help extract Cone Penetration Test (CPT) data from csv and Excel files that are store inconsistenly. For example:

  • cpt data with different data headers or labels
  • cpt data stored in different Excel sheets names
  • cpt data table not starting at the first row
  • cpt data stored in units of kPa instead of MPa

Limitations

This package has been developed based on example data found on the New Zealand Geotechnical Database. Some other limitations include:

  • only extracts Depth, Cone tip resistance (qc), Friction resistance (fs) and U2 pore pressure (u2)
  • only works with units of meter for depth; and MPa or kPa for qc,fs and u2
  • accepted file types are .csv, .xls and .xlsx

Installation

pip install cptextract

Usage

Please refer to example notebook.

Contributors

TBC

Metadata

Release files for cptextract 0.1.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 cptextract 0.1.1
File Size Uploaded
cptextract-0.1.1.tar.gz 11.3 kB Details

Built distribution (wheel)

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

Total release size: 24.4 kB

Release files / cptextract-0.1.1.tar.gz

Download URL cptextract-0.1.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8bbec622acc37e2c01be388298c40606ffcbf40cbbb2ce3aa914be1ccf666b4b
BLAKE2b-256 checksum
How to use checksums
f3531e683d1a6239f9baf40e5dc7106d2d748b3711344628a070ec8d8a417d09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.7

Release files / cptextract-0.1.1-py3-none-any.whl

Download URL cptextract-0.1.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7882ea9acdaaeddaf312c45173ff2f07bdba39f3deb6124db402afbc922801c6
BLAKE2b-256 checksum
How to use checksums
f7611009461758a4d86aa5f1a4de6e46a747ff6f3bbd1cefd7aca16ce983eaba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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