File tree Expand file tree Collapse file tree 9 files changed +89
-9
lines changed Expand file tree Collapse file tree 9 files changed +89
-9
lines changed Original file line number Diff line number Diff line change @@ -43,5 +43,8 @@ output/*/index.html
4343# Sphinx
4444docs /_build
4545
46+ # PyCharm
47+ .idea
48+
4649# Filebrowser examples database
4750examples /filebrowser /filebrowser.sqlite
Original file line number Diff line number Diff line change 1+ =============
2+ datagrid_gtk3
3+ =============
4+
5+ .. image :: https://semaphoreci.com/api/v1/projects/bd20f827-7591-4c58-87bb-e9235fdb9a0a/422070/shields_badge.svg
6+ :target: https://semaphoreci.com/nowsecure/datagrid-gtk3
7+
8+ .. image :: https://coveralls.io/repos/nowsecure/datagrid-gtk3/badge.svg
9+ :target: https://coveralls.io/r/nowsecure/datagrid-gtk3
10+
11+
12+ SYNOPSIS
13+ ========
14+
15+ MVC framework for working with the Gtk3 TreeView widget.
16+ Includes classes for file browsing and displaying SQLite databases.
17+
18+
19+ MOTIVATION
20+ ==========
21+
22+ Created on the account of the reoccurring need to display and interact with
23+ contents of SQLite databases in Gtk applications.
Original file line number Diff line number Diff line change 11.. :changelog:
22
33 History
4- -------
4+ =======
55
660.1.2 (2015-04-28)
7- ---------------------
7+ ------------------
88
99* Initial public release.
Original file line number Diff line number Diff line change 33 You can adapt this file completely to your liking, but it should at least
44 contain the root `toctree` directive.
55
6- Welcome to datagrid-gtk3's documentation!
7- ======================================
6+ .. include :: ../DESCRIPTION.rst
87
9- Contents:
8+ Contents
9+ ========
1010
1111.. toctree ::
1212 :maxdepth: 2
1313
14- readme
14+ screenshots
1515 installation
16+ usage
1617 contributing
1718 authors
1819 history
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
2+ Screenshots
3+ ===========
4+
5+ "Chinook" example
6+ -----------------
7+
8+ .. figure :: screenshots/table_view.png
9+ :alt: Table view
10+
11+ Displaying a table from an SQLite database with text filtering.
12+
13+ .. figure :: screenshots/date_ranges.png
14+ :alt: Date ranges.
15+
16+ Displaying a table from an SQLite database with date range filtering.
17+
18+
19+ "Filebrowser" example
20+ ---------------------
21+
22+ .. figure :: screenshots/icon_view.png
23+ :alt: Icon view
24+
25+ Browsing the file system in icon view mode with thumbnails.
26+
27+
28+ "Selectable" example
29+ --------------------
30+
31+ .. figure :: screenshots/row_selection.png
32+ :alt: Row selection
33+
34+ Persistent row selection in SQLite databases.
Original file line number Diff line number Diff line change 1+
2+ Usage
3+ =====
4+
5+ The basic usage scenario looks like this:
6+
7+ .. code-block :: python
8+
9+ win = Gtk.Window()
10+
11+ data_source = SQLiteDataSource(db_path, table_name)
12+ datagrid_container = DataGridContainer(win)
13+ controller = DataGridController(datagrid_container, data_source)
14+ datagrid_container.grid_vbox.reparent(win)
15+
16+ win.show()
17+
18+
19+ For more advanced usages see the example applications in the "examples" folder.
Original file line number Diff line number Diff line change 1- # wheel= =0.23.0
1+ wheel > =0.23.0
22python-dateutil >= 2.4.2
33sqlalchemy >= 0.9
44Pillow >= 2.7.0
Original file line number Diff line number Diff line change 99SETUP_DIR = os .path .dirname (os .path .realpath (__file__ ))
1010EGG_RE = re .compile ('#egg=([^#@\n ]+)' )
1111
12- readme = open (os .path .join (SETUP_DIR , 'README .rst' )).read ()
12+ readme = open (os .path .join (SETUP_DIR , 'DESCRIPTION .rst' )).read ()
1313history = open (
1414 os .path .join (
1515 SETUP_DIR , 'HISTORY.rst' )).read ().replace ('.. :changelog:' , '' )
@@ -72,6 +72,7 @@ def recurse_data_files(path):
7272setup (
7373 name = 'datagrid_gtk3' ,
7474 version = '0.1.2' ,
75+ license = 'MIT' ,
7576 description = 'MVC framework for working with the GTK3 TreeView widget.' ,
7677 long_description = readme + '\n \n ' + history ,
7778 author = 'NowSecure' ,
You can’t perform that action at this time.
0 commit comments