Skip to main content

Goes all J. Edgar Hoover on your code.

Project description

XDress is an automatic wrapper generator for C/C++ written in pure Python. Currently, xdress may generate Python bindings (via Cython) for C++ classes & functions and in-memory wrappers for C++ standard library containers (sets, vectors, maps). In the future, other tools and bindings will be supported.

The main enabling feature of xdress is a dynamic type system that was designed with the purpose of API generation in mind.

Go here for the latest version of the docs!

Contents

tutorial libref/index previous/index other/index faq authors

Installation

Since xdress is pure Python code, the pip or easy_install may be used to grab and install the code:

$ pip install xdress

$ easy_install xdress

The source code repository for xdress may be found at the GitHub project site. You may simply clone the development branch using git:

git clone git://github.com/scopatz/xdress.git

Dependencies

XDress currently has the following external dependencies,

Run Time:

  1. pycparser, optional for C

  2. GCC-XML, optional for C++

  3. lxml, optional (but nice!)

Compile Time:

  1. Cython

  2. NumPy

Examples of Use

To see examples of xdress in action (and sample run control files), here are a few places to look:

  • xdress/tests: This is a fully functioning sample project which uses xdress locally (no install needed).

  • PyNE: This uses xdress to generate STL container wrappers.

  • Bright: This uses xdress to automatically wrap a suite of interacting C++ class. This was the motivating use case for the xdress project.

Contact Us

If you have questions or comments, please send them to the mailing list xdress@googlegroups.com or contact the author directly or open an issue on GitHub.

Contributing

We highly encourage contributions to xdress! If you would like to contribute, it is as easy as forking the repository on GitHub, making your changes, and issuing a pull request. If you have any questions about this process don’t hesitate to ask the mailing list (xdress@googlegroups.com).

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

xdress-0.2.tar.gz (72.4 kB view details)

Uploaded Source

File details

Details for the file xdress-0.2.tar.gz.

File metadata

  • Download URL: xdress-0.2.tar.gz
  • Upload date:
  • Size: 72.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdress-0.2.tar.gz
Algorithm Hash digest
SHA256 57405676ddb44eb5de854a3decc1ecac5b4f0fc672f16254aab89544c8efa0af
MD5 d25cd7820a097eff0eced5e9a42a374d
BLAKE2b-256 920455a838df28d8747c32d48494504376c8496367214bb7af83f76395fed52a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page