Package focused on Earth distance calculation and plotting
Project description
earth_distances package
Description. The package earth_distances is used to:
Distance:
- Calculate and returns distances between two points on the surface of
the Earth, or another sphere, provided its radius, rounded to the third
decimal place
Map_Plotting:
- Plot the points on a map of our planet, alongside the distance line
in a desired color
Installation
Use the package manager pip to install earth_distances
pip install earth_distances
Usage
from earth_distances.distance_calculation import harvesini
# Calculating the distance between Paris and Beijing
print(harvesini.harvesini_distance(48.856613, 2.352222, 39.904202, 116.407394))
>>>8216984.310
from earth_distances.map_plotting import world_map_plot
# Plotting the map related to Paris and Beijing
world_map_plot.plot_world_map(48.856613, 2.352222, 39.904202, 116.407394)
Author
Gabriel Vinicius Sebastião
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
earth_distances-0.0.8.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file earth_distances-0.0.8.tar.gz.
File metadata
- Download URL: earth_distances-0.0.8.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e07d1ad7bded1da2d858fa185813a780b7b892c69466b64dd11c51bd8ba6429
|
|
| MD5 |
34723a4053b2ea1aa24b7b74ec33486f
|
|
| BLAKE2b-256 |
4698234cfaae31e6291785cf0cb0f4eba520271af5bfe2cb42522ccdf43df4df
|
File details
Details for the file earth_distances-0.0.8-py3-none-any.whl.
File metadata
- Download URL: earth_distances-0.0.8-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfcc6eb3ea427c90e2912e699a84bb07eaddd3ab7d7d562b50f659014ac20e3b
|
|
| MD5 |
4c77f93a3e13621068c72d38da4bfe28
|
|
| BLAKE2b-256 |
ffd3b44d5f62674d1a8201269c7052842f0e87f723f0f013796b666afec69b4f
|