Server Help

ASSS Questions - PYTHON support

Helicon - Sun Apr 06, 2003 8:33 pm
Post subject: PYTHON support
I remember Gremlinar mentioning updating to PYTHON module support... is this project currently in motion? I understand PYTHON has an excellent C API which would probably make this much easier.
Just checking in...

If there is absolutely no one working this please let me know, and I will*attempt* to begin cracking on it
Mine GO BOOM - Sun Apr 06, 2003 10:28 pm
Post subject:
Grel loves python, and i'll bet he'll support it before its finished for mass use. Remember, college is still in. Once college lets out, both him and i will be able to add more useless junk only 2 people would ever use.
Grelminar - Mon Apr 07, 2003 12:59 am
Post subject:
I don't really like it that much. I like certain things about it, and others make me cringe. I'd much prefer to make Scheme the official extension language. But I have to consider my intended audience here.
Anonymous - Mon Apr 07, 2003 9:20 am
Post subject:
ptyhon is so simple, and its actually a preffered teaching language $$$
Helicon - Mon Apr 07, 2003 4:25 pm
Post subject:
Scheme is nice, but even less mainstream than PYTHON, your target audience considered, i would have to ask you to seriously consider PYTHON.

A side quetion: you make use of PYTHON script within the server to load the cfg, i believe (i galnced over them). Have you compiled any extension modules for that purpose? Also, at what points in the software does the program flow to PYTHON?

I am currently researching and pseudo-coding the module for PYTHON in ASSS. Please let me know if there are any portions of this project you believe are crucial as part of the ASSS whole. As always, i can make no promises, but I believe messing with the PYTHON/ C API will keep me sufficiently enthralled. icon_smile.gif More than likely what i will end up with is a c module that makes use of a python script... until i bucker up and do it right
nintendo64 - Mon Apr 07, 2003 9:27 pm
Post subject:
I agree with Python Support, i am not fluent in C or C++, python support will be a Plus here.

-nintendo64
Grelminar - Tue Apr 08, 2003 2:52 am
Post subject:
There's no python code in the server now. The few scripts there are only for processing things into C code that gets compiled into the server. Nothing at run time. Config files are processed by stuff written in C (app.c and config.c).

The big exception is the billing proxy, to connect to old (subbill or compatible) billers. That's written in python (only), and runs in a completely separate process from the server.

Feel free to start working on python extensions. If I like it, I might decide to include it. Be warned, though, I'm going to be pretty picky about this sort of thing, because I want it to be done right. Once it's done right, though, I'll probably start rewriting some of the simpler modules in python.
Helicon - Tue Apr 08, 2003 4:22 pm
Post subject:
thats why i asked... i assumed i was not the one for the job, but i can't help but tinker with the idea. I can't make you "happy", so to speak, but i think i will mess around anyway. thanks for the info
Grelminar - Thu Jul 31, 2003 1:03 am
Post subject:
Quick update on this: the 1.1.0 release does have python module support. You can't do everything you can do with a C module, but you can do a lot, and it's much easier to do it than to write the equivalent in C. There are no sample modules yet.

If anyone tries it, let me know what features that you want to use are missing so I can start thinking about how to add them.
Helicon - Sat Sep 13, 2003 12:02 pm
Post subject:
excellent
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group