science/py-geometer 0.4.2_3 FreeBSD
Python geometry package based on projective geometry and numpy
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- science, python
- Package size
- 121.6 KiB, 734.8 KiB installed
Description
Geometer is a geometry library for Python 3 that uses projective geometry and numpy for fast geometric computation. In projective geometry every point in 2D is represented by a three-dimensional vector and every point in 3D is represented by a four-dimensional vector. This has the following advantages:
There are points at infinity that can be treated just like normal points.
- Projective transformations are described by matrices but they can also represent affine transformations i.e. also translations.
- Every two lines have a unique point of intersection if they lie in the same plane. Parallel lines have a point of intersection at infinity.
- Points of intersection, planes or lines through given points can be calculated using simple cross products or tensor diagrams.
- Special complex points at infinity and cross ratios can be used to calculate angles and to construct perpendicular geometric structures.
- Most of the computation in the library done via tensor diagrams (using numpy.einsum).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | science/py-geometer | 0.4.2_3 |
| DragonFly | science/py-geometer | 0.3.5_2 |
Install
Binary package:
pkg install py312-geometer
From the ports tree:
cd /usr/ports/science/py-geometer/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-geometer>0:science/py-geometer
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.4.2_3 | 0.4.2_3 | - | 0.4.1 | 0.4.2_3 |
| FreeBSD:14:quarterly | 0.4.2_3 | 0.4.2_3 | n/a | 0.4.1 | 0.4.2_3 |
| FreeBSD:15:latest | 0.4.2_3 | 0.4.2_3 | n/a | 0.4.1 | 0.4.1 |
| FreeBSD:15:quarterly | 0.4.2_3 | 0.4.2_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.4.2_3 | 0.4.2_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 2
${PYTHON_PKGNAMEPREFIX}numpy>=2.0,1: math/py-numpy${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.1<5.0.0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 17
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| geometer-0.4.2.tar.gz | 46142 | 0df63113a74d7a8c97886d9788299947215fed5badd01acf2da08db85487193a |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.