forked from uvemas/ViTables
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
544 additions
and
768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,40 @@ | ||
|
||
.. raw:: pdf | ||
PageBreak appendixPage | ||
.. _appendix-a: | ||
|
||
About Plugins | ||
============= | ||
|
||
Since version 2.1 *ViTables* has a simple but powerful plugins framework. | ||
|
||
If you are interested in writing plugins the next paragraphs can be of utility. If not you can skip to the list of available plugins. | ||
|
||
Plugins live in the plugins subdirectory of the root directory where the source code is installed. A plugin can be a pure Python module | ||
or can have a package structure (i.e. a directory with a :mod:`__init__.py` file). Packages can have as many directories as you want but | ||
plugins must be located at top level of the package. | ||
|
||
The use of contracts is not enforced when writing plugins so you have nearly complete freedom for writing them. Nevertheless a plugin must | ||
declare the following variables. :const:`plugin_class` which is set to the name of the class invoqued when your plugin is executed by *ViTables*, | ||
:const:`plugin_name` which is set to the descriptive name of the plugin and will be used in the Plugins page of the Preferences dialog and, | ||
finally, :const:`comment` which is set to a short description of the plugin and will be used too in the Plugins page of the Preferences dialog. | ||
|
||
In some cases it can be useful to use convenience variables or methods. For instance, suppose than in the Preferences dialog you want to show a | ||
more complete description of your plugin that that provided by the :const:`comment` variable. Then you may be interested in define a method | ||
:meth:`!helpAbout` in your plugin. | ||
|
||
Of course some knowledge (not necessarily a deep one) of the *ViTables* code is required in order to bind your plugin to the application core. | ||
This task is commonly achieved via the menu bar of the main window or via the signals/slots mechanism (convenience signals can be defined in | ||
the application if needed). | ||
|
||
If you need more help just send an email to developers or ask to the *ViTables* Users' Group. | ||
|
||
Three plugins are currently distributed along with the application: | ||
|
||
Time series | ||
formats time series in a human friendly way. It supports PyTables time datatypes and PyTables time series created via scikits.timeseries | ||
module. The format used for displaying times can be configured by user via the Preferences dialog or editing by hand the | ||
:file:`time_format.ini` configuration file. | ||
|
||
Import CSV | ||
provides import capabilities from :abbr:`CSV` files into PyTables datasets. | ||
|
||
Export CSV | ||
provides export capabilities of PyTables datasets to :abbr:`CSV` files. | ||
|
||
.. raw:: pdf | ||
PageBreak appendixPage | ||
.. _appendix-a: | ||
|
||
About Plugins | ||
+++++++++++++ | ||
|
||
Since version 2.1 `ViTables` has a simple but powerful plugins framework. | ||
|
||
If you are interested in writing plugins the next paragraphs can be of utility. If not you can skip to the list of available plugins. | ||
|
||
Plugins live in the plugins subdirectory of the root directory where the source code is installed. A plugin can be a pure Python module or can have a package structure (i.e. a directory with a :mod:`__init__.py` file). Packages can have as many directories as you want but plugins must be located at top level of the package. | ||
|
||
The use of contracts is not enforced when writing plugins so you have nearly complete freedom for writing them. Nevertheless a plugin must declare the following variables. :const:`plugin_class` which is set to the name of the class invoqued when your plugin is executed by `ViTables`, | ||
:const:`plugin_name` which is set to the descriptive name of the plugin and will be used in the Plugins page of the Preferences dialog and, finally, :const:`comment` which is set to a short description of the plugin and will be used too in the Plugins page of the Preferences dialog. | ||
|
||
In some cases it can be useful to use convenience variables or methods. For instance, suppose than in the Preferences dialog you want to show a more complete description of your plugin that that provided by the :const:`comment` variable. Then you may be interested in define a method :meth:`helpAbout` in your plugin. | ||
|
||
Of course some knowledge (not necessarily a deep one) of the `ViTables` code is required in order to bind your plugin to the application core. This task is commonly achieved via the menu bar of the main window or via the signals/slots mechanism (convenience signals can be defined in the application if needed). | ||
|
||
If you need more help just send an email to developers or ask to the `ViTables` Users' Group. | ||
|
||
Five plugins are currently distributed along with the application: | ||
|
||
Time series formatter | ||
formats time series in a human friendly way. It supports PyTables time datatypes and PyTables time series created via `pandas <http://pandas.pydata.org>`_ or the obsolete scikits.timeseries module. The format used for displaying times can be configured by user via the Preferences dialog or editing by hand the :file:`time_format.ini` configuration file. | ||
|
||
CSV Importer | ||
provides import capabilities from `CSV` files into PyTables datasets. | ||
|
||
CSV Exporter | ||
provides export capabilities of PyTables datasets to `CSV` files. | ||
|
||
Tree of DBs sorting | ||
sorts the display of the databases tree. | ||
|
||
Columnar organization of arrays | ||
rearranges several arrays with the same number of rows and displays them in a unique widget. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,24 @@ | ||
The Help Browser | ||
================ | ||
|
||
*ViTables* comes with its own | ||
fully-integrated documentation browser. It allows the | ||
*ViTables* User's Guide to be browsed without | ||
leaving the current working session and without opening external | ||
applications. You can start the browser issuing the | ||
:menuselection:`Help --> User's Guide` | ||
command or from the toolbar. | ||
|
||
The help browser is a small HTML browser for | ||
*local* documents. Despite its small size it exhibits | ||
some nice features | ||
|
||
- bookmarks | ||
|
||
- session history | ||
|
||
- easy document navigation through navigation buttons | ||
|
||
A nice feature of bookmarks is that they can be navigated while they are being edited with the Bookmarks | ||
Editing dialog. Simply double click on a bookmark and it will be displayed in the browser. | ||
|
||
.. _help-browser: | ||
.. figure:: images/helpBrowser.png | ||
:width: 80% | ||
|
||
The Users' Guide browser | ||
|
||
The Help Browser | ||
++++++++++++++++ | ||
|
||
`ViTables` comes with its own fully-integrated documentation browser. It allows the `ViTables` User's Guide to be browsed without leaving the current working session and without opening external applications. You can start the browser issuing the | ||
:menuselection:`Help --> User's Guide` command or from the toolbar. | ||
|
||
The help browser is a small HTML browser for *local* documents. Despite its small size it exhibits some nice features | ||
|
||
- bookmarks | ||
|
||
- session history | ||
|
||
- easy document navigation through navigation buttons | ||
|
||
A nice feature of bookmarks is that they can be navigated while they are being edited with the Bookmarks Editing dialog. Simply double click on a bookmark and it will be displayed in the browser. | ||
|
||
.. _help-browser: | ||
.. figure:: images/helpBrowser.png | ||
:width: 80% | ||
:align: center | ||
:figclass: align-center | ||
|
||
The Users' Guide browser | ||
|
Oops, something went wrong.