vincentlaucsb / pgreaper Goto Github PK
View Code? Open in Web Editor NEWA Python library for loading data from various formats into PostgreSQL databases.
License: MIT License
A Python library for loading data from various formats into PostgreSQL databases.
License: MIT License
_repr_html_()
method for Tablerepr()
prettier and more useful, e.g. showing a summary of number of columns...
(sqlify3) dave@asr:/tmp$ python -V
Python 3.5.2
(sqlify3) dave@asr:/tmp$ pip list
Package Version
---------- -------
pip 9.0.1
psycopg2 2.7.1
setuptools 36.2.0
sqlify 1.0.0b2
wheel 0.29.0
(sqlify3) dave@asr:/tmp$ python
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlify
/home/dave/.virtualenvs/sqlify3/lib/python3.5/site-packages/sqlify/config.py:108: UserWarning: No default Postgres settings found. Use sqlify.settings(username='', password='', database='', hostname='') to set them.
warnings.warn("No default Postgres settings found. Use sqlify.settings(username='', password='', database='', hostname='') to set them.")
Traceback (most recent call last):
File "/home/dave/.virtualenvs/sqlify3/lib/python3.5/site-packages/sqlify/html/parser.py", line 2, in <module>
import requests
ImportError: No module named 'requests'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/dave/.virtualenvs/sqlify3/lib/python3.5/site-packages/sqlify/__init__.py", line 55, in <module>
from .html import from_file, from_url
File "/home/dave/.virtualenvs/sqlify3/lib/python3.5/site-packages/sqlify/html/__init__.py", line 1, in <module>
from .parser import get_tables_from_file as from_file, \
File "/home/dave/.virtualenvs/sqlify3/lib/python3.5/site-packages/sqlify/html/parser.py", line 4, in <module>
except ModuleNotFoundError:
NameError: name 'ModuleNotFoundError' is not defined
>>> quit()
(sqlify2) dave@asr:/tmp$ python -V
Python 2.7.12
(sqlify2) dave@asr:/tmp$ pip list
Package Version
---------- -------
click 6.7
pip 9.0.1
psycopg2 2.7.1
setuptools 36.2.0
sqlify 1.0.0a1
wheel 0.29.0
(sqlify2) dave@asr:/tmp$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlify
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/dave/.virtualenvs/sqlify2/local/lib/python2.7/site-packages/sqlify/__init__.py", line 1, in <module>
from sqlify.sqlify import *
File "/home/dave/.virtualenvs/sqlify2/local/lib/python2.7/site-packages/sqlify/sqlify.py", line 1, in <module>
from sqlify.settings import *
ImportError: No module named settings
>>>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.