Hi,
Question on how people here would design a basic plugin architecture:
I'm playing with the idea of having a pluggable system where the users can
create some simple classes which can then be accessed in a Django app.
I want to make it as __simple__ as possible for the user. Hopefully t
I'd like to announce a new project, based on straight.plugin, a
command framework that provides a declarative way to define
command-line options, sub-commands, and allows plugins from
third-parties to expand commands.
This is all very early, I'm calling this version 0.1a1 and lots of
things are mi
s
> available in Python (and some major web framework, like Pylons or Django)?
You should really look into the web framework you're using, there
probably already is some plugin architecture.
But being not content myself with the architectures I've seen or worked
with I was looking f
> I'm thinking about writing plugin-style architecture for (a new)
> web-based app (with SQLAlchemy as backend).
>
> Say, there's core web app and someone decides to write plugin Accounting
> for this web app that would work with SQA objects of the core app or
> other plugins.
>
> I found this:
>
>
Hello everyone,
I'm thinking about writing plugin-style architecture for (a new)
web-based app (with SQLAlchemy as backend).
Say, there's core web app and someone decides to write plugin Accounting
for this web app that would work with SQA objects of the core app or
other plugins.
I found
Jorge Godoy wrote:
> escalation746 wrote:
> > I have updated documentation for this on my blog, diagrammes modernes.
> > Surf:
> >http://diagrammes-modernes.blogspot.com/
>
> Your motivation looks a lot like what is solved by setuptools, eggs and
> entry points.
Though that problem domain looks d
escalation746 wrote:
> I have updated documentation for this on my blog, diagrammes modernes.
> Surf:
> http://diagrammes-modernes.blogspot.com/
Your motivation looks a lot like what is solved by setuptools, eggs and
entry points.
http://peak.telecommunity.com/DevCenter/PkgResources
http://docs.
I have updated documentation for this on my blog, diagrammes modernes.
Surf:
http://diagrammes-modernes.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list
Wojciech Mu a wrote:
> These names don't match. I replaced Valuable() with proper name,
> and everything work fine.
That was a result of a transcription error when posting to the
newsgroup. My actual test code did not have this error but
nevertheless did not work.
However, copying the code I *d
escalation746 wrote:
> def ViewValuable():
[...]
> code = """
> Hello()
> Plus()
> Valuable()
> """
These names don't match. I replaced Valuable() with proper name,
and everything work fine.
w.
--
http://mail.python.org/mailman/listinfo/python-list
faulkner wrote:
> sys._getframe(1).f_locals
Brilliant. That one's pretty well hidden and labeled "should be used
for internal and specialized purposes only". Guess I'm officially
special. :-)
To implement this with minimal requirements on the author of the
plugin, I created a function in master.
On Jul 22, 10:06 am, escalation746 <[EMAIL PROTECTED]> wrote:
> I've got a namespace query that amounts to this: How can an imported
> function see data in the parent custom namespace? I have read through
> numerous posts which skirt this issue without answering it.
>
> To illustrate, create plugin
I've got a namespace query that amounts to this: How can an imported
function see data in the parent custom namespace? I have read through
numerous posts which skirt this issue without answering it.
To illustrate, create plugin.py with a couple of functions. The second
will obviously fail.
d
On Apr 10, 10:26 pm, c james <[EMAIL PROTECTED]> wrote:
> Take a look at Trac. This might give you some ideas.
>
> http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture
Thanks cJames, that's exactly what I'm looking for.
--
http://mail.python.org/mailman/listinfo/python-list
Take a look at Trac. This might give you some ideas.
http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 6, 9:59 am, "Nate Finch" <[EMAIL PROTECTED]> wrote:
> On Apr 5, 10:57 am, [EMAIL PROTECTED] wrote:
>
> > I'm making a program that consists of a main engine + plugins. Both
> > are in Python. My question is, how do I go about importing arbitrary
> > code and have it be able to use the engi
On Apr 5, 10:57 am, [EMAIL PROTECTED] wrote:
> I'm making a program that consists of a main engine + plugins. Both
> are in Python. My question is, how do I go about importing arbitrary
> code and have it be able to use the engine's functions, classes, etc?
For a true plugi
I'm making a program that consists of a main engine + plugins. Both
are in Python. My question is, how do I go about importing arbitrary
code and have it be able to use the engine's functions, classes, etc?
First, here's how it's laid out on the filesystem:
-mainstarterscript.py
-
-__init__.py
18 matches
Mail list logo