An open API service indexing awesome lists of open source software.

https://github.com/anoduck/suntime

Extract Date and Time based on sun position and shadow length
https://github.com/anoduck/suntime

analysis date datetime image image-processing photo sun time

Last synced: 3 months ago
JSON representation

Extract Date and Time based on sun position and shadow length

Awesome Lists containing this project

README

          

# Suntime

Suntime is a project for calculating sunrise, sunset, and related solar times for any location on Earth.

## Features

- Calculate sunrise and sunset times
- Support for any latitude and longitude
- Easy-to-use API

## Installation

```bash
git clone https://github.com/yourusername/suntime.git
cd suntime
# Add installation instructions here (e.g., pip install .)
```

## Usage

```python
from suntime import Sun

sun = Sun(latitude, longitude)
sunrise = sun.get_sunrise_time()
sunset = sun.get_sunset_time()
print(f"Sunrise: {sunrise}, Sunset: {sunset}")
```

## Contributing

Contributions are welcome! Please open issues or submit pull requests.

## License

This project is licensed under the MIT License.

## Acknowledgements

- [Source of solar calculations, if any]
- [Any libraries or contributors]