cznic/public/: fred-types-2.2.1 metadata and description

Simple index

Common types for FRED registry

author Jan MusĂ­lek
author_email jan.musilek@nic.cz
classifiers
  • Development Status :: 2 - Pre-Alpha
  • Intended Audience :: Developers
  • License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Topic :: Internet
  • Topic :: Office/Business
  • Topic :: Software Development :: Libraries
  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Utilities
  • Typing :: Typed
license GPLv3+
provides_extras test
requires_dist
  • backports.strenum; python_version < "3.11"
  • pydantic~=2.0
  • doc8; extra == "quality"
  • mypy; extra == "quality"
  • polint; extra == "quality"
  • ruff; extra == "quality"
  • Babel; extra == "test"
  • testfixtures; extra == "test"
requires_python ~=3.9

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
fred_types-2.2.1-py3-none-any.whl
Size
29 KB
Type
Python Wheel
Python
3
fred_types-2.2.1.tar.gz
Size
27 KB
Type
Source

Library with common types for FRED registry.

All important types are exposed directly in fred_types namespace.

ChangeLog

Unreleased

2.2.1 (2025-03-13)

  • Prevent false positive warning on validation_alias (#25).

2.2.0 (2025-02-04)

  • Add SnapshotId (#24).

  • Fix annotations.

2.1.0 (2024-11-05)

  • Drop support for python 3.8.

  • Add support for python 3.13.

  • Add RegistrarRef (#23).

  • Add dnskey protocol (#22).

  • Update project setup.

2.0.1 (2024-09-19)

  • Fix BaseModel._warn_extra validator for non-dict inputs

2.0.0 (2024-09-11)

  • Migrate to pydantic v2 (#11)

  • Make Ref models frozen (#17)

1.2.1 (2024-09-16)

  • Fix StrEnum annotations (#20).

1.2.0 (2024-09-09)

  • Add StateFlag enum (#14)

  • Add DNS key flags and algorithms enums (#15)

  • Avoid backports.strenum in python 3.11+ (#18)

2.0.0 (unreleased)

  • [BREAKING] Migrate to pytandic 2.0 * Remove GenericModel (BaseModel can now be used instead)

1.1.2 (2023-09-11)

  • Add support for both pydantic v1 and v2 (#10)

  • Use compatible StrEnum (#13)

  • Drop python 3.7

1.1.1 (2023-06-21)

  • Fix BaseModel for support of aliased fields (#9). Population is possible with both names by default.

1.1.0 (2023-06-14)

  • Add RegistryObjectType enum (#6).

  • Add representative IDs (#8).

  • Fix changelog.

  • Fix annotations in tests.

1.0.0 (2023-02-22)

Initial version.

  • Add BaseModel and GenericModel. These copy model base classes from pydantic and add extra arguments warning.

  • Add BaseId, BaseObjectId and BaseObjectHistoryId model field types.

  • Add following registry object id types:

    • ContactId

    • DomainId

    • KeysetId

    • NssetId

    • RegistrarId

    • ContactHistoryId

    • DomainHistoryId

    • KeysetHistoryId

    • NssetHistoryId

  • Add following registry object refs:

    • ContactRef

    • DomainRef

    • KeysetRef

    • NssetRef

  • Add LogEntryId field type.