Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed May 4, 2016
1 parent ae7a684 commit 2d0f0cf
Show file tree
Hide file tree
Showing 36 changed files with 1,693 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/
desktop.ini
misc/README.md
misc/README_HEADER.rst
misc/readme_converter.py
sandbox/
upgrade.sh
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: python

env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34

os:
- linux

install:
- pip install tox

script:
- tox
11 changes: 11 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include LICENSE
include README.rst
include setup.cfg
include tox.ini

recursive-include docs *
recursive-include requirements *
recursive-include test *

global-exclude __pycache__/*
global-exclude *.pyc
82 changes: 82 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
sqlitebiter
=============

.. image:: https://img.shields.io/pypi/pyversions/sqlitebiter.svg
:target: https://pypi.python.org/pypi/sqlitebiter
.. image:: https://travis-ci.org/thombashi/sqlitebiter.svg?branch=master
:target: https://travis-ci.org/thombashi/sqlitebiter

Summary
-------

sqlitebiter is a CLI tool to create a SQLite database from CSV/JSON/Excel/Google-Sheets.

Features
--------

- Create a SQLite database file from:
- CSV file(s)
- JSON file(s)
- Microsoft Excel :superscript:`TM` file(s)
- `Google Sheets <https://www.google.com/intl/en_us/sheets/about/>`_

Usage
========

.. image:: docs/gif/usage_example.gif

For more information
--------------------
More examples are available at
http://sqlitebiter.readthedocs.org/en/latest/pages/examples/index.html


Installation
============

Install via pip
---------------

``sqlitebiter`` can be installed via
`pip <https://pip.pypa.io/en/stable/installing/>`__ (Python package manager).

.. code:: console
sudo pip install sqlitebiter
Dependencies
============

Python packages
---------------

Dependency python packages are automatically installed during
``sqlitebiter`` installation via pip.

- `click <http://click.pocoo.org/>`__
- `DataPropery <https://github.com/thombashi/DataProperty>`__
- `path.py <https://github.com/jaraco/path.py>`__
- `SimpleSQLite <https://github.com/thombashi/SimpleSQLite>`__

Google Sheets dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Google Sheets dependency packages are required some manual installation.

- `oauth2client <https://github.com/google/oauth2client/>`_
- `pyOpenSSL <https://pyopenssl.readthedocs.io/en/stable/>`_

Test dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- `pytest <http://pytest.org/latest/>`__
- `pytest-runner <https://pypi.python.org/pypi/pytest-runner>`__
- `tox <https://testrun.org/tox/latest/>`__
- `XlsxWriter <http://xlsxwriter.readthedocs.io/>`__

Documentation
=============

http://sqlitebiter.readthedocs.org/en/latest/

0 comments on commit 2d0f0cf

Please sign in to comment.