Metadata-Version: 2.4
Name: coordconvertermc
Version: 0.1.0
Summary: Convert geographic coordinates between decimal degrees and DMS.
Author: Maya Chisale
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# coordconvertermc

A Python package for converting geographic coordinates between decimal degrees
and degrees, minutes, and seconds (DMS).

## Install

```bash
python -m pip install coordconvertermc

# EXAMPLE
from coordconvertermc import to_decimal, to_degree

latitude, longitude = to_decimal(
    (15, 47, 10, "S"),
    (35, 0, 21, "E"),
)
print(latitude, longitude)
# -15.786111 35.005833

print(to_degree(latitude, longitude))
# ((15, 47, 10.0, 'S'), (35, 0, 21.0, 'E'))
