Skip to main content

A Dissect module implementing a parser for the SquashFS file system, commonly used in appliance or device firmware

Project description

dissect.squashfs

A Dissect module implementing a parser for the SquashFS file system, commonly used in appliance or device firmware. For more information, please see the documentation.

Requirements

This project is part of the Dissect framework and requires Python.

Information on the supported Python versions can be found in the Getting Started section of the documentation.

Installation

dissect.squashfs is available on PyPI.

pip install dissect.squashfs

This project decompresses lzo and lz4 compressed file systems and can use the faster, native (C-based) lz4 and lzo implementations when installed, instead of the slower pure Python implementation provided by dissect.util. To use these faster implementations, install the package with the lzo and lz4 extras:

pip install "dissect.squashfs[lz4,lzo]"

Unfortunately there is no binary python-lzo wheel for PyPy installations on Windows, so it won't be installed there

This module including the lz4 and lzo extras is also automatically installed if you install the dissect package.

Build and test instructions

This project uses tox to build source and wheel distributions. Run the following command from the root folder to build these:

tox -e build

The build artifacts can be found in the dist/ directory.

tox is also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests using the default installed Python version, run:

tox

For a more elaborate explanation on how to build and test the project, please see the documentation.

Contributing

The Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please refer to the development guide.

Copyright and license

Dissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc (https://www.nccgroup.com).

Developed by the Dissect Team (dissect@fox-it.com) and made available at https://github.com/fox-it/dissect.

License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dissect_squashfs-1.7.tar.gz (47.7 kB view details)

Uploaded Source

Built Distribution

dissect.squashfs-1.7-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file dissect_squashfs-1.7.tar.gz.

File metadata

  • Download URL: dissect_squashfs-1.7.tar.gz
  • Upload date:
  • Size: 47.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for dissect_squashfs-1.7.tar.gz
Algorithm Hash digest
SHA256 d67c240652a09bc0d2bc68f61843376618f239e77cd2f74abed413f3c25611bd
MD5 ee6f184e81184405212d268a78b7e1aa
BLAKE2b-256 b4b9f5c4270ef2dfc320fa474c72523a56ed63dddbeb69fdd2ded0471c4cca21

See more details on using hashes here.

File details

Details for the file dissect.squashfs-1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for dissect.squashfs-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6781b5aadfbe352b533a8a8d382178fb1c0e6eeeaffc96f66613dff28ba55f34
MD5 70d3e82c72234b6b354487ec0c3308c7
BLAKE2b-256 2e9e5ee8844fedd3588b5659f53969d4571cd5036a97b922363000fc070e06ca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page