{"id":18563577,"url":"https://github.com/ishanoshada/automagicio","last_synced_at":"2025-09-20T11:52:16.924Z","repository":{"id":203458259,"uuid":"709534578","full_name":"Ishanoshada/Automagicio","owner":"Ishanoshada","description":"A versatile plugin module for streamlining input/output operations in Python projects","archived":false,"fork":false,"pushed_at":"2023-10-25T06:33:26.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T06:48:00.726Z","etag":null,"topics":["data-science","dataset","filehandling","pypi","pypi-package","python-io"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/automagicio","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/Ishanoshada.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-24T21:57:17.000Z","updated_at":"2025-02-25T09:36:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7e1f11c-adcc-4d82-b79f-8b872cd24110","html_url":"https://github.com/Ishanoshada/Automagicio","commit_stats":null,"previous_names":["ishanoshada/automagicio"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishanoshada%2FAutomagicio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishanoshada%2FAutomagicio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishanoshada%2FAutomagicio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishanoshada%2FAutomagicio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ishanoshada","download_url":"https://codeload.github.com/Ishanoshada/Automagicio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254394726,"owners_count":22063984,"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":["data-science","dataset","filehandling","pypi","pypi-package","python-io"],"created_at":"2024-11-06T22:12:57.679Z","updated_at":"2025-09-20T11:52:11.852Z","avatar_url":"https://github.com/Ishanoshada.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoMagicIO\n\nAutoMagicIO is a versatile Python module designed to streamline input/output operations in Python projects. It provides a set of intuitive interfaces and automated routines to handle common file operations, such as reading, writing, and parsing data from various file formats.\n\n## Installation\n\nYou can install AutoMagicIO via pip:\n\n```bash\npip install automagicio\n```\n## Usage\n\n### Reading Data\n\nTo get started with AutoMagicIO, you'll need to create an instance of the `AutoMagicIO` class, providing the filename of the data you want to work with.\n\n```python\nfrom automagicio import AutoMagicIO\n\nauto_io = AutoMagicIO('data.csv')\nauto_io.read()\n```\n\u003e Reads data from the specified file format (CSV, JSON, or XML) and automatically detects the format.\n\n### Writing Data\n\nYou can save your processed data using the `write` method, specifying the output filename and format ('json' or 'xml').\n\n```python\nauto_io.write('output.json', format='json')\n```\n\u003e Writes data to a file in the specified format.\n\n### Data Validation\n\nYou can check if your data contains required fields using the `validate_data` method.\n\n```python\nvalid = auto_io.validate_data()\n```\n\u003e Checks if data contains required fields (Name, Age, City).\n\n### Sorting Data\n\nTo sort your data based on a specific column, use the `sort_data` method.\n\n```python\nsorted_data = auto_io.sort_data('Name')\n```\n\u003e Sorts data based on the specified column.\n\n### Aggregating Data\n\nYou can perform aggregation operations (sum, average, count) on a specific column.\n\n```python\nsum_result = auto_io.aggregate_data('Age', 'sum')\naverage_result = auto_io.aggregate_data('Age', 'average')\ncount_result = auto_io.aggregate_data('Age', 'count')\n```\n\u003e Performs aggregation operations on the specified column.\n\n### Filtering Data\n\nFilter data based on a specific condition.\n\n```python\nfiltered_data = auto_io.filter_data('City', 'New York')\n```\n\u003e Filters data based on the specified condition.\n\n### Transforming Data\n\nApply a specified transformation function to the values of a specific column.\n\n```python\ndef transform_age(age):\n    return int(age) + 5\n\ntransformed_data = auto_io.transform_data('Age', transform_age)\n```\n\u003e Applies a specified transformation function to the values of the specified column.\n\n### Deduplicating Data\n\nRemove duplicate records based on a specified column.\n\n```python\nunique_data = auto_io.deduplicate_data('Name')\n```\n\u003e Removes duplicate records based on the specified column.\n\n### Getting Data\n\nRetrieve the stored data.\n\n```python\ndata = auto_io.get_data()\n```\n\u003e Gets the stored data.\n\n**Repository Views** ![Views](https://profile-counter.glitch.me/automagicio/count.svg)\n\n## Contributors\n\n- [Ishan Oshada](https://github.com/ishanoshada)\n\n## Version\n\n1.0.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishanoshada%2Fautomagicio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishanoshada%2Fautomagicio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishanoshada%2Fautomagicio/lists"}