Skip to main content

A simple package for paring together points.

Usage

from pointpare import PointPare
pp = PointPare()
pp.add_points([... list of point ...])
pp.pare_points()
pared_points = pp.get_pared_points()

Points can be provided as a list of lists, like so:

points = [[-10.4498, 31.1871, 1161.39], [-9.26793, 26.6263, 1162.51], [-8.96271, 27.5622, 1161.49], [-10.4498, 31.1871, 1161.39]]
pp.add_points(points)

or as a flat list, where the list is divisible by three, like so:

points = [31.1871, 1161.39, -10.7776, 29.8503, 1162.7, -9.26793, 26.6263, 1162.51, -10.7776]
pp.add_points(points)

Testing

Tests are written with unittest and can be run like so:

python -m unittest discover -s tests

Where the working directory is the base directory of the repository.

To run the coverage analysis with:

coverage run --source=src/ -m unittest discover -s tests

Where the working directory is the base directory of the repository.

The report should show something like the following:

Name                        Stmts   Miss  Cover
-----------------------------------------------
src/pointpare/__init__.py      54      0   100%
-----------------------------------------------
TOTAL                          54      0   100%

from the coverage report command:

coverage report

Metadata

Release files for pointpare 0.1.0

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

Built distribution (wheel)

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

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

Download URL pointpare-0.1.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3400d7201c6b293732a79f214d7d6c6d7be415954e5de3924aaaffbde2128f4c
BLAKE2b-256 checksum
How to use checksums
5377c0d0b18611ccfd4386fc4deb6cb731c8d268f467678c9b325510c47ac44d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for pointpare 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

1 release file 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