{"id":18605300,"url":"https://github.com/fny/thecurator","last_synced_at":"2025-04-10T20:30:59.937Z","repository":{"id":57475053,"uuid":"104099312","full_name":"fny/thecurator","owner":"fny","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-02T20:18:51.000Z","size":43,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T03:51:15.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fny.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-19T16:25:03.000Z","updated_at":"2019-06-13T20:50:17.000Z","dependencies_parsed_at":"2022-09-10T02:23:18.316Z","dependency_job_id":null,"html_url":"https://github.com/fny/thecurator","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fny%2Fthecurator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fny%2Fthecurator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fny%2Fthecurator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fny%2Fthecurator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fny","download_url":"https://codeload.github.com/fny/thecurator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248290019,"owners_count":21078923,"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-07T02:20:48.001Z","updated_at":"2025-04-10T20:30:59.568Z","avatar_url":"https://github.com/fny.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"The Curator 🖼\n==============\n\n.. image:: https://travis-ci.org/fny/thecurator.svg?branch=master\n   :target: https://travis-ci.org/fny/thecurator\n   :alt: Build Status\n\n.. image:: https://badge.fury.io/py/thecurator.svg\n   :target: https://pypi.org/project/thecurator\n   :alt: The Curator on PyPI\n\n\nThe Curator helps you define pipelines for transforming dirty data into consumable databases.\n\nUsage\n-----\n\n.. code:: python\n\n  from thecurator import Curator\n\n  # Paths to files describing different tables\n  table_descriptions = ['patient.yml', 'lab.yml']\n  curator = Curator(sqlalchemy_engine, table_descriptions)\n\n  # Transform a pandas DataFrame according to the descriptions\n  curator.transform_df('patient', patient_df)\n\n  # Transform a dictionary array according to the descriptions\n  curator.transform_dicts('patient', patient_dicts)\n\n  # Transform and insert a dictionary array according to the descriptions\n  curator.insert_dicts('lab', lab_dicts)\n\n\nSee the tests for more examples. More coming soon...\n\nDevelopment\n-----------\n\n - Install development requirements `pip install -r dev-requirements.txt`\n - Make changes\n - Run the tests `pytest tests`\n - See the Makefile for other useful commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffny%2Fthecurator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffny%2Fthecurator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffny%2Fthecurator/lists"}