py27-xdis-4.0.2.tgz


Advertisement

Description

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

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename py27-xdis-4.0.2.tgz
Package name py27-xdis
Package version 4.0.2
Package release -
Package architecture i386
Package type tgz
Category devel python
Homepage https://github.com/rocky/python-xdis
License gnu-gpl-v2
Maintainer -
Download size 89.52 KB
Installed size 616.42 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
py27-xdis-4.0.2.tgz 4.0.2 amd64 NetBSD
py27-xdis - - -

Requires

Name Value
py27-click -
py27-setuptools >= 0.8
py27-six >= 1.10.0
python27 >= 2.7.1nb2

Download

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

Install Howto

Install py27-xdis tgz package:

# pkg_add py27-xdis

See Also

Package Description
py27-xlrd-1.2.0.tgz Python library to extract data from Microsoft Excel spreadsheet files
py27-xlsxwriter-1.1.8.tgz Python module for creating Excel XLSX files
py27-xlwt-1.3.0.tgz Writing data and formatting information from Excel files
py27-xml-0.8.4nb5.tgz Collection of libraries to process XML with Python
py27-xmlsec-0.3.1nb3.tgz Python bindings for XMLSec Library
py27-xmltodict-0.12.0.tgz Simplified XML parser library
py27-xmpppy-0.5.0rc1nb3.tgz XMPP (Jabber) library for Python
py27-xopen-0.7.1.tgz Open compressed files transparently
py27-yamcha-0.33nb1.tgz YamCha python module
py27-yaml-5.1.1.tgz Collection of libraries to process YAML with Python
py27-yara-3.7.0.tgz Yara python bindings
py27-yenc-0.4.0.tgz Python module for yenc decoding module in C
py27-yubiauth-0.3.9.tgz YubiAuth authentication backend
py27-yuicompressor-2.4.8.tgz YUI Compressor packaged for Python
py27-z3-4.8.3.tgz Python bindings for the Z3 theorem prover / SMT solver
Advertisement
Advertisement