Skip to main content

Selected Area

Build Status PyPI version PyPI - Python Version

nice image

Calculates if plot/segment intersects the selected area.

Installation

pip install selected-area

Usage

from selected_area import Segment, SelectedArea

area = SelectedArea((1, 2), (4,4))
segment = Segment((2, 1.5), (4.5, 3.5))

if area.contains(segment):
    print('Segment was selected.')
else:
    print('Segment wasn\'t selected.')

Metadata

Release files for selected-area 0.2.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 selected-area 0.2.0
File Size Uploaded Provenance Actions
selected-area-0.2.0.tar.gz 3.0 kB Without provenance Details for selected-area-0.2.0.tar.gz

Release files / selected-area-0.2.0.tar.gz

Download URL selected-area-0.2.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3698da489faff71101aec15a64631adf40247d097df404e84e69fde0563a1a4c
BLAKE2b-256 checksum
How to use checksums
e6296b4d44c492b3beb1d3b808a9aa5ce4592ab98ae910badf7bc473f225e0ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.8.0 tqdm/4.40.0 CPython/3.8.3

Security for selected-area 0.2.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.

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