Skip to main content

PyGamMLab

PyGAMLab is a scientific Python library developed for researchers, engineers, and students who need access to fundamental constants, conversion tools, engineering formulas, and data analysis utilities. The package is designed with simplicity, clarity, and usability in mind.


📌 Overview

PyGAMLab stands for Python GAMLAb tools, a collection of scientific tools and functions developed at the GAMLab under the supervision of Prof. Nader at Amirkabir University of Technology (AUT).

  • Author: Ali Pilehvar Meibody
  • Supervisor: Prof. Nader
  • Affiliation: GAMLab, Amirkabir University of Technology (AUT)

📦 Modules

PyGAMLab is composed of four core modules, each focused on a specific area of scientific computation:

🔹 constants.py

This module includes a comprehensive set of scientific constants used in physics, chemistry, and engineering.

Examples:

  • Planck's constant
  • Boltzmann constant
  • Speed of light
  • Universal gas constant
  • And many more...

🔹 convertors.py

Contains unit conversion functions that follow the format:
FirstUnit_To_SecondUnit()

Examples:

  • Kelvin_To_Celsius(k)
  • Pascal_To_Bar(p)
  • Meter_To_Foot(m)
  • ...and many more standard conversions used in science and engineering.

🔹 functions.py

This module provides a wide collection of scientific formulas and functional tools commonly used in engineering applications.

Examples:

  • Thermodynamics equations
  • Mechanical stress and strain calculations
  • Fluid dynamics formulas
  • General utility functions

🔹 data_analysis.py

Provides tools for working with data, either from a file path or directly from a DataFrame.

Features include:

  • Reading and preprocessing datasets
  • Performing scientific calculations
  • Creating visualizations (e.g., line plots, scatter plots, histograms)

🚀 Installation

To install PyGAMLab via pip (after uploading it to PyPI):

pip install pygamlab

📖 Usage Example

from pygamlab import Kelvin_To_Celsius, universal_gas_constant
from pygamlab import calculate_stress
from pygamlab import plot_from_csv

# Convert temperature
print(Kelvin_To_Celsius(300))

# Use a constant
print(universal_gas_constant)

# Use an engineering function
stress = calculate_stress(force=500, area=0.01)
print(stress)

# Analyze a dataset
plot_from_csv("data/experiment.csv", column_x="Time", column_y="Temperature")

Metadata

Release files for pygamlab 0.1.0

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

Source distribution (sdist)

Source distribution for pygamlab 0.1.0
File Size Uploaded Provenance Actions
pygamlab-0.1.0.tar.gz 77.7 kB Without provenance Details for pygamlab-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 155.8 kB

Release files / pygamlab-0.1.0.tar.gz

Download URL pygamlab-0.1.0.tar.gz
Size 77.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9efe1c9d75c7c6e0586428c7216f1b671331f60f8d011bf11cdbafd06091d6c5
BLAKE2b-256 checksum
How to use checksums
d85356b4e5e210717596e30a66fa1e5f3dad9da72461715a35dad85087838cf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / pygamlab-0.1.0-py3-none-any.whl

Download URL pygamlab-0.1.0-py3-none-any.whl
Size 78.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6acfcc2333b5cd32b752aae11dc0364cf3cc4d8594d499de32eda6adc744efce
BLAKE2b-256 checksum
How to use checksums
269aef7c6be7c57cb084f577e1eb00df817e564e110903fc0c048d38b5f145f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for pygamlab 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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