# Canonical Transformer
A Python module for canonical data transformations between different data types and formats. Provides standardized mappings between DataFrames, dictionaries, files, and other data structures.
## Features
- DataFrame to Dictionary conversion
- Dictionary to DataFrame conversion
- DataFrame to CSV file transformation
- CSV file to DataFrame loading
- Standardized data type mapping
- Simple and consistent API
## Installation
```bash
pip install canonical-transformer
```
## Quick Start
```python
from canonical_transformer import *
# map DataFrame to dict
my_dict = map_df_to_data(my_dataframe)
# map Dict to DataFrame
result_df = map_data_to_df(my_dict)
# map DataFrame to CSV with standard format
map_df_to_csv(df=my_dataframe, file_folder='./', file_name='my_csv_file.csv')
```
## Requirements
- Python >= 3.6
- pandas >= 2.2.3
- python-dateutil >= 2.9.0
- pytz >= 2024.2
- typing_extensions >= 4.12.2
## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Author
**June Young Park**
AI Management Development Team Lead & Quant Strategist at LIFE Asset Management
LIFE Asset Management is a hedge fund management firm that integrates value investing and engagement strategies with quantitative approaches and financial technology, headquartered in Seoul, South Korea.
## Contact
- Email: juneyoungpaak@gmail.com
- Location: TWO IFC, Yeouido, Seoul
Raw data
{
"_id": null,
"home_page": "https://github.com/nailen1/canonical_transformer.git",
"name": "canonical-transformer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "June Young Park",
"author_email": "juneyoungpaak@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/32/04/418538948045f40014a9d192cd87c7ba3f841408e95462ad6cc3f3939e62/canonical_transformer-0.2.2.tar.gz",
"platform": null,
"description": "# Canonical Transformer\n\nA Python module for canonical data transformations between different data types and formats. Provides standardized mappings between DataFrames, dictionaries, files, and other data structures.\n\n## Features\n\n- DataFrame to Dictionary conversion\n- Dictionary to DataFrame conversion\n- DataFrame to CSV file transformation\n- CSV file to DataFrame loading\n- Standardized data type mapping\n- Simple and consistent API\n\n## Installation\n\n```bash\npip install canonical-transformer\n```\n\n## Quick Start\n\n```python\nfrom canonical_transformer import *\n\n# map DataFrame to dict\nmy_dict = map_df_to_data(my_dataframe)\n\n# map Dict to DataFrame\nresult_df = map_data_to_df(my_dict)\n\n# map DataFrame to CSV with standard format\nmap_df_to_csv(df=my_dataframe, file_folder='./', file_name='my_csv_file.csv')\n```\n\n## Requirements\n\n- Python >= 3.6\n- pandas >= 2.2.3\n- python-dateutil >= 2.9.0\n- pytz >= 2024.2\n- typing_extensions >= 4.12.2\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Author\n\n**June Young Park** \nAI Management Development Team Lead & Quant Strategist at LIFE Asset Management\n\nLIFE Asset Management is a hedge fund management firm that integrates value investing and engagement strategies with quantitative approaches and financial technology, headquartered in Seoul, South Korea.\n\n## Contact\n\n- Email: juneyoungpaak@gmail.com\n- Location: TWO IFC, Yeouido, Seoul\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python module for canonical data transformations between different data types and formats. Provides standardized mappings between DataFrames, dictionaries, files, and other data structures.",
"version": "0.2.2",
"project_urls": {
"Homepage": "https://github.com/nailen1/canonical_transformer.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f0870b2ead4c1df3efdcc3dc8606177e087dbc4019b585d2bc7b667da794afc8",
"md5": "f862eac836c24bb4014c757339b55d27",
"sha256": "8c2a97d419967b78a540875366e4c0e107ef529ebca047db3a1b0fbe65a3734e"
},
"downloads": -1,
"filename": "canonical_transformer-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f862eac836c24bb4014c757339b55d27",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 6991,
"upload_time": "2025-02-24T08:29:07",
"upload_time_iso_8601": "2025-02-24T08:29:07.057231Z",
"url": "https://files.pythonhosted.org/packages/f0/87/0b2ead4c1df3efdcc3dc8606177e087dbc4019b585d2bc7b667da794afc8/canonical_transformer-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3204418538948045f40014a9d192cd87c7ba3f841408e95462ad6cc3f3939e62",
"md5": "38dd21023e052c4d48684ef0f34120d7",
"sha256": "9f641d4d63af558083c2d0342cca6f61ace55e51f3a4d7ed41ebbb25af78452f"
},
"downloads": -1,
"filename": "canonical_transformer-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "38dd21023e052c4d48684ef0f34120d7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5057,
"upload_time": "2025-02-24T08:29:08",
"upload_time_iso_8601": "2025-02-24T08:29:08.670233Z",
"url": "https://files.pythonhosted.org/packages/32/04/418538948045f40014a9d192cd87c7ba3f841408e95462ad6cc3f3939e62/canonical_transformer-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-24 08:29:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nailen1",
"github_project": "canonical_transformer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "numpy",
"specs": [
[
">=",
"2.1.3"
]
]
},
{
"name": "pandas",
"specs": [
[
">=",
"2.2.3"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
">=",
"2.9.0"
]
]
},
{
"name": "pytz",
"specs": [
[
">=",
"2024.2"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
">=",
"4.12.2"
]
]
}
],
"lcname": "canonical-transformer"
}