Weβre excited to announce the first stable release of **AutoTZ v1.0.0**, a CLI tool that automatically detects and updates your systemβs timezone based on IP geolocation. πβ³
**β¨ Features:**
β
**Automatic Timezone Detection** β Uses multiple geolocation APIs to determine your timezone.
β
**Quorum-Based Decision Making** β Filters out incorrect data by selecting the most common result.
β
**Error Handling & Logging** β Logs API failures, warnings, and timezone updates.
β
**Flexible Logging Options** β Enable logs via `--log`, with automatic logging to `/var/log/autotz.log` (root) or `~/.autotz/autotz.log` (user).
β
**Secure & Standardized System Updates** β Uses `timedatectl` to change timezone settings.
β
**GitHub Actions Integration** β Supports automated releases and PyPI publishing.
**π§ Installation:**
Install via **pip**:
sh
pip install autotz
Or run from source:
sh
git clone https://github.com/yourusername/autotz.git
cd autotz
pip install -e .
**π Usage:**
Run AutoTZ:
sh
autotz
Enable logging:
sh
autotz --log
Specify a custom log file:
sh
autotz --log /path/to/logfile.log
**π¦ [PyPI](https://pypi.org/project/autotz/) Integration:**
This release is **fully automated via GitHub Actions**, ensuring that future releases are seamlessly deployed to [PyPI](https://pypi.org/project/autotz/).
**π― Whatβs Next?**
πΉ Add support for Windows & macOS
πΉ Implement API rate-limiting & fallback mechanisms
πΉ Introduce a `--dry-run` mode for testing
A huge thanks to everyone who contributed to this release! π
For bug reports, feature requests, or contributions, visit [our GitHub repo](https://github.com/yourusername/autotz).
Happy time-syncing! β°β¨
Let me know if you'd like to tweak anything! π