{"id":34031412,"url":"https://github.com/syubogdanov/backlib","last_synced_at":"2026-04-07T15:32:06.825Z","repository":{"id":270627085,"uuid":"910960218","full_name":"syubogdanov/backlib","owner":"syubogdanov","description":"Backports for the Python standard library.","archived":false,"fork":false,"pushed_at":"2025-05-18T19:34:51.000Z","size":572,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T19:43:41.437Z","etag":null,"topics":["backport","builtins","errno","io","json","operator","os","ospath","python","stat","stdlib","tomllib"],"latest_commit_sha":null,"homepage":"https://backlib.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/syubogdanov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-01T22:56:21.000Z","updated_at":"2025-05-18T19:27:35.000Z","dependencies_parsed_at":"2025-01-18T17:20:06.919Z","dependency_job_id":"9e6ae795-3142-4bd2-937a-e24b655a75b9","html_url":"https://github.com/syubogdanov/backlib","commit_stats":null,"previous_names":["syubogdanov/backlib"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/syubogdanov/backlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syubogdanov%2Fbacklib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syubogdanov%2Fbacklib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syubogdanov%2Fbacklib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syubogdanov%2Fbacklib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syubogdanov","download_url":"https://codeload.github.com/syubogdanov/backlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syubogdanov%2Fbacklib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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":["backport","builtins","errno","io","json","operator","os","ospath","python","stat","stdlib","tomllib"],"created_at":"2025-12-13T18:14:41.442Z","updated_at":"2026-04-07T15:32:06.814Z","avatar_url":"https://github.com/syubogdanov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backlib\n\n[![PyPI Version][shields/pypi/version]][pypi/homepage]\n[![PyPI Downloads][shields/pypi/downloads]][pypi/homepage]\n[![License][shields/pypi/license]][github/license]\n[![Python Version][shields/python/version]][pypi/homepage]\n\n\u003e [!WARNING]\n\u003e The library is in the pre-alpha stage. Bugs may exist!\n\n## Key Features\n\n* Provides backports for the standard library;\n* Compatible with Python 3.9+;\n* Almost dependency-free.\n\n## Getting Started\n\n### Installation\n\nThe library is available as [`backlib`][pypi/homepage] on PyPI:\n\n```shell\npip install backlib\n```\n\n### Usage\n\n#### builtins\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py310 import builtins\n\nassert issubclass(builtins.EncodingWarning, Warning)\n```\n\n#### errno\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py311 import errno\n\nassert errno.ENOTCAPABLE == 93\n```\n\n#### io [SOON]\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py311 import io\n\nencoding = io.text_encoding(None)\n\nassert encoding == \"utf-8\"\n```\n\n#### json\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py310 import json\n\ndata = json.loads(\"{\\\"backlib\\\": \\\"pypi\\\"}\")\n\nassert data == {\"backlib\": \"pypi\"}\n```\n\n#### operator\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py311 import operator\n\nvalue = operator.call(abs, -42)\n\nassert value == 42\n```\n\n#### os\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py312 import os\n\nst = os.stat(\"pyproject.toml\")\n\nassert st.st_birthtime_ns \u003e 0\n```\n\n#### os.path\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py313 import os\n\nassert os.path.isreserved(\"NUL\")\n```\n\n#### stat\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py313 import stat\n\nassert stat.SF_SYNTHETIC == 0xC0000000\n```\n\n#### tomllib\n\nFor more, see the [documentation][docs/all].\n\n```python\nfrom backlib.py311 import tomllib\n\ndata = tomllib.loads(\"\\\"backlib\\\" = \\\"pypi\\\"\")\n\nassert data == {\"backlib\": \"pypi\"}\n```\n\n## License\n\nMIT License, Copyright (c) 2025 Sergei Y. Bogdanov. See [LICENSE][github/license] file.\n\n\u003c!-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --\u003e\n\n[docs/all]: https://backlib.readthedocs.io/en/latest/backports/index.html\n\n[github/license]: https://github.com/syubogdanov/backlib/tree/main/LICENSE\n\n[pypi/homepage]: https://pypi.org/project/backlib/\n\n[shields/pypi/downloads]: https://img.shields.io/pypi/dm/backlib.svg?color=green\n[shields/pypi/license]: https://img.shields.io/pypi/l/backlib.svg?color=green\n[shields/pypi/version]: https://img.shields.io/pypi/v/backlib.svg?color=green\n[shields/python/version]: https://img.shields.io/pypi/pyversions/backlib.svg?color=green\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyubogdanov%2Fbacklib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyubogdanov%2Fbacklib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyubogdanov%2Fbacklib/lists"}