{"id":15436329,"url":"https://github.com/zigai/stdl","last_synced_at":"2026-01-30T20:00:34.567Z","repository":{"id":49337367,"uuid":"476321071","full_name":"zigai/stdl","owner":"zigai","description":"Extended Python standard library","archived":false,"fork":false,"pushed_at":"2026-01-29T21:19:12.000Z","size":414,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-30T10:09:22.598Z","etag":null,"topics":["ansi-escape-codes","filesystem","lazy-imports","list-utils","python","python3","standard-library","string-utils","utilities"],"latest_commit_sha":null,"homepage":"https://stdl.readthedocs.io","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/zigai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-31T13:36:44.000Z","updated_at":"2026-01-29T21:19:15.000Z","dependencies_parsed_at":"2025-12-06T04:16:17.654Z","dependency_job_id":null,"html_url":"https://github.com/zigai/stdl","commit_stats":{"total_commits":192,"total_committers":3,"mean_commits":64.0,"dds":"0.14583333333333337","last_synced_commit":"036a249077848839ede7866b7e8b2fdf4cff534a"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/zigai/stdl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fstdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fstdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fstdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fstdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigai","download_url":"https://codeload.github.com/zigai/stdl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fstdl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28918235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T19:10:10.838Z","status":"ssl_error","status_checked_at":"2026-01-30T19:06:40.573Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ansi-escape-codes","filesystem","lazy-imports","list-utils","python","python3","standard-library","string-utils","utilities"],"created_at":"2024-10-01T18:49:57.505Z","updated_at":"2026-01-30T20:00:34.504Z","avatar_url":"https://github.com/zigai.png","language":"Python","readme":"# stdl\n\n[![Tests](https://github.com/zigai/stdl/actions/workflows/test.yml/badge.svg)](https://github.com/zigai/stdl/actions/workflows/test.yml)\n[![Documentation Status](https://readthedocs.org/projects/stdl/badge/?version=latest)](https://stdl.readthedocs.io/en/latest/?badge=latest)\n[![PyPI version](https://badge.fury.io/py/stdl.svg)](https://badge.fury.io/py/stdl)\n![Supported versions](https://img.shields.io/badge/python-3.10+-blue.svg)\n[![Downloads](https://static.pepy.tech/badge/stdl)](https://pepy.tech/project/stdl)\n[![license](https://img.shields.io/github/license/zigai/stdl.svg)](https://github.com/zigai/stdl/blob/master/LICENSE)\n\n`stdl` is a collection of Python utilities that complement the standard library.\n\n## Features\n\n- File and directory operations\n- String manipulation\n- ANSI color support for terminal output\n- Date and time formatting\n- List utils\n- Lazy imports\n- Logging configuration for `logging` and `loguru`\n- [See docs](https://stdl.readthedocs.io/en/latest/?badge=latest)\n\n## Installation\n\n### Using pip\n\n```sh\npip install stdl\n```\n\n### Using uv\n\n```sh\nuv add stdl\n```\n\n### From source\n\n```sh\npip install git+https://github.com/zigai/stdl.git\n# or\nuv add git+https://github.com/zigai/stdl.git\n```\n\n## Examples\n\n### Lazy imports\n\n```python\nfrom typing import TYPE_CHECKING\nfrom stdl.import_lazy import import_lazy\n\nif TYPE_CHECKING:\n    from os.path import abspath, join\n    import numpy as np\n    import torch\nelse:\n    import_lazy(\"os.path\", [\"join\", \"abspath\"], verbose=True)\n    import_lazy(\"numpy\", alias=\"np\", verbose=True)\n    import_lazy(\"torch\", verbose=True)\n\nprint(np.zeros(4))\n# importing \"numpy\" took 0.060s\n# [0. 0. 0. 0.]\nprint(torch)\n# \u003cLazyImport: torch\u003e\nprint(torch.randn(8))\n# importing \"torch\" took 1.118s\n# tensor([0., 0., 0., 0., 0., 0., 0., 0.])\nprint(torch)\n# \u003cmodule 'torch' from .../torch/__init__.py'\n```\n\n## License\n\n[MIT License](https://github.com/zigai/stdl/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigai%2Fstdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigai%2Fstdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigai%2Fstdl/lists"}