Skip to content

Consider using attrs instead of pydantic #2

@Almas-Ali

Description

@Almas-Ali

Your code is clean, and the codebase should be small, but using pydantic adds extra packages, which might not be ideal for this simple project. You should use attrs instead—no extra package load.

You can check out my SpyIP: https://github.com/Almas-Ali/SpyIP project, where I wrapped ip-api.com with attrs. I initially started with pydantic but later moved to attrs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions