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
- Host: GitHub
- URL: https://github.com/anoduck/suntime
- Owner: anoduck
- Created: 2025-08-26T13:03:07.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-09-11T07:01:04.000Z (4 months ago)
- Last Synced: 2025-09-11T07:01:25.075Z (4 months ago)
- Topics: analysis, date, datetime, image, image-processing, photo, sun, time
- Language: Python
- Homepage:
- Size: 187 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]