Warning
The library is in the pre-alpha stage.
- Provides backports for the standard library;
- Compatible with Python 3.9+;
- Almost dependency-free.
The library is available as backlib
on PyPI:
pip install backlib
For more, see the documentation.
from backlib.py313 import io
...
For more, see the documentation.
from backlib.py313 import json
data = json.loads("{\"backlib\": \"pypi\"}")
assert data == {"backlib": "pypi"}
For more, see the documentation.
from backlib.py313 import ntpath
...
For more, see the documentation.
from backlib.py313 import os
st = os.stat("./pyproject.toml")
assert st.st_birthtime_ns > 0
For more, see the documentation.
from backlib.py313 import ospath
...
For more, see the documentation.
from backlib.py313 import pathlib
...
For more, see the documentation.
from backlib.py313 import posixpath
...
For more, see the documentation.
from backlib.py313 import shutil
...
For more, see the documentation.
from backlib.py313 import stat
assert stat.SF_SYNTHETIC == 0xC0000000
For more, see the documentation.
from backlib.py313 import tarfile
...
For more, see the documentation.
from backlib.py313 import tomllib
data = tomllib.loads("\"backlib\" = \"pypi\"")
assert data == {"backlib": "pypi"}
For more, see the documentation.
from backlib.py313 import zipfile
...
MIT License, Copyright (c) 2025 Sergei Bogdanov. See LICENSE file.