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.

Source Distribution

cimren-helpers-1.0.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

cimren_helpers-1.0.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file cimren-helpers-1.0.3.tar.gz.

File metadata

  • Download URL: cimren-helpers-1.0.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191201 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for cimren-helpers-1.0.3.tar.gz
Algorithm Hash digest
SHA256 6c2e878856f56de7a0159627d3c13bec35143c614db230fbf3c4ff0640778f24
MD5 57cb41e556d6191f81468b4810fd487b
BLAKE2b-256 49fbd1556fac1e0fa6565f1c881c460e9cf0497a0feb5101935ad47805c628c7

See more details on using hashes here.

File details

Details for the file cimren_helpers-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: cimren_helpers-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191201 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for cimren_helpers-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b165297164513b9388eb85b0887201c8f8c7afa5b851cc6be2dfeeabd8838ea
MD5 a42158504eeb2506baefe06025de47f6
BLAKE2b-256 a6b4052cc946c099f2de0ddd719125acef406a885f1b89957d8eca0a84cc8545

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page