# backlib
[![PyPI Version][shields/pypi/version]][pypi/homepage]
[![PyPI Downloads][shields/pypi/downloads]][pypi/homepage]
[![License][shields/pypi/license]][github/license]
[![Python Version][shields/python/version]][pypi/homepage]
> [!WARNING]
> The library is in the planning stage.
## Key Features
* Provides backports for the standard library;
* Compatible with Python 3.9+;
* Almost dependency-free.
## Getting Started
### Installation
The library is available as [`backlib`][pypi/homepage] on PyPI:
```shell
pip install backlib
```
### Usage
#### json
```python
from backlib.py313 import json
with open("./backlib.json", mode="w") as file:
json.dump(["backlib"], file)
```
#### tomllib
```python
from backlib.py313 import tomllib
with open("./backlib.toml", mode="rb") as file:
data = tomllib.load(file)
```
## Documentation
The `backlib` API is the same as the standard library, so you can refer to the official documentation:
* [Python 3.13][docs/3.13]
## License
MIT License, Copyright (c) 2025 Sergei Bogdanov. See [LICENSE][github/license] file.
<!-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- -->
[docs/3.13]: https://docs.python.org/3.13/library/index.html
[github/license]: https://github.com/syubogdanov/backlib/tree/main/LICENSE
[pypi/homepage]: https://pypi.org/project/backlib/
[shields/pypi/downloads]: https://img.shields.io/pypi/dm/backlib.svg?color=green
[shields/pypi/license]: https://img.shields.io/pypi/l/backlib.svg?color=green
[shields/pypi/version]: https://img.shields.io/pypi/v/backlib.svg?color=green
[shields/python/version]: https://img.shields.io/pypi/pyversions/backlib.svg?color=green
Raw data
{
"_id": null,
"home_page": "https://github.com/syubogdanov/backlib",
"name": "backlib",
"maintainer": "Sergei Bogdanov",
"docs_url": null,
"requires_python": "<3.14,>=3.9",
"maintainer_email": "syubogdanov@outlook.com",
"keywords": "python, backport, stdlib, json, tomllib",
"author": "Sergei Bogdanov",
"author_email": "syubogdanov@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/4b/6c/50b73ebb57f56ea3e2f2dea6daab60385fd5d13598c274950441645a4799/backlib-0.0.0.tar.gz",
"platform": null,
"description": "# 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> [!WARNING]\n> The library is in the planning stage.\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#### json\n\n```python\nfrom backlib.py313 import json\n\nwith open(\"./backlib.json\", mode=\"w\") as file:\n json.dump([\"backlib\"], file)\n```\n\n#### tomllib\n\n```python\nfrom backlib.py313 import tomllib\n\nwith open(\"./backlib.toml\", mode=\"rb\") as file:\n data = tomllib.load(file)\n```\n\n## Documentation\n\nThe `backlib` API is the same as the standard library, so you can refer to the official documentation:\n\n* [Python 3.13][docs/3.13]\n\n## License\n\nMIT License, Copyright (c) 2025 Sergei Bogdanov. See [LICENSE][github/license] file.\n\n<!-- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- -->\n\n[docs/3.13]: https://docs.python.org/3.13/library/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",
"bugtrack_url": null,
"license": "MIT",
"summary": "Backports for the Python standard library.",
"version": "0.0.0",
"project_urls": {
"Documentation": "https://github.com/syubogdanov/backlib/tree/main/docs/",
"Homepage": "https://github.com/syubogdanov/backlib",
"Repository": "https://github.com/syubogdanov/backlib"
},
"split_keywords": [
"python",
" backport",
" stdlib",
" json",
" tomllib"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6c16d064cb813044cae27b18ad4d03096323dc46d32b98b4007029260cd4482a",
"md5": "3aeac99b0b19075199cd53f55f2b7be4",
"sha256": "0f8e6b2115780ee3c96f4ba3b36bf9dc39c97ab677dfbf46ca8d537fd5f4a821"
},
"downloads": -1,
"filename": "backlib-0.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3aeac99b0b19075199cd53f55f2b7be4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.9",
"size": 22118,
"upload_time": "2025-01-02T21:53:00",
"upload_time_iso_8601": "2025-01-02T21:53:00.503027Z",
"url": "https://files.pythonhosted.org/packages/6c/16/d064cb813044cae27b18ad4d03096323dc46d32b98b4007029260cd4482a/backlib-0.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4b6c50b73ebb57f56ea3e2f2dea6daab60385fd5d13598c274950441645a4799",
"md5": "6d5a323ffedcfbcdd072adb4eaf26c6d",
"sha256": "49e41cf63c93ddd676371f5989e1d2befdcefd840a6f113cd00c9cffdd8520d4"
},
"downloads": -1,
"filename": "backlib-0.0.0.tar.gz",
"has_sig": false,
"md5_digest": "6d5a323ffedcfbcdd072adb4eaf26c6d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.14,>=3.9",
"size": 17385,
"upload_time": "2025-01-02T21:53:03",
"upload_time_iso_8601": "2025-01-02T21:53:03.032892Z",
"url": "https://files.pythonhosted.org/packages/4b/6c/50b73ebb57f56ea3e2f2dea6daab60385fd5d13598c274950441645a4799/backlib-0.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-02 21:53:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "syubogdanov",
"github_project": "backlib",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "backlib"
}