pyd 0.10.5

Pyd is a library for the D programming language that wraps the raw Python/C API with a cleaner, simpler interface.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

This package provides sub packages which can be used individually:

pyd:setup - Copy the environment setup files to the calling directory

![build-status-badge] ![docs-badge] ![pypi-version] ![license-badge]

PyD

PyD provides seamless interoperability between Python and the D programming language.

Usage

To use with dub, either specify the relevant subConfiguration for your python version, or run source pyd_set_env_vars.sh <your python> on linux or pyd_set_env_vars.bat <your python> on windows to set the relevant environment variables and use the env subConfiguration.

These scripts can be run from any directory, but to facilitate using PyD as a dependency pulled from the dub registry you can run dub run pyd:setup to copy them to the current directory for use, e.g. given you are in the current directory of a package that depends on pyd, run dub run pyd:setup followed by source pyd_set_env_vars.sh, then build your package as normal.

Requirements

Python

CPython 2.6+

D Compilers

  • DMD, LDC fe2.065+
  • GDC fe2.065+, embedding only (GDC still doesn't have shared library support!)

Note all D compilers are based on DMD's front end, so while LDC and GDC have their own verisoning schemes, I only pay attention to the front end version.

Authors:
  • Kirk McDonald
Sub packages:
pyd:setup
Dependencies:
none
Versions:
0.10.5 2018-Nov-09
0.10.4 2018-Oct-31
0.10.3 2018-Oct-29
0.10.2 2018-Sep-20
0.10.1 2018-Sep-20
Show all 21 versions
Download Stats:
  • 26 downloads today

  • 128 downloads this week

  • 592 downloads this month

  • 23710 downloads total

Score:
4.3
Short URL:
pyd.dub.pm