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.
Source Distribution
cimren-helpers-1.0.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for cimren_helpers-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b0047ee980402c92993675dfda69c538fa2e1f67d3efb1acb8881e3d49ded94 |
|
MD5 | bd57d82dde0c8c84eedfd9f6227ef85b |
|
BLAKE2b-256 | f03646916a998044d9e1cb7e95bca614bc994dcdda7ccf038c2e3e875a690a86 |