Git Product home page Git Product logo

pyd's Introduction

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 versioning schemes, I only pay attention to the front end version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.