Skip to main content

No project description provided

Project description

Build Status The Curator on PyPI

The Curator helps you define pipelines for transforming dirty data into consumable databases.

Usage

from thecurator import Curator

# Paths to files describing different tables
table_descriptions = ['patient.yml', 'lab.yml']
curator = Curator(sqlalchemy_engine, table_descriptions)

# Transform a pandas DataFrame according to the descriptions
curator.transform_df('patient', patient_df)

# Transform a dictionary array according to the descriptions
curator.transform_dicts('patient', patient_dicts)

# Transform and insert a according to the descriptions
curator.insert_dicts('lab', lab_dicts)

See the tests. More coming soon…

Development

  • Install development requirements pip install -r dev-requirements.txt
  • Make changes
  • Run the tests pytest tests

Release

https://packaging.python.org/tutorials/distributing-packages/ gpg –detach-sign -a dist/package-1.0.1.tar.gz twine upload dist/*

twine upload –repository-url https://test.pypi.org/legacy/ dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for The-Curator, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size The_Curator-0.1.2-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size The Curator-0.1.2.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page