Metadata-Version: 2.1
Name: ext4
Version: 1.0.2
Summary: Library for read only interactions with an ext4 filesystem
Author-email: Eeems <eeems@eeems.email>
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Filesystems
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cachetools==5.3.2
Requires-Dist: crcmod==1.7

[![ext4 on PyPI](https://img.shields.io/pypi/v/ext4)](https://pypi.org/project/ext4)

# Ext4
Library for read only interactions with an ext4 filesystem.

```python
from ext4 import Volume

# Extract raw ext4 image
with open("image.ext4", "rb") as f:
    # Extract specific file
    volume = Volume(image, offset=0)
    inode = volume.inode_at("/etc/version")
    with open("version", "wb") as f:
        f.write(inode.open().read())
```
