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, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
This package provides sub packages which can be used individually:
pyd:setup - Copy the environment setup files to the calling directory
PyD provides seamless interoperability between Python and the D programming language.
To use with dub, either specify the relevant subConfiguration for your python version,
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
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.
- 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 versioning schemes, I only pay attention to the front end version.
- Registered by [email protected]
- 0.14.2 released a year ago
- Sub packages:
0.14.4 2023-May-11 0.14.3 2022-Mar-12 0.14.2 2022-Jan-22 0.14.1 2021-May-17 0.14.0 2020-Dec-19
- Download Stats:
53 downloads today
263 downloads this week
950 downloads this month
361919 downloads total
- Short URL: