Skip to main content

Transportation Infrastructure Data Toolbox

Project description

PavData (Python)

PavData is an open-source library for storing, validating and exploring asphalt pavement laboratory data. The information is organized in a relational model of eight entities — samples, binders, aggregates, mixtures and their tests, plus the references of origin — and stored in the open .pavdata format, based on JSON.

This is the Python implementation. There is also an equivalent R package that reads and writes the same format.

Installation

pip install pavdata

For the plotting functions, also install matplotlib:

pip install matplotlib

Usage

import pavdata

# Create an object
b = pavdata.pav_new("binder", name="CAP 50/70", binder_type="CAP 50/70",
                    penetration_mm=52, viscosity_135c_cp=305)

# Validate
pavdata.pav_check(b)

# Write and read
pavdata.pav_write(b, "my_data.pavdata")
objects = pavdata.pav_read("my_data.pavdata")

The package includes a dataset of 296 real samples, accessible through the SAMPLE_DATA_PATH constant:

import pavdata
data = pavdata.pav_read(pavdata.SAMPLE_DATA_PATH)

License

The software is distributed under the MIT license. The example data that ships with the library is distributed under the CC-BY-4.0 license.

Authors

  • Vilmar Faustino do Nascimento — Package developer and maintainer
  • Carlos David Rodrigues Melo — Scientific supervisor
  • Nelson de Oliveira Quesado Filho — R coding supervisor

Universidade Federal do Ceará (UFC).

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pavdata-0.1.1.tar.gz (85.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pavdata-0.1.1-py3-none-any.whl (90.9 kB view details)

Uploaded Python 3

File details

Details for the file pavdata-0.1.1.tar.gz.

File metadata

  • Download URL: pavdata-0.1.1.tar.gz
  • Upload date:
  • Size: 85.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for pavdata-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9fc8af0e55cda63dec3af743c1aeeee3fe1cd2d4cf85fe390541fe4cb3c4a5c7
MD5 c3c00e7eacf442c1046b69706818aad2
BLAKE2b-256 c9bc1689464ec764753750242ef8af9de678483dcdc239a8628e612fbfba38ef

See more details on using hashes here.

File details

Details for the file pavdata-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pavdata-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 90.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for pavdata-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 271030f4ae9804fb5736a94e9bc34b96ffafd28e00ff4941de6145a17480566d
MD5 5246c4de9c8e727fe4300cc56c2973b0
BLAKE2b-256 99eab6a3546ae0f573a6ce31635e9d17a9d311ef7e7a65f1288134ec2e999310

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page