Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

geopapyrus

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geopapyrus

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

GeoPapyrus

Small python project, that binds 2 functions from rust library geo:

  • distance_haversine_m
  • distance_geodesic_m

Usage

Install: pip install geopapyrus

import geopapyrus

res = geopapyrus.distance_haversine_m(
    55.793246, 37.799445, 55.803140, 37.798920
)

assert res == 1100.3792724609375

res = geopapyrus.distance_geodesic_m(
    55.793246, 37.799445, 53.361012, 58.958361
)

assert res == 1388998.3696851355

Performance

Source code

python 0.525 ns
rust_haversine 0.135 ns
rust_geodesic 0.135 ns

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc