{"id":19512898,"url":"https://github.com/guionardo/py-base-model","last_synced_at":"2026-02-07T19:32:15.953Z","repository":{"id":50175556,"uuid":"244248514","full_name":"guionardo/py-base-model","owner":"guionardo","description":"Base model for JSON data","archived":false,"fork":false,"pushed_at":"2024-07-10T00:28:22.000Z","size":77,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-03-03T06:43:29.109Z","etag":null,"topics":["json","modeling","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guionardo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-02T00:45:29.000Z","updated_at":"2020-04-19T23:46:28.000Z","dependencies_parsed_at":"2024-11-10T23:29:22.564Z","dependency_job_id":"02f84cf1-7c58-404b-a4fa-47635be1d6cb","html_url":"https://github.com/guionardo/py-base-model","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0357142857142857,"last_synced_commit":"05e2415b3d9691b55d5486a234b2432a6f7d37c1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/guionardo/py-base-model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fpy-base-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fpy-base-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fpy-base-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fpy-base-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guionardo","download_url":"https://codeload.github.com/guionardo/py-base-model/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fpy-base-model/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264777822,"owners_count":23662555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","modeling","python"],"created_at":"2024-11-10T23:28:07.480Z","updated_at":"2026-02-07T19:32:15.918Z","avatar_url":"https://github.com/guionardo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PY BASE MODEL\n\n[![codecov](https://codecov.io/gh/guionardo/py-base-model/branch/develop/graph/badge.svg)](https://codecov.io/gh/guionardo/py-base-model)\n\nModel data validator\n\n## Examples\n\n### Model with primitive type attributes\n\n``` Python\nfrom base_model.base_model import BaseModel\n\nclass PrimitiveFieldsModel(BaseModel):\n    id: int\n    name: str\n    active: bool\n    size: float\n```\n\n### Model with time type attributes\n\n``` Python\nfrom datetime import datetime, date, time\n\nfrom base_model.base_model import BaseModel\n\n\nclass TimeFieldsModel(BaseModel):\n    birthday: date\n    register: datetime\n    alarm: time\n\n```\n\n### Model with list type attributes\n\n``` Python\nfrom typing import List\n\nfrom base_model.base_model import BaseModel\n\n\nclass ListFieldsModel(BaseModel):\n    names: List[str]\n    ages: List[int]\n    enables: List[bool]\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguionardo%2Fpy-base-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguionardo%2Fpy-base-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguionardo%2Fpy-base-model/lists"}