Bmkg

Latest version: v1.0.3

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.3

The following release is a minor documentation-based update from the `v1.0.2` update four days prior.
For major notable changes in the initial `v1.x` release, see https://github.com/null8626/bmkg/releases/tag/1.0.2!

1.0.2

- The project's state is now `5 - Production/Stable`!
- I've done a full-fledged rewrite of everything.
- Added a proper test-runner that tests every property to ensure that everything works!
- Switched from using `setup.py` to `pyproject.toml`.
- Switched from using regexes in decoding API types relating to date/time to using the built-in `datetime.strptime`.
- The project no longer depends on the `xmltodict` third-party python library, it only depends on the `xml` module built-in into python.
- Full-rewrite on the docstrings as well.
- Added a `MANIFEST.in` to prevent irrelevant files from being uploaded to PyPI.
- Removed useless functions (especially the ones not available in https://data.bmkg.go.id/)
- Removed several obnoxious badges in the readme.

0.1.1

MAJOR update!

- Added back feature for fetching forecasts
- Everything is now an enum instead of dict constants
- Removed and updated several changed API attributes
- Fixed incorrect tsunami boolean

0.1.0

- [breaking] fix: removed `Weather` object due to a bug
- [breaking] fix: deprecated `get_forecast` function due to a bug
- [breaking] perf: settings argument is now a `BMKGSettings` namedtuple, instead of a `dict`
- [breaking] perf: changed all array return types from `list` to `tuple`
- [breaking] perf: any `timezone` attribute is a `datetime.timedelta` object, not `datetime.timezone`
- [breaking] perf: `Earthquakelocations` is now a `tuple` of `EarthquakeLocation` namedtuples.
- [breaking] fix: removed `TsunamiEarthquake` class due to a bug
- [breaking] perf: removed `BMKGclosed`. use `BMKG.session.closed` instead
- [breaking] perf: removed the `xmltodict` dependency since the API supports JSON responses now.
- perf: removed caching, i trust the python garbage collector now.
- perf: removed `del` calls in the close method. i trust the python garbage collector now.
- perf: removed most constants in `constants.py`
- perf: wrapped most class attributes in a `property`, which would save memory from unused variables

0.0.4

removed unused halo

0.0.3

added __slots__

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.