Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68793 > unrolled thread

Help needed to create a Python extension library for an existing shared memory hash table library

Started bySimon Hardy-Francis <simonhf@gmail.com>
First post2014-03-22 13:45 -0700
Last post2014-03-23 06:40 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Help needed to create a Python extension library for an existing shared memory hash table library Simon Hardy-Francis <simonhf@gmail.com> - 2014-03-22 13:45 -0700
    Re: Help needed to create a Python extension library for an existing shared memory hash table library jt@toerring.de (Jens Thoms Toerring) - 2014-03-23 13:07 +0000
      Re: Help needed to create a Python extension library for an existing shared memory hash table library Rustom Mody <rustompmody@gmail.com> - 2014-03-23 06:40 -0700

#68793 — Help needed to create a Python extension library for an existing shared memory hash table library

FromSimon Hardy-Francis <simonhf@gmail.com>
Date2014-03-22 13:45 -0700
SubjectHelp needed to create a Python extension library for an existing shared memory hash table library
Message-ID<ba423f7b-dd9a-49d0-a37a-9fe51541fe16@googlegroups.com>
Hi Python fans, I just released my first open source project ever called SharedHashFile [1]. It's a shared memory hash table written in C. Some guy on Quora asked [2] whether there's an extension library for Python coming out. I would like to do one but I know little about Python. I was wondering if anybody in this group has experience writing extension libraries for Python? Could you help? Or could we collaborate? Thanks and all the best, Simon

[1] https://github.com/simonhf/sharedhashfile
[2] http://www.quora.com/Inter-Process-Communication-1/Whats-a-good-library-to-share-a-key-value-store-across-multiple-processes-through-shared-memory

[toc] | [next] | [standalone]


#68806

Fromjt@toerring.de (Jens Thoms Toerring)
Date2014-03-23 13:07 +0000
Message-ID<bp84jtFpbfuU1@mid.uni-berlin.de>
In reply to#68793
Simon Hardy-Francis <simonhf@gmail.com> wrote:
> Hi Python fans, I just released my first open source project ever called
> SharedHashFile [1]. It's a shared memory hash table written in C. Some guy
> on Quora asked [2] whether there's an extension library for Python coming
> out. I would like to do one but I know little about Python. I was wondering
> if anybody in this group has experience writing extension libraries for
> Python?

There are, as far as I know, a number of tools that can help you
to create extension modules from C/C++ libraries (i.e. Python bin-
dings for the library). One that I have used successfully with a
largish C++ library of mine is shortly described here

http://www.riverbankcomputing.com/software/sip/intro

and the documentation and download are at

http://pyqt.sourceforge.net/Docs/sip4/
http://www.riverbankcomputing.com/software/sip/download

Since I haven't used any of the alternatives I can't comment on
how good they are. A list of them can be found here

https://wiki.python.org/moin/IntegratingPythonWithOtherLanguages

                               Regards, Jens
-- 
  \   Jens Thoms Toerring  ___      jt@toerring.de
   \__________________________      http://toerring.de

[toc] | [prev] | [next] | [standalone]


#68807

FromRustom Mody <rustompmody@gmail.com>
Date2014-03-23 06:40 -0700
Message-ID<c0ce1362-817b-4095-9c2e-f9334a0e7702@googlegroups.com>
In reply to#68806
On Sunday, March 23, 2014 6:37:11 PM UTC+5:30, Jens Thoms Toerring wrote:
> Simon Hardy-Francis  wrote:
> > Hi Python fans, I just released my first open source project ever called
> > SharedHashFile [1]. It's a shared memory hash table written in C. Some guy
> > on Quora asked [2] whether there's an extension library for Python coming
> > out. I would like to do one but I know little about Python. I was wondering
> > if anybody in this group has experience writing extension libraries for
> > Python?

> There are, as far as I know, a number of tools that can help you
> to create extension modules from C/C++ libraries (i.e. Python bin-
> dings for the library). One that I have used successfully with a
> largish C++ library of mine is shortly described here

> http://www.riverbankcomputing.com/software/sip/intro

> and the documentation and download are at

> http://pyqt.sourceforge.net/Docs/sip4/
> http://www.riverbankcomputing.com/software/sip/download

> Since I haven't used any of the alternatives I can't comment on
> how good they are. A list of them can be found here

> https://wiki.python.org/moin/IntegratingPythonWithOtherLanguages

Thats an old looking list -- pyrex is on, boost is not
Worst of all the basic builting extending/embedding seems to be
not mentioned!

Heres a list I posted recently
https://mail.python.org/pipermail/python-list/2013-June/650250.html

If it looks ok, maybe it should go up on that wiki

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web