Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interoperability between Python and D

License

NotificationsYou must be signed in to change notification settings

ariovistus/pyd

Repository files navigation

build-status-badgedocs-badgepypi-versionlicense-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 runsource pyd_set_env_vars.sh <your python> on linux orpyd_set_env_vars.bat <your python> on windows to set the relevant environment variablesand use theenv subConfiguration.

These scripts can be run from any directory, but to facilitate using PyD as a dependencypulled from the dub registry you can rundub run pyd:setup to copy them to the currentdirectory for use, e.g. given you are in the current directory of a package that dependson pyd, rundub run pyd:setup followed bysource pyd_set_env_vars.sh, then buildyour 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 havetheir own versioning schemes, I only pay attention to the front end version.

About

Interoperability between Python and D

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors21


[8]ページ先頭

©2009-2026 Movatter.jp