py37-xdis-4.0.2.tgz


Advertisement

Description

py37-xdis - Python cross-version byte-code disassembler and marshal routines

Property Value
Distribution NetBSD 7.1
Repository NetBSD amd64
Package filename py37-xdis-4.0.2.tgz
Package name py37-xdis
Package version 4.0.2
Package release -
Package architecture amd64
Package type tgz
Category devel python
Homepage https://github.com/rocky/python-xdis
License gnu-gpl-v2
Maintainer -
Download size 92.49 KB
Installed size 551.00 KB
The Python dis module allows you to disassemble bytecode from the same version
of Python that you are running on. But what about bytecode from different
versions?
That's what this package is for. It can "marshal load" Python bytecodes from
different versions of Python. The command-line routine pydisasm will show
disassembly output using Python 3.6 disassembly conventions.
Also, if you need to modfiy and write bytecode, the routines here can be of
help. There are routines to pack and unpack the read-only tuples in Python's
Code type. For interoperability between Python 2 and 3 we provide our own
versions of the Code type, and we provide routines to reduce the tedium in
writing a bytecode file.
This package also has an extensive knowledge of Python bytecode magic numbers,
including Pypy and others, and how to translate from sys.sys_info major, minor,
and release numbers to the corresponding magic value.
So If you want to write a cross-version assembler, or a bytecode-level
optimizer this package may also be useful. In addition to the kinds of
instruction categorization that dis offers, we have additional categories for
things that would be useful in such a bytecode optimizer.

Alternatives

Package Version Architecture Repository
py37-xdis-4.0.2.tgz 4.0.2 i386 NetBSD
py37-xdis - - -

Requires

Name Value
py37-click -
py37-setuptools >= 0.8
py37-six >= 1.10.0
python37 >= 3.7.0

Download

Type URL
Mirror ftp.netbsd.org
Binary Package py37-xdis-4.0.2.tgz
Source Package py37-xdis

Install Howto

Install py37-xdis tgz package:

# pkg_add py37-xdis

See Also

Package Description
py37-xlrd-1.2.0.tgz Python library to extract data from Microsoft Excel spreadsheet files
py37-xlsxwriter-1.1.8.tgz Python module for creating Excel XLSX files
py37-xlwt-1.3.0.tgz Writing data and formatting information from Excel files
py37-xmltodict-0.12.0.tgz Simplified XML parser library
py37-xopen-0.7.1.tgz Open compressed files transparently
py37-yaml-5.1.1.tgz Collection of libraries to process YAML with Python
py37-yarl-1.3.0.tgz Yet another URL library
py37-yuicompressor-2.4.8.tgz YUI Compressor packaged for Python
py37-z3-4.8.3.tgz Python bindings for the Z3 theorem prover / SMT solver
py37-zc.lockfile-1.3.0.tgz Basic inter-process locks
py37-zconfig-3.4.0.tgz Configuration library
py37-zeep-3.3.1.tgz Fast and modern Python SOAP client
py37-zipp-0.5.1.tgz Backport of pathlib-compatible object wrapper for zip files
py37-zmq-18.0.1.tgz Python bindings for zeromq
py37-zope.deferredimport-4.3.tgz Imports names that will only be resolved when used in the code
Advertisement
Advertisement