Analysis utility for structural panels with cutouts
Project description
Panl
Panl is a Python library for analyzing structural panels with cutouts, providing tools for stress analysis, geometric optimization, and design validation.
Features
- 🔧 Structural panel analysis with cutout support
- 📊 Stress concentration calculations
- 🎯 Geometric optimization
- ✅ Comprehensive testing with pytest
- 🎨 Code quality enforced with pre-commit hooks
Installation
From PyPI (once published)
pip install panl
For Development
# Clone the repository
git clone https://github.com/Czarified/panl.git
cd panl
# Install Poetry if you haven't already
# Visit: https://python-poetry.org/docs/#installation
# Install dependencies
poetry install
# Install pre-commit hooks
poetry run pre-commit install
Quick Start
import panl
# Your code here
print(f"Panl version: {panl.__version__}")
Development
This project uses several tools to maintain code quality:
- Poetry: Dependency management
- Nox: Task automation and testing across Python versions
- pre-commit: Git hooks for code quality
- pytest: Testing framework with coverage
Running Tests
# Run tests with coverage
poetry run nox -s tests
# Run tests for specific Python version
poetry run nox -s tests-3.11
Code Quality
# Run all linters
poetry run nox -s lint
# Format code with black
poetry run nox -s black
# Sort imports with isort
poetry run nox -s isort
# Run pre-commit hooks
poetry run nox -s pre-commit
Available Nox Sessions
# List all available sessions
poetry run nox --list
# Run a specific session
poetry run nox -s <session-name>
Requirements
- Python >= 3.11
- Poetry for dependency management
Contributing
Contributions are welcome! Please ensure:
- All tests pass:
poetry run nox -s tests - Code is formatted:
poetry run nox -s black - Linting passes:
poetry run nox -s lint - Pre-commit hooks pass:
poetry run pre-commit run --all-files
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Benjamin Crews - your.email@example.com
This project is an Agentic Experiment by the author, and uses Gemini 3 Flash.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file panl-1.0.0.tar.gz.
File metadata
- Download URL: panl-1.0.0.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39b1455a2e1fdce347b1daaa1177262f8839465a86fed4681a1ead7c524ebe3b
|
|
| MD5 |
34a6410e3169878aedee915a346523be
|
|
| BLAKE2b-256 |
b109d46915f9980e2702011b512534646c9dcbab95d383362eec6027aa5d94ca
|
Provenance
The following attestation bundles were made for panl-1.0.0.tar.gz:
Publisher:
release.yml on Czarified/panl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
panl-1.0.0.tar.gz -
Subject digest:
39b1455a2e1fdce347b1daaa1177262f8839465a86fed4681a1ead7c524ebe3b - Sigstore transparency entry: 942352170
- Sigstore integration time:
-
Permalink:
Czarified/panl@e3af2121b8b032029461105dbbe2753398667de2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Czarified
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e3af2121b8b032029461105dbbe2753398667de2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file panl-1.0.0-py3-none-any.whl.
File metadata
- Download URL: panl-1.0.0-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbee5a29e1861c55aa46d3abd2f79b5b8f449a590d5238a63f679d12b5df6226
|
|
| MD5 |
98895f3b13129b5d6bf4f54c192bd607
|
|
| BLAKE2b-256 |
deee06c560deb8ea07d5b517e83b442caddcb2ec450326269834168cf1394cb9
|
Provenance
The following attestation bundles were made for panl-1.0.0-py3-none-any.whl:
Publisher:
release.yml on Czarified/panl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
panl-1.0.0-py3-none-any.whl -
Subject digest:
cbee5a29e1861c55aa46d3abd2f79b5b8f449a590d5238a63f679d12b5df6226 - Sigstore transparency entry: 942352183
- Sigstore integration time:
-
Permalink:
Czarified/panl@e3af2121b8b032029461105dbbe2753398667de2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Czarified
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e3af2121b8b032029461105dbbe2753398667de2 -
Trigger Event:
push
-
Statement type: