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.dev1.tar.gz (47.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dissect_squashfs-1.7.dev1.tar.gz
  • Upload date:
  • Size: 47.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for dissect_squashfs-1.7.dev1.tar.gz
Algorithm Hash digest
SHA256 6081f68afc5a6375f608bb35d93760e3455b659d1c1c181c17efbac007cf6e01
MD5 80a811ad18a8b79d20da7f7b2a403cbe
BLAKE2b-256 0cc9a0ff2c8b2e3c2932de6bf64de67c965a586d6faaa3d8df1eca12f367dd5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dissect.squashfs-1.7.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c9e89c062f62716e6f9d42bb4c7a0d40b0cd3f2f39ea167d1a312f34a2f2068
MD5 f3ad1eac7136e7c8a2e62738a96b01d4
BLAKE2b-256 3208d1fdf3388bb3bf1fff410a4bda213098fe5442710f812833d46efbfb32aa

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