Skip to main content

Helper functions

Project description

Helper Functions

This repo provides helper functions for

  • Listing files in a directory
  • Calculating Haversine Distance in miles

Installation

pip install cimren-helpers

How to use

from helpers import files

file_list = files.get_all_files_in_directory('.')
from helpers import haversine_distance

distance = haversine_distance.calculate_haversine_distance(from_latitude=[47.6062],
                                                           from_longitude=[122.3321],
                                                           to_latitude=[47.5301],
                                                           to_longitude=[122.0326])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cimren-helpers, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size cimren_helpers-1.0.3-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cimren-helpers-1.0.3.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page