{"id":28165629,"url":"https://github.com/alexdemure/gadutils","last_synced_at":"2025-05-15T12:11:55.303Z","repository":{"id":287221126,"uuid":"963819985","full_name":"AlexDemure/gadutils","owner":"AlexDemure","description":"A lightweight utility library for building clean and reusable data manipulation functions.","archived":false,"fork":false,"pushed_at":"2025-04-15T07:04:36.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"production","last_synced_at":"2025-04-23T21:02:14.471Z","etag":null,"topics":["python","python-types","python-typing"],"latest_commit_sha":null,"homepage":"","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/AlexDemure.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,"zenodo":null}},"created_at":"2025-04-10T08:59:23.000Z","updated_at":"2025-04-15T07:04:39.000Z","dependencies_parsed_at":"2025-04-12T07:39:42.800Z","dependency_job_id":null,"html_url":"https://github.com/AlexDemure/gadutils","commit_stats":null,"previous_names":["alexdemure/gadify","alexdemure/gadutils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDemure%2Fgadutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDemure%2Fgadutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDemure%2Fgadutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDemure%2Fgadutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexDemure","download_url":"https://codeload.github.com/AlexDemure/gadutils/tar.gz/refs/heads/production","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337509,"owners_count":22054255,"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":["python","python-types","python-typing"],"created_at":"2025-05-15T12:11:55.123Z","updated_at":"2025-05-15T12:11:55.292Z","avatar_url":"https://github.com/AlexDemure.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/AlexDemure/gadutils\"\u003e\n    \u003ca href=\"https://ibb.co/LhnNPPYp\"\u003e\u003cimg src=\"https://i.ibb.co/JF53ddmk/logo.png\" alt=\"logo\" border=\"0\"\u003e\u003c/a\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A utility library for building clean and reusable data manipulation functions.\n\u003c/p\u003e\n\n---\nUtility Python library that centralizes all your data manipulation logic into one clean and structured place.\nInstead of scattering helper functions across the codebase, it organizes them by data type — such as strings, decimals, dates, and more — making your application easier to maintain, test, and extend.\n\n- Centralized and consistent data utilities\n- Cleaner imports — no more `from datetime import datetime` vs `import datetime as dt`\n- Reduces boilerplate and external dependencies\n- Makes utility logic reusable, testable, and predictable\n\n## Installation\n\n```\npip install gadutils\n```\n\n\n## Usage\n\n```python\nfrom gadutils import strings, dates, decimals, fields, json, lists, paths, urls\n\nprint(strings.kebab(\"Hello World\"))  # hello-world\n\ndate = dates.now()\nprint(dates.formatiso(date))   # \"2025-04-10T12:34:56.789012+0000\"\n\nprint(paths.current())         # \"/home/user/project\"\nprint(paths.define())          # \"/home/user/project\"\nprint(paths.define(\"/tmp\"))    # \"/tmp\"\n\nprint(decimals.add(10.25, 5.75))        # Decimal('16.00')\nprint(decimals.split(100.05, 3))        # [Decimal('33.35'), Decimal('33.35'), Decimal('33.35')]\n\nprint(lists.unique([1, 2, 2, 3, 1]))         # [1, 2, 3]\nprint(lists.flatten([[1, 2], [3, [4]]]))     # [1, 2, 3, 4]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexdemure%2Fgadutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexdemure%2Fgadutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexdemure%2Fgadutils/lists"}