GithubHelp home page GithubHelp logo

mgedmin / pywin32-ctypes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaraco/pywin32-ctypes

0.0 3.0 0.0 183 KB

A limited subset of pywin32 re-implemented using ctypes (or cffi)

License: Other

Batchfile 1.31% Shell 8.27% Python 90.41%

pywin32-ctypes's Introduction

https://travis-ci.org/enthought/pywin32-ctypes.png https://ci.appveyor.com/api/projects/status/o4e4fou54p525afd/branch/master?svg=true https://codecov.io/github/enthought/pywin32-ctypes/coverage.svg?branch=master Documentation Status

A reimplementation of pywin32 that is pure python. The default behaviour will try to use cffi (>= 1.3.0), if available, and fall back to using ctypes. Please note that there is no need to have a compiler available on installation or at runtime.

Usage

Example:

# Equivalent to 'import win32api' from pywin32.
from win32ctypes.pywin32 import win32api

win32api.LoadLibraryEx(sys.executable, 0, win32api.LOAD_LIBRARY_AS_DATAFILE)

Note

Currently pywin32ctypes implements only a very small subset of pywin32, for internal needs at Enthought. We do welcome additional features and PRs, though.

Development setup

The following should be good enough:

pip install -r dev_requirements.txt
python install -e

Note

  • While pywin32-ctypes should regularly be tested on windows, you can also develop/test on unix by using wine (see travis-ci configuration to set it up).

pywin32-ctypes's People

Contributors

itziakos avatar cournape avatar

Watchers

Marius Gedminas avatar James Cloos avatar  avatar

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.