
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
poly-check-b
Advanced tools
Affected versions:
Poly-Check-B is a lightweight, dependency-free Python library for validating and analyzing simple 2D
Poly-Check-B is a lightweight, dependency-free Python library for validating and analyzing simple 2D polygons. It answers common geometry questions: Is this polygon simple? Convex? Clockwise? Degenerate?
pip install poly-check-b
from poly_check_b import Polygon
square = Polygon([(0, 0), (4, 0), (4, 4), (0, 4)])
print(square.is_simple()) # True
print(square.is_convex()) # True
print(square.orientation()) # ccw
print(square.area()) # 16.0
print(square.contains(2, 2)) # True
bowtie = Polygon([(0, 0), (2, 2), (2, 0), (0, 2)])
print(bowtie.is_simple()) # False
print(bowtie.errors()) # ['self-intersection at (1.0, 1.0)']
MIT
FAQs
Poly-Check-B is a lightweight, dependency-free Python library for validating and analyzing simple 2D
The pypi package poly-check-b receives a total of 33 weekly downloads. As such, poly-check-b popularity was classified as not popular.
We found that poly-check-b demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.