Skip to main content

A Python library for classical mechanical engineering calculations

Project description

pymechanics

A small Python library for classical mechanical engineering calculations. Provides utilities for fluid properties and common constants useful in engineering analyses.

Features

  • Fluid property helpers (in pymechanics.fluids)
  • Common engineering constants (in pymechanics.utils)

Requirements

  • Python 3.9+
  • Runtime dependencies: numpy, scipy (declared in pyproject.toml)

Installation

Install from the project root:

python -m pip install .
# or for editable install while developing
python -m pip install -e .

To build distribution artifacts:

python -m build

Quick usage

Import modules from the package and call the provided helpers. Function names are defined in the source modules under pymechanics/.

from pymechanics.fluids import properties

# Example (replace with real function names from `properties.py`):
# result = properties.some_property_function(args)

Project layout

  • pyproject.toml — project and build metadata
  • pymechanics/ — package source
    • fluids/ — fluid-related helpers and properties
    • utils/ — shared constants and utilities
  • tests/ — unit tests

Running tests

Install test requirements (if any), then run:

pip install -e .
pytest -q

Contributing

Contributions are welcome. Open an issue to discuss changes or submit a pull request with tests for new functionality.

License

MIT — see pyproject.toml for author and license metadata.

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

pymechanics-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

pymechanics-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pymechanics-0.0.1.tar.gz.

File metadata

  • Download URL: pymechanics-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for pymechanics-0.0.1.tar.gz
Algorithm Hash digest
SHA256 24ed2776e6407e33c3195b8ce732ae124343bddcc4cb59487e25fa2b881bf251
MD5 4dffe2c9c5a718965fbe7e6119f52da3
BLAKE2b-256 a60a38fadd5c927deaba299fb02f230ba116b3a966339ccb6e09cd4f8dec28e7

See more details on using hashes here.

File details

Details for the file pymechanics-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pymechanics-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for pymechanics-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 463c9d9e26bb8b709001a601ec6efed864f840ccb89dbd220e0808688422002c
MD5 4f7383a56d1197c9b306d529269bda4f
BLAKE2b-256 7715207917d6bfe3af2d189dbabd0ba71dac26c98e464238c2c56849e5a665ca

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