New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wheelbin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wheelbin

Compile all Python files inside a wheel to bytecode files

  • 1.4.1
  • Source
  • PyPI
  • Socket score

Maintainers
1

wheelbin

wheelbin receives a wheel file and returns its compiled version, i.e. an equivalent wheel file with the Python files substituted with their corresponding Python bytecode files.

The output wheel filename reflects this compilation by fixing the Python implementation, ABI and target architecture, and it replaces the .whl extension with .bin.whl.

Additionally, Python files can be excluded from compilation by passing a wildcard expression to the --exclude option.

wheelbin is a package forked from the original pycwheel by Grant Patten.

Usage

For example, given a wheel file your_wheel-1.0.0-py3-none-any.whl and wheelbin installed on a GNU/Linux distribution under Python 3.7:

$ wheelbin your_wheel-1.0.0-py3-none-any.whl
# Output: your_wheel-1.0.0-cp37-cp37m-linux_x86_64.bin.whl

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