{"id":21928718,"url":"https://github.com/austinhartzheim/rigidity","last_synced_at":"2025-03-22T12:25:01.674Z","repository":{"id":34749993,"uuid":"38730192","full_name":"austinhartzheim/rigidity","owner":"austinhartzheim","description":"Data validation and correction wrapper for Python's `csv` module.","archived":false,"fork":false,"pushed_at":"2020-06-15T06:30:13.000Z","size":77,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T11:49:57.607Z","etag":null,"topics":["csv","python","python3"],"latest_commit_sha":null,"homepage":"https://rigidity.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/austinhartzheim.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2015-07-08T03:42:02.000Z","updated_at":"2021-02-09T17:02:17.000Z","dependencies_parsed_at":"2022-08-26T13:11:25.069Z","dependency_job_id":null,"html_url":"https://github.com/austinhartzheim/rigidity","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhartzheim%2Frigidity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhartzheim%2Frigidity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhartzheim%2Frigidity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinhartzheim%2Frigidity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/austinhartzheim","download_url":"https://codeload.github.com/austinhartzheim/rigidity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244955117,"owners_count":20537895,"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":["csv","python","python3"],"created_at":"2024-11-28T22:27:41.264Z","updated_at":"2025-03-22T12:25:01.647Z","avatar_url":"https://github.com/austinhartzheim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rigidity\n========\n\n.. image:: https://travis-ci.org/austinhartzheim/rigidity.svg?branch=master\n   :target: https://travis-ci.org/austinhartzheim/rigidity\n.. image:: https://coveralls.io/repos/austinhartzheim/rigidity/badge.svg?branch=master\u0026service=github\n   :target: https://coveralls.io/github/austinhartzheim/rigidity?branch=master\n.. image:: https://readthedocs.org/projects/rigidity/badge/\n   :target: https://rigidity.readthedocs.io/\n\n\nRigidity is a simple wrapper to Python's built-in `csv` module that allows for validation and correction of data being read or written with the `csv` module.\n\nThis module allows you to easily construct validation and correction rulesets to be applied automatically while preserving the `csv` interface. In other words, you can easily upgrade old code to better adhere to new output styles, or allow new code to better parse old files.\n\nExamples\n--------\nHere is asimple example of validating UPC codes and ensuring their uniqueness::\n\n   import rigidity\n   \n   rules = [\n       [rigidity.rules.UpcA(strict=True),\n        rigidity.rules.Unique()]\n   ]\n   r = rigidity.Rigidity(reader, rules)\n   \n   for row in r:\n       print(row[0])\n\nAn explanation of this code and more documentation is available on `Read The Docs`_.\n\n.. _Read The Docs: https://rigidity.readthedocs.io/en/latest/\n\nInstalling\n----------\nWe are on `PyPI`_, so you can install us with `pip`::\n\n   sudo pip3 install rigidity\n\n.. _PyPI: https://pypi.python.org/pypi/rigidity/\n\nRunning Tests\n-------------\nYou can easily run our unit tests at any time with Python's nosetests. If you also want to see test coverage, run this command.\n\n   nosetests --with-coverage --cover-package=rigidity\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinhartzheim%2Frigidity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faustinhartzheim%2Frigidity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinhartzheim%2Frigidity/lists"}