Skip to main content

geolysis is an opensource software for geotechnical engineering analysis and modeling.

Project description

logo

PyPI Latest Release PyPI Downloads PyPI pyversions license

Coveralls Status Codacy Badge Unit-Tests Documentation Status

geolysis is an open-source python package (library) for geotechnical analysis and modeling.

The geolysis python package is among three other projects, geolysis.excel, geolysis.gui, and geolysis.ai. More details about these projects are provided here.

geolysis has only one project dependency which is func-validator for validating function (and method) arguments.

The rest of this README provides an overview of the geolysis python package.

Table of Contents

Installation

$ pip install geolysis

API Reference

Imports

Bearing Capacity

  • Allowable Bearing Capacity (ABC)

    from geolysis.bearing_capacity.abc import create_abc_4_cohesionless_soils
    
  • Ultimate Bearing Capacity (UBC)

    from geolysis.bearing_capacity.ubc import create_ubc_4_all_soil_types
    

Foundation

from geolysis.foundation import create_foundation

Soil Classification

from geolysis.soil_classifier import create_uscs_classifier
from geolysis.soil_classifier import create_aashto_classifier

Standard Penetration Test (SPT) Analysis

from geolysis.spt import DilatancyCorrection
from geolysis.spt import EnergyCorrection
from geolysis.spt import SPT
from geolysis.spt import create_overburden_pressure_correction

Project Structure

These are the main components of the project structure

.
├── .github            # GitHub Actions
├── docs               # Documentation files
├── geolysis           # Source files
├── tests              # Automated tests
├── pyproject.toml     # Project configuration file
└── README.md          # Project README file

Usage

>>> from geolysis.soil_classifier import create_aashto_classifier
>>> aashto_clf = create_aashto_classifier(liquid_limit=34.1,
...                                       plastic_limit=21.1,
...                                       fines=47.88, )
>>> clf = aashto_clf.classify()
>>> clf.symbol
'A-6(4)'
>>> clf.symbol_no_grp_idx
'A-6'
>>> clf.group_index
'4'
>>> clf.description
'Clayey soils'

Check out more examples

Documentation

Check out the full documentation.

Contributing

Check out the contribution guidelines

License

This project is licensed under the MIT License - see the LICENSE file for more details.

Contact

For questions or feedback, please contact patrickboateng at patrickboateng dot tech

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

geolysis-0.12.0.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

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

geolysis-0.12.0-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file geolysis-0.12.0.tar.gz.

File metadata

  • Download URL: geolysis-0.12.0.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for geolysis-0.12.0.tar.gz
Algorithm Hash digest
SHA256 e0f82d4237085a074d7fb2132572472d78c8dae36d1f599d2d19bbebf67f571d
MD5 52d0d000fcb8e51abb1a7d0934761b75
BLAKE2b-256 20d3c4c89f61c02828c23a9041814685bd69551c069346e0af86fd6393bb5d81

See more details on using hashes here.

Provenance

The following attestation bundles were made for geolysis-0.12.0.tar.gz:

Publisher: geolysis-publish.yml on patrickboateng/geolysis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geolysis-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: geolysis-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for geolysis-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9de243dbc5f58669e66f8b134d200442f886821bf803ac57290913f569f26c56
MD5 db3c9476b4bbae1bf83577b4bfb714b5
BLAKE2b-256 7a4f78573b37248fef35d7e8a4e032989b192ddb0dc2bbe35479858dec42ff5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for geolysis-0.12.0-py3-none-any.whl:

Publisher: geolysis-publish.yml on patrickboateng/geolysis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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