Skip to content

Commit

Permalink
pypi version 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebig committed Jun 15, 2014
1 parent 8e66bbf commit 189f766
Show file tree
Hide file tree
Showing 7 changed files with 1,505 additions and 4 deletions.
87 changes: 87 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
Changelog
=========


2014-06-15 :
------------

* create a github project 'sqlite_bro', from 'sqlite_py_manager' baresql example

* discover how to publish on Pypi



2014-06-14c : "It's a long way to temporary !"
--------------------------------------------

* works with temporary tables



2014-06-10a : 'Sanitizer of Python (xkcd.com/327)'
------------------------------------------------

* imported python functions must be validated



2014-06-09a : 'The magic 8th PEP'
---------------------------------

* PEP8 alignement


2014-06-07a : 'Yield me a token'
--------------------------------

* the pythonic way to generate tokens is 'Yield'


2014-06-04a : 'Log me out !'
--------------------------

* export SQL + SQL top result in a file in 1 click


2014-06-01a 'Commit and Rollback'
---------------------------------

* support COMMIT and ROLLBACK


2014-06-03a : 'See me now ?'
--------------------------

* character INCREASE icon, so the back of the class can see


2014-05-25a : 'sql everywhere'
--------------------------

* make it work as low as Python 2.7 + SQlite 3.6.21


2014-05-25a : 'Assassination of Class Room
------------------------------------------

* the GUI is a Class now


2014-05-11
----------

* addition of Tooltips over icons



2014-05-06
----------

* addition of the Welcome Demo



2014-05-01
----------

* birth : need of a ZERO-requirements SQLite Browser for a Python Class
4 changes: 0 additions & 4 deletions README.md

This file was deleted.

57 changes: 57 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
sqlite_bro : a graphic SQLite browser in 1 Python file
======================================================

sqlite_bro is a tool to browse SQLite databases with
any basic python installation.


Features
--------

* Tabular browsing of a SQLite database

* Import/Export of .csv files with auto-detection

* Import/Export of .sql script

* Export of database creation .sql script

* Support of sql-embedded Python functions

* Easy to distribute : 1 Python source file, 2.7/3.3+ compatible

* Easy to start : just launch sqlite_bro

* Easy to learn : Welcome example, minimal interface

* Easy to teach : Character size, SQL + SQL result export on a click

Installation
------------

You can install, upgrade, uninstall sqlite_bro.py with these commands::

$ pip install sqlite_bro
$ pip install --upgrade sqlite_bro
$ pip uninstall sqlite_bro

or just launch it from IPython with %load https://raw.githubusercontent.com/stonebig/sqlite_bro/master/sqlite_bro.py

or just copy the file 'sqlite_bro.py' to any pc (with python installed)

Example usage
-------------

::

$ sqlite_bro
Screenshot
----------

.. image:: https://raw.githubusercontent.com/stonebig/sqlite_bro/master/docs/sqlite_bro.GIF

Links
-----

* `Fork me on GitHub <http://github.com/stonebig/sqlite_bro>`_
Binary file added docs/sqlite_bro.GIF
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.rst
54 changes: 54 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# -*- coding: utf-8 -*-
from __future__ import with_statement
from setuptools import setup


def get_version():
with open('sqlite_bro.py') as f:
for line in f:
if line.strip().startswith('self.__version__'):
return eval(line.split('=')[-1])


def get_long_description():
descr = []
for fname in 'README.rst', 'CHANGES.txt':
with open(fname) as f:
descr.append(f.read())
return '\n\n'.join(descr)


setup(
name='sqlite_bro',
version=get_version(),
description="a graphic SQLite Client in 1 Python file",
long_description=get_long_description(),
keywords='sqlite',
author='stonebig',
author_email='',
url='https://github.com/stonebig/baresql/blob/master/examples',
license='MIT license',
py_modules=['sqlite_bro'],
namespace_packages=[],
include_package_data=True,
zip_safe=False,
install_requires=[
# Nothing
],
entry_points={
'console_scripts': [
'sqlite_bro = sqlite_bro:_main',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Education',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering :: Information Analysis',
]
)
Loading

0 comments on commit 189f766

Please sign in to comment.