{"id":19686330,"url":"https://github.com/closeio/cleancat","last_synced_at":"2025-04-29T06:31:23.914Z","repository":{"id":4822588,"uuid":"5976407","full_name":"closeio/cleancat","owner":"closeio","description":"Validation and serialization library for Python designed to be used with JSON REST frameworks","archived":false,"fork":false,"pushed_at":"2024-03-20T17:48:26.000Z","size":354,"stargazers_count":52,"open_issues_count":11,"forks_count":8,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-04-05T13:51:26.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jamster/nvd3","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/closeio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2012-09-27T03:03:19.000Z","updated_at":"2024-08-12T22:52:59.000Z","dependencies_parsed_at":"2024-06-19T05:28:22.003Z","dependency_job_id":"6f39c842-e652-444e-8658-7a86ffa10371","html_url":"https://github.com/closeio/cleancat","commit_stats":{"total_commits":137,"total_committers":12,"mean_commits":"11.416666666666666","dds":0.6277372262773723,"last_synced_commit":"55deded01d53dc05038fc1c2de75aeb1cd35d665"},"previous_names":["elasticsales/cleancat"],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fcleancat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fcleancat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fcleancat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Fcleancat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/closeio","download_url":"https://codeload.github.com/closeio/cleancat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251450656,"owners_count":21591407,"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":[],"created_at":"2024-11-11T18:27:33.061Z","updated_at":"2025-04-29T06:31:22.017Z","avatar_url":"https://github.com/closeio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"CleanCat\n========\n\n[![Build Status](https://travis-ci.org/closeio/cleancat.svg?branch=master)](https://travis-ci.org/closeio/cleancat)\n\nValidation library for Python designed to be used with JSON REST frameworks\n\n\n### Basic example in Flask\n\n```py\nclass JobApplication(Schema):\n    first_name = String()\n    last_name = String()\n    email = Email()\n    urls = List(URL(default_scheme='http://'))\n\n@app.route('/job_application', methods=['POST'])\ndef test_view():\n    schema = JobApplication(request.json)\n    try:\n        data = schema.full_clean()\n    except SchemaValidationError:\n        return jsonify({'field-errors': schema.field_errors, 'errors': schema.errors }), 400\n        \n    # Now \"data\" has the validated data\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloseio%2Fcleancat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloseio%2Fcleancat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloseio%2Fcleancat/lists"}