473,669 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ANN: PySmell v0.6 released

I'm happy to announce PySmell v0.6, an autocompletion library for
Python and Vim (other editors pending).

New features include:

* Import statement completion
* Support for multiple TAGS files (that means external libraries)
* Support for analysing Python 2.4-2.5 stdlib.

Plus many bugfixes and minor improvements.

Download link: http://orestis.gr/static/downloads/pysmell-0.6.tgz
Github: http://github.com/orestis/pysmell
TODO: http://github.com/orestis/pysmell/wikis/todo

What is PySmell?
=============== =

PySmell is a python IDE completion helper.

It tries to statically analyze Python source code, without executing it,
and generates information about a project's structure that IDE tools can
use.

The first target is Vim, because that's what I'm using and because its
completion mechanism is very straightforward .

Download and Installation
=============== ==========

PySmell's code is available at
[GitHub](http://github.com/orestis/pysmell/tree/v0.6). You can click
'Download' to get it as a zip/tar if you don't have git installed.

Extract and drop the pysmell package somewhere in your `PYTHONPATH`.
Distutils support coming soon - patches welcome!

Usage
=====

To generate a PYSMELLTAGS file, use:

cd /root/of/project /dir/of/pysmell.py .

If you want to specifically include or exclude some files or directories
(eg. tests), you can use:

/dir/of/pysmell.py [Package Package File File ...] [-x Excluded
Excluded ...]

Check for more options by invoking `pysmell.py` without any arguments

Vim integration
===============

To use PySmell omnicompletion from inside Vim, you have to have:

1. Python support
2. The pysmell package in your PYTHONPATH (sometimes
Vim is silly about this)
3. Source pysmell/pysmell.vim
4. `:set omnifunc=pysmel l#Complete` Note: If you want to always use
pysmell for
python, do: `autocmd FileType python set omnifunc=pysmel l#Complete`
5. [OPTIONAL] Select a matcher of your liking - look at pysmell.vim for
options. Eg: `:let g:pysmell_match er='camel-case'`

You can then use ^X^O to invoke Vim's omnicompletion.
You can find more documentation in the README.markdown file.

Orestis Markou
--
or*****@orestis .gr
http://orestis.gr/


Oct 13 '08 #1
0 1084

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1278
by: Alexander DEJANOVSKI | last post by:
JyRetic 1.0RC3 was just released. (http://retic.sourceforge.net) Changes are (I might have forgotten some bug fixes): - Bug fix : Scheduled events didn't work if no parameter file was required - Improvement : Speeded up SQL source when there were several records to extract (~x10) - Improvement : since JDBC drivers return rowcount on query execution, there's no need
6
1391
by: Chad Z. Hower aka Kudzu | last post by:
I debated over whether or not to post this on the .ann group or not. Its not an announcement as I am really looking for feedback only on the asp.net relative portions. This does of course require the user visit web pages about a product for ASP.net. We have recently released an ASP.net related product. I say released - but it has not been launched yet (Thats what Cebit is for!). We are in the stages now of preparing whitepapers,...
0
1652
by: YellowFin Announcements | last post by:
Security solutions provider EXTOL MSC Berhad has developed a neural network predictive analysis engine and is now working with Australian business intelligence company Yellowfin to develop a front end that is integrated with Yellowfin's reporting, that can be delivered to clients. Under the tie up, Yellowfin will make the new engine called "Artificial Neural Networks" (ANN) available with its business intelligence solution for local and...
5
2325
by: =?ISO-8859-1?Q?Gerhard_H=E4ring?= | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 pysqlite 2.5.0 released ======================= I'm pleased to announce the availability of pysqlite 2.5.0. This is a release with major new features. Go to http://pysqlite.org/ for downloads, online documentation and
0
1272
by: Wingware | last post by:
Hi, Wingware has released version 3.1.4 of Wing IDE. This bug fix release is available for all three product levels of Wing IDE. *Release Highlights* This release includes the following: * Debugger support for Python 2.6
0
1071
by: Fuzzyman | last post by:
Mock 0.4.0 has just been released, the first release in about ten months (but worth the wait). Mock is a simple library for testing: specifically for mocking, stubbing and patching. * Mock Homepage & Documentation http://www.voidspace.org.uk/python/mock.html * mock.py (module only) <http://www.voidspace.org.uk/downloads/mock.py * mock-0.4.0.zip (module, tests and documentation) <http:// www.voidspace.org.uk/downloads/mock-0.4.0.zip
5
1486
by: Paul McGuire | last post by:
I've just uploaded to SourceForge and PyPI the latest update to pyparsing, version 1.5.1. It has been a couple of months since 1.5.0 was released, and a number of bug-fixes and enhancements have accumulated in SVN, so time for a release! Here's what's new in Pyparsing 1.5.1: - Added __dir__() methods to ParseBaseException and ParseResults, to support new dir() behavior in Py2.6 and Py3.0. If dir() is called on a ParseResults object,...
0
1093
by: Orestis Markou | last post by:
I'm very proud to announce the release of PySmell v0.7! PySmell is an auto-completion library for Python, meant to be plugged in different editors. It uses static analysis to generate a TAGS file for your code, and uses that to give you suggestions. It's very fast - suggestions are instantaneous and analyzing Django 1.0 takes ~15 seconds. Download from PyPI: http://pypi.python.org/pypi/pysmell/
0
1721
by: Orestis Markou | last post by:
I'm very proud to announce the release of PySmell v0.7.2, now with extra goodness. Changes: * TextMate's dialog no longer errors when dealing with a huge number of entries. * New --input allows mutation of existing PYSMELLTAGS file; useful to run after a file is saved * Analyze the current file when detecting completion type; more up-
0
8462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8382
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8893
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8586
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7405
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2792
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1787
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.