trianglesolver
Find all the sides and angles of a triangle, if you know some of the sides and/or angles. (Uses the Law of Sines and Law of Cosines.)
Decision gist · record as of 2026-08-14
Yes, if you need a simple, dependency-free triangle solver for educational or one-off scientific use. The low install friction and permissive license make it easy to add. However, the package is abandoned and receives no maintenance; do not rely on it for production systems or expect updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- However, the package is abandoned—last release was 2020-04-10, with no active maintenance or updates since then.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, though you must retain the license notice.
last release 2020-04-10 (2317 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 414,548 downloads/mo, #6,831 on PyPI
Alternatives
Verify before relying
from math import pi
from trianglesolver import solve, degree
# Solve with radians
a, b, c, A, B, C = solve(b=7.6, c=8.3, A=pi/3)
# Or convert using degree constant
result = solve(b=7, A=5*degree, B=70*degree)
print(result[2] / degree) # angle C in degrees- Whether the package handles all valid triangle configurations or has edge cases with degenerate inputs.
- Current compatibility with modern Python versions (classifiers list Python 2 and 3 but no specific version pins).
What it is and what it does
Trianglesolver is a lightweight utility that applies trigonometric laws to compute missing sides and angles in a triangle when you provide at least three known values. It exports a single main function, solve(), that takes any combination of side lengths (a, b, c) and angles (A, B, C) as keyword arguments and returns all six values. The package follows standard geometric convention: lowercase letters denote sides, uppercase denote angles, and corresponding letters are opposite each other.
The package has no runtime dependencies and installs as a pure Python wheel, making it trivial to add to any project. All angles are in radians by default, but a degree constant is provided for easy conversion. It is intended for educational use and scientific applications where quick triangle calculations are needed.
Use it for
- Educational geometry or trigonometry exercises where students need to verify triangle solutions.
- Scientific simulations or engineering calculations requiring rapid triangle geometry resolution.
- Navigation or surveying applications where partial triangle measurements must be completed.
- Physics or mechanics problems involving triangular force diagrams or structural analysis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a simple, dependency-free triangle solver for educational or one-off scientific use.
The low install friction and permissive license make it easy to add. However, the package is abandoned and receives no maintenance; do not rely on it for production systems or expect updates.
Install
trianglesolver on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2020-04-10, with no active maintenance or updates since then.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, though you must retain the license notice.
Quickstart
from math import pi
from trianglesolver import solve, degree
# Solve with radians
a, b, c, A, B, C = solve(b=7.6, c=8.3, A=pi/3)
# Or convert using degree constant
result = solve(b=7, A=5*degree, B=70*degree)
print(result[2] / degree) # angle C in degrees
Verify before relying
- Whether the package handles all valid triangle configurations or has edge cases with degenerate inputs.
- Current compatibility with modern Python versions (classifiers list Python 2 and 3 but no specific version pins).
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,317 days since the last release |
| First released | |
| Downloads | 414,548 / month, #6,831 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Scientific/Engineering :: Mathematics |
Evidence: trianglesolver-1.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “triangle solver”
- trianglesolverSolves for unknown sides and angles of a triangle given partial…
- cytriangleCyTriangle wraps Jonathan Shewchuk's Triangle library via Cython to…
- pymeshlabPyMeshLab provides Python bindings to MeshLab, enabling programmatic…
Give your agent the search over MCP, or paste the wish link into any chat.
More Mathematics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.
Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.
onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.
Install it if you have ONNX models to run in production or development.
See also cytriangle · lineax · triangle · pycosat · qpsolvers · transforms3d · quadprog · pystac-ext-view · anticaptchaofficial · klujax