Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pybcj

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pybcj

bcj filter library

  • 1.0.2
  • PyPI
  • Socket score

Maintainers
1

======================================= BCJ(Branch-Call-Jump) filter for python

.. image:: https://badge.fury.io/py/pybcj.svg :target: https://badge.fury.io/py/pybcj

.. image:: https://img.shields.io/conda/vn/conda-forge/pybcj :target: https://anaconda.org/conda-forge/pybcj

.. image:: https://dev.azure.com/miurahr/CodeBerg/_apis/build/status/CodeBerg-pybcj-CI?branchName=main :target: https://dev.azure.com/miurahr/CodeBerg/_build/latest?definitionId=32&branchName=main

.. image:: https://coveralls.io/repos/github/miurahr/pybcj/badge.svg?branch=main :target: https://coveralls.io/github/miurahr/pybcj?branch=main

In data compression, BCJ, short for Branch-Call-Jump, refers to a technique that improves the compression of machine code of executable binaries by replacing relative branch addresses with absolute ones. This allows a LZMA compressor to identify duplicate targets and archive higher compression rate.

BCJ is used in 7-zip compression utility as default filter for executable binaries.

pybcj is a python bindings with BCJ implementation by C language. The C codes are derived from p7zip, portable 7-zip implementation. pybcj support Intel/Amd x86/x86_64, Arm/Arm64, ArmThumb, Sparc, PPC, and IA64.

Development status

A development status is considered as Beta state.

Installation

As usual, you can install pybcj using python standard pip command.

.. code-block::

pip install pybcj

Alternatively, one can also use conda:

.. code-block::

conda install -c conda-forge pybcj

WARNING

  • When use it on MSYS2/Mingw64 environment, please set environment variable SETUPTOOLS_USE_DISTUTILS=stdlib to install.

License

  • Copyright (C) 2020-2022 Hiroshi Miura
  • Copyright (C) 1999-2010 Igor Pavlov

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc