Dmr.py

Latest version: v1.1.2

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

Scan your dependencies

Page 1 of 3

1.1.2

Added Python 3.12 Support

Dropped support for python 3.7

What's Changed
* Bump pydantic from 2.3.0 to 2.4.2 by dependabot in https://github.com/j4asper/dmr.py/pull/8
* Bump aiohttp from 3.8.5 to 3.8.6 by dependabot in https://github.com/j4asper/dmr.py/pull/9


**Full Changelog**: https://github.com/j4asper/dmr.py/compare/1.0.2...1.1.2

1.0.2

- Added better type hinting
- Added Trailer as a VehicleType
- Made Insurance in the Vehicle model optional
- Added conversion class to convert to and from metric and imperial values, see code examples
- Some PEP8 improvements
---
- No breaking changes.

1.0.1

**Full Changelog**: https://github.com/j4asper/dmr.py/compare/1.0.0...1.0.1

1.0.0

Breaking Changes:

The DMR object has been refactored, and now only contains class methods to scrape data and validate license plates. This means that this code is invalid now:
py
vehicle = DMR(license_plate).get_by_plate()

It should now be:
py
vehicle = DMR.get_by_plate(license_plate)

Same thing with `get_by_plate_async`.

Models added

New models have now been added and can be viewed in [this folder](https://github.com/j4asper/dmr.py/tree/main/dmr/models). The base class returned from the scraper is Vehicle, that includes all the other classes and enums in it's attributes.

What's Changed
* Bump pydantic from 2.1.1 to 2.2.1 by dependabot in https://github.com/j4asper/dmr.py/pull/4
* Bump pydantic from 2.2.1 to 2.3.0 by dependabot in https://github.com/j4asper/dmr.py/pull/5
* Merge v1.0.0 update by j4asper in https://github.com/j4asper/dmr.py/pull/6

New Contributors
* dependabot made their first contribution in https://github.com/j4asper/dmr.py/pull/4
* j4asper made their first contribution in https://github.com/j4asper/dmr.py/pull/6

**Full Changelog**: https://github.com/j4asper/dmr.py/compare/0.0.9...1.0.0

0.0.9

**Full Changelog**: https://github.com/j4asper/dmr.py/compare/0.0.8...0.0.9

0.0.8

**Full Changelog**: https://github.com/j4asper/dmr.py/compare/0.0.7...0.0.8

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.