Acire 0.2 Released

I am pleased to announce the second release of my little project to browse, read, run and learn from a library of Python examples. This release brings us:

  • Examples now have syntax highlighting and use a better font for reading code.
  • An awesome new icon designed by the ever-affable Martin Owens.
  • Various bug fixes.

You can grab it from the Acire PPA by running these simple commands:

sudo add-apt-repository ppa:acire-team/acire-releases
sudo apt-get update
sudo apt-get install acire

For Acire to be in any way useful you will need to grab the Python Snippets library. Subscribe to the PPA and get a fresh batch of Python Snippets daily! Subscribe by just running these commands:

sudo add-apt-repository ppa:python-snippets-drivers/python-snippets-daily
sudo apt-get update
sudo apt-get install python-snippets

Rock and roll!

UPDATE: It turns out we had a few dependencies missing. You can fix this with:

sudo apt-get install python-gtksourceview python-gnomeprint

We will get the packaged fixed soon, but this will get you up and running. Thanks for the feedback, folks!

  • http://www.jonobacon.org/2010/01/12/call-for-help-convert-quickly-snippets-to-python-snippets/ Call For Help: Convert Quickly Snippets To Python Snippets | jonobacon@home

    [...] as easily as possible. This has including raving about the awesome Quickly and I recently wrote Acire, a simple program for viewing a library of Python Snippets that can be used to read, learn from, [...]

  • http://full-linux.com/jono-bacon-call-for-help-convert-quickly-snippets-to-python-snippets/ Jono Bacon: Call For Help: Convert Quickly Snippets To Python Snippets | Full-Linux.com

    [...] as easily as possible. This has including raving about the awesome Quickly and I recently wrote Acire, a simple program for viewing a library of Python Snippets that can be used to read, learn from, [...]

  • http://gnuosphere.wordpress.com Peter

    This looks really cool and I’d like to give it a go but I’m getting a

    ImportError: No module named gtksourceview

    from line 24 in /usr/bin/acire

  • anonymous

    Nice, but something wrong with dependencies. At least python-gtksourceview and python-gnomeprint needed in deps :)

  • http://www.ad-comp.be ADcomp

    Hello .. (and sorry for my poor english)

    I think you miss some dependencies for “acire” ..

    “” david@david-desktop:~$ acire Traceback (most recent call last): File “/usr/bin/acire”, line 24, in import gtksourceview ImportError: No module named gtksourceview “” -> sudo apt-get install python-gtksourceview

    “” david@david-desktop:~$ acire Traceback (most recent call last): File “/usr/bin/acire”, line 24, in import gtksourceview ImportError: could not import gnomeprint

    “” -> sudo apt-get install python-gnomeprint

    ok , now it works fine :)

    Thanks.

  • http://www.ubuntugeek.com/acire-browse-python-code-snippets-quickly-and-easily.html Acire – Browse Python code snippets quickly and easily | Ubuntu Geek

    [...] Acire is a simple little tool that provides a library of Python examples called snippets that outline how to do specific taks. With each snippet you can browse the code, run it and otherwise learn how it works in order to help you get to grips with writing your own programs as quickly and easily as possible. [...]

  • http://techblogstoday.com/archives/12903 Acire – Browse Python code snippets quickly and easily | TechBlogs Today

    [...] Acire is a simple little tool that provides a library of Python examples called snippets that outline how to do specific taks. With each snippet you can browse the code, run it and otherwise learn how it works in order to help you get to grips with writing your own programs as quickly and easily as possible. [...]

  • http://reddit.com/user/aperson Zach

    I think you’re missing some more dependencies.

    Gtk-Message: Failed to load module “canberra-gtk-module”

  • http://reddit.com/user/aperson Zach

    Also: ImportError: No module named vte

    Let me know if you ever switch to qt or create a package that knows its dependencies – I’d really like to use it, but don’t want to have a bunch of orphaned packages in the even I want to uninstall.

  • http://jonathancarter.co.za Jonathan Carter

    Just installed it, nice app! Thanks!

  • http://www.incerteza.org/blog/ matias

    hi! im still learning python and i have to say this is an amazing application! very usefull! for those who know and for those who are still learning! I have a small library of small and simple python snippets that is growing during my studies (like some math functions and data structures), maybe i submit them! I saw in your about page that you came to FISL, im from porto alegre / brasil, cool!

  • http://techspalace.blogspot.com Tehcs Palace

    I main use vim and geany but this is something I must try in near future.

    Regards, { (Not Only Ubuntu Blog) http://techspalace.blogspot.com }

  • jono

    It would be awesome if you could submit your snippets!

  • http://thejungleonline.wordpress.com/2010/01/13/acire-browse-python-code-snippets-quickly-and-easily/ Acire – Browse Python code snippets quickly and easily « The Jungle Online

    [...] by thejungleonline in Ubuntu. Leave a Comment Acire is a simple little tool that provides a library of Python examples called snippets that outline how [...]

  • Krazy_Kaos

    I know it’s a noob question, but it searched and found nothing on solving my problem:

    How do I add the repositories on 9.04 (add-apt-repository is only on Karmic)

    I’d love to try it out.

  • http://topsy.com/tb/bit.ly/5eOgAi Tweets that mention Acire 0.2 Released | jonobacon@home — Topsy.com

    [...] This post was mentioned on Twitter by Jono Bacon, Planet Ubuntu, Outhai SAIOUDOM, Daniel Holm, hetdegon and others. hetdegon said: http://bit.ly/77gU53 – A library of python snippets? Sounds odd, but somewhat interesting. [...]

  • jono

    Sorry, we only support Karmic right now. :-(

  • JoeZ99

    Any chances to have it working on ubuntu hardy )8.04)

  • Krazy_Kaos

    Thanx anyway jono. BTW isn’t there any other way (install from source) I can get this running on Jaunty? (I only have Karmic on the EEEPC and it’s a pain to code (play) there…. it’s a good divx player nonetheless)

  • motondo

    Jono,

    This is a great tool and help for me.

    Thank You

  • http://www.jonobacon.org/2010/01/14/application-indicators-rocking-the-house/ Application Indicators Rocking The House | jonobacon@home

    [...] for people I have added it to python-snippets which you can of course enjoy using my little Acire tool that I blogged about recently. If you want to give it a go, I recommend you use it with [...]

  • Michael Kanis

    Seems to be a nice tool, I’d like to give it a shot, but I can’t find any source download. Are there only deb packages or is it possible to get the source somewhere for those of us who don’t use Ubuntu? Thanks

  • Russell Dickenson

    Surely there was a more multi-distro-friendly way to implement this? I’m thinking of perhaps taking advantage of the Class Browser plugin for gedit? I admit it might be a “hack”, formatting the snippets in a pseudo-sourcecode file so that they’re recognised by gedit as such. In this way you could easily cut-and-paste code from one tab into another, also make use of the Python console plugin for gedit. Of course all this would be gedit-specific, but at least it wouldn’t be Ubuntu specific. Note that I don’t have anything against Ubuntu, and this is a great idea, but to get the best result I think requires encouraging input from those outside the Ubuntu community.

  • http://www.rickwagner.blogspot.com Rick

    Thanks! I installed on Lucid Lynx, it worked right out of the box. Excellent idea, I’m going to give Acire a shout-out on my blog (www.rickwagner.blogspot.com).

    Great idea, thanks for providing Acire!

    Rick

  • Dustin Dorroh

    Replace ‘python-gtksourceview’ with ‘python-gtksourceview2′ which is the newest package. Next time just use tab completion. so the full command is:

    sudo apt-get install python-gtksourceview2 python-gnomeprint

  • http://sciunto.wordpress.com Spip

    Hi,

    Is it possible to have tarballs on your launchpad project manager in order to package your software in some other distributions?

    Many thanks.

  • Luis_javier_perez_alvarez

    Any intention to make it cross platform? Where are the Windows binary installers?

    Thanks and best regards

  • c++ version

    nice project and it inspired me to create a c++ version.  i did use a qtextbrowser but it doesn’t have a syntax highlighting feature. how can you do the highlighting? did you hand coded it by deriving a text area or is there a ready widget?

  • c++ version

    nice project and it inspired me to create a c++ version.  i did use a qtextbrowser but it doesn’t have a syntax highlighting feature. how can you do the highlighting? did you hand coded it by deriving a text area or is there a ready widget?

  • c++ version

    nice project and it inspired me to create a c++ version.  i did use a qtextbrowser but it doesn’t have a syntax highlighting feature. how can you do the highlighting? did you hand coded it by deriving a text area or is there a ready widget?

  • Ryan

    lol, C++.