{"id":20049451,"url":"https://github.com/weaming/data-process","last_synced_at":"2026-04-20T19:05:47.909Z","repository":{"id":53534304,"uuid":"143380176","full_name":"weaming/data-process","owner":"weaming","description":"Make processing 2d data more convenient","archived":false,"fork":false,"pushed_at":"2021-04-14T03:43:49.000Z","size":42,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T08:29:11.566Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weaming.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-03T05:05:20.000Z","updated_at":"2021-04-14T03:43:54.000Z","dependencies_parsed_at":"2022-08-31T19:50:37.498Z","dependency_job_id":null,"html_url":"https://github.com/weaming/data-process","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weaming/data-process","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fdata-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fdata-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fdata-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fdata-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weaming","download_url":"https://codeload.github.com/weaming/data-process/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2Fdata-process/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266420846,"owners_count":23926004,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-13T11:50:06.186Z","updated_at":"2026-04-20T19:05:42.889Z","avatar_url":"https://github.com/weaming.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Process\n\nMake processing 2d data more convenient\n\n## Install\n\n    pip install data-process\n\n## Module description\n\n* collect_csv_data: Collect data in a directory contains CSV files\n* date: Generate current date and time; get the range of and start, end day of a period date; convert bettween string and `datetime.datetime` type\n* date_range: Get the range of date from the start, end, range gap you provided\n* decimal_helper: Convert float to Decimal type\n* dict_helper: Replace the keys of a dict; infinite `defaultdict` data structure; get data by a series of keys\n* filter_date: Filter a series date string by the given start, end date\n* green_dict: Make the `dict` compatibal with the `json.dumps`, especially for `date(time)` type\n* group_by: Group a series of `dict` by a list of functions; degroup a deep grouped dict by the depths\n* io_csv: Read, write csv files\n* io_json: Read, write json files\n* io_files: List files in a glob pattern directories\n* io_lines: Read as lines from a file except the lines are blank or start with '#'\n* iter_dict: Convert dict for output, handled by the type of values separately\n* join: Left, right, inner, outer join a series of dict as like in SQL\n* list_helper: Flat a nested list\n* pandas_helper: Functions wrapper for using `pandas` conveniently. Convert `pandas.DataFrame` to a list of dict; aggregate DataFrame by a field.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaming%2Fdata-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweaming%2Fdata-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaming%2Fdata-process/lists"}