you can import function as below
from .arial_distance import get_distance, check_distance_within
get_distance - this function will return integer value of distance betn 2 coordinate
source = 19.207084243604214, 73.12916639835512
distination = 19.210002125062804, 73.11869505407905
get_distance(source, distination)
check_distance_within - it cheks if dist betn source and distination falls within radius in KM and return json
radius = 20
check_distance_within(source, distination, radius)
Raw data
{
"_id": null,
"home_page": "https://github.com/Sharad2124Ingle/arial_distance",
"name": "arial-distance",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Sharad Ingle",
"author_email": "shrdingle@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/20/ae/ee6dfd0826816a617d6ade29978b227b00b1e8d00081fa849d3e8275138b/arial_distance-0.2.0.tar.gz",
"platform": null,
"description": "you can import function as below\r\n\r\nfrom .arial_distance import get_distance, check_distance_within\r\n\r\nget_distance - this function will return integer value of distance betn 2 coordinate\r\n\r\nsource = 19.207084243604214, 73.12916639835512\r\ndistination = 19.210002125062804, 73.11869505407905\r\nget_distance(source, distination)\r\n\r\ncheck_distance_within - it cheks if dist betn source and distination falls within radius in KM and return json\r\n\r\nradius = 20\r\ncheck_distance_within(source, distination, radius)\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A library for calculating arial distance between two coordinates",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/Sharad2124Ingle/arial_distance"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6c2fb9a63b261b44ffb5169ab4e9967aa78fcae3f7b594917e6e41dae01354fd",
"md5": "bd19213a4cb9b2d824f1894ca641473d",
"sha256": "9e53eb4ac12a1eda256bc841609cf09b6d86affac9f9657f6e2febad4eaa4c13"
},
"downloads": -1,
"filename": "arial_distance-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bd19213a4cb9b2d824f1894ca641473d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 2351,
"upload_time": "2024-08-16T10:42:30",
"upload_time_iso_8601": "2024-08-16T10:42:30.987995Z",
"url": "https://files.pythonhosted.org/packages/6c/2f/b9a63b261b44ffb5169ab4e9967aa78fcae3f7b594917e6e41dae01354fd/arial_distance-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "20aeee6dfd0826816a617d6ade29978b227b00b1e8d00081fa849d3e8275138b",
"md5": "57266acf77fcd1ba1106239b366b6c8d",
"sha256": "15311cb4939c3e491a312c90e6ffc746751194743b21f618252eb5de2bdf121d"
},
"downloads": -1,
"filename": "arial_distance-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "57266acf77fcd1ba1106239b366b6c8d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 2006,
"upload_time": "2024-08-16T10:42:32",
"upload_time_iso_8601": "2024-08-16T10:42:32.423185Z",
"url": "https://files.pythonhosted.org/packages/20/ae/ee6dfd0826816a617d6ade29978b227b00b1e8d00081fa849d3e8275138b/arial_distance-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-16 10:42:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Sharad2124Ingle",
"github_project": "arial_distance",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "arial-distance"
}