Personnummer

Latest version: v3.2.1

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

Scan your dependencies

Page 1 of 3

3.2.1

What's Changed
* Use classifiers to specify license by William-Wolke in https://github.com/personnummer/python/pull/66

New Contributors
* William-Wolke made their first contribution in https://github.com/personnummer/python/pull/66

**Full Changelog**: https://github.com/personnummer/python/compare/v3.1.0...v3.2.1

3.2.0

This version contains a bit of rewriting of the package, mainly.

- Most of the tests were not running at all, as the functions were breaking out of the test method when the ssn was invalid, which is the case starting from the first time in the [list of ssns](https://raw.githubusercontent.com/personnummer/meta/master/testdata/list.json).
- Made the package align more with the v3 versions and implemented the `get_date` method from v3.1.
- It is still missing the Interim-Number functionality, but I have to increase the minor version as it has some breaking changes of undocumented functionality, which should not be used outside of the library (next point).
- I prepended several methods with an underscore (`_`) that are not part of the meta documentation. These are somewhat annoying as IDE will show them in their auto-completion functionality. Having the underscore indicates that a method is only intended for internal use, [as defined by PEP8](https://peps.python.org/pep-0008/#descriptive-naming-styles).

**Missing functionality**
- More functionality needs to be tested, such as the `is_coordination_number()` method and the new `get_age()` method. But the PR was getting bigger and bigger and the tests were not working I decided to stop there and those can be done in a different PR.
- Parsing Interim-Number

more info in 62

3.1.0

We're glad to have dannyhajj as a new maintainer!

* [Migrate from setup.py to pyproject.toml](https://github.com/personnummer/python/commit/c906d54bd43a700fc8b493463192e434ec056891)
* [Bump version to 3.1.0](https://github.com/personnummer/python/commit/3120f961352e9822911fce1d1c2bdc6e292138c8)
* [Configure the readme in pyproject.toml](https://github.com/personnummer/python/commit/5fe784d3dc8f8bff83b1b4c89480686022c6319f)
* [Replace obsolete test libraries with pytest](https://github.com/personnummer/python/commit/4c6ed996034e2e80b1561322cb28536f4f1f1798)

3.0.6

3.0.5

What's Changed
* Validate leap year dates correctly by dannyhajj in https://github.com/personnummer/python/pull/57

Thank you dannyhajj

**Full Changelog**: https://github.com/personnummer/python/compare/v3.0.4...v3.0.5

3.0.4

* Added command line tool, thanks arvestad

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.