Python Forum

Full Version: trac programming
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I've been using trac for my latest project. (It's a wiki based ticket tracking system written in Python). It's written in Python, and there is a Python package named trac you can import if trac is installed. You can apparently use the trac package to automate creating tickets and other things. However, I cannot for the life of me find any documentation on how to actually use the package to do such things. The documentation in the package is incredibly obtuse, I can't find anything in the TracGuide about it, and web searches either come up with programming trac itself or an old programming language named trac.

Does anyone have any information on how to use the trac package to expand/modify a particular trac environment?
I can't find anything in the TracGuide about using the Python package. The closest it seems to get is the command line tool, but that's not the same thing.

Edit: I think I found some stuff under TracDev. I'll poke around there some more.
Sorry I didn't look at it, just forwarded the link

Is this of any help: https://trac-hacks.org/wiki/TracDeveloperPlugin
or this
https://trac.edgewall.org/wiki/TracDev/C...chitecture
(Jan-18-2017, 06:26 PM)Larz60+ Wrote: [ -> ]or this
https://trac.edgewall.org/wiki/TracDev/C...chitecture

Yeah, that's what I found on TracDev that looks useful. There was also an article on accessing the wiki, although the procedure seems odd: make an instance of the WikiPage class with the title of the page you want to load, and then use a method of that object to load the information from the page. But it looked like there was good information there that I could use to figure it out. I've got a long weekend this week, so I'll see if I can work on it then.