wouter bolsterlee
3ff63c89fa
remove broken bitdeli badge from readme
2017-04-03 23:17:18 +02:00
wouter bolsterlee
a1f2ffa867
prepare for 1.1.0 release
2017-04-03 23:11:47 +02:00
Wouter Bolsterlee
33b7700375
Merge pull request #155 from seanpmorgan/reversed-scan
...
Adding reversed scanner, and new compat mode 0.98
2017-01-31 10:48:06 +01:00
Sean Morgan
ba76beee9d
Rename to reverse, minor code fixes
2017-01-30 12:28:48 -05:00
Sean Morgan
e085b9c1b6
Adding reversed scanner, and new compat mode 0.98
2017-01-30 11:26:30 -05:00
Wouter Bolsterlee
e836657732
Merge pull request #146 from ecederstrand/patch-1
...
Set socket timeout unconditionally on TSocket
2016-12-14 20:49:28 +01:00
Erik Cederstrand
ed95537d02
Set socket timeout unconditionally on TSocket
...
Since thriftpy 0.3.3, there has been a `socket_timeout` option to `TSocket`. The default is 3000 ms. Setting it to `None` means "never timeout". Remove the `if self.timeout is not None` conditional so a value of `None` can also be set explicitly from happybase.
2016-11-29 15:34:48 +01:00
Wouter Bolsterlee
2a3f51efa9
Merge pull request #140 from OldPanda/docstring_typo_fix
...
Fixed typo in docstring of method scan()
2016-09-15 12:04:20 +02:00
OldPanda
ea71bdff8b
fixed typo in docstring of method scan()
2016-09-14 11:00:25 -07:00
Wouter Bolsterlee
2b521841ca
Prepare for 1.0.0 release
2016-08-13 16:24:52 +02:00
Wouter Bolsterlee
3c09ff0f70
Add release date stub in NEWS
2016-08-01 22:56:46 +02:00
Wouter Bolsterlee
06108ce838
Avoid thriftpy import hook
...
...since it's a global thing. Make importing more explicit by specifying
a path (using pkg_resources) to the .thrift file and loading it
explicitly.
2016-08-01 22:45:09 +02:00
Wouter Bolsterlee
f536bdaabf
Add Python 3.4 to tox.ini env list
2016-08-01 22:35:19 +02:00
Wouter Bolsterlee
ac46d9bbc5
Tweak tests for Python 3.4 compatibility
2016-08-01 22:35:12 +02:00
Wouter Bolsterlee
6034694dff
Update NEWS for upcoming release
2016-08-01 22:27:35 +02:00
Wouter Bolsterlee
04eae0b3c4
Merge pull request #116 from wbolster/python3
...
Python 3 compatibility
2016-08-01 19:58:18 +02:00
Wouter Bolsterlee
fc506cda98
Fix outdated comment
2016-07-28 09:46:42 +02:00
Wouter Bolsterlee
fd0d175b60
Mention Python 3 in setup.py trove classifiers
2016-07-28 09:45:29 +02:00
Wouter Bolsterlee
eae66a37fa
Use byte strings and print() function in example code
2016-07-28 09:43:46 +02:00
Wouter Bolsterlee
ec5178d9b1
Update notes about strings/bytes in documentation
2016-07-27 19:23:45 +02:00
Wouter Bolsterlee
1716721893
Remove execfile() from doc config file
...
...since Python 3 does not have that function anymore.
2016-07-27 19:14:44 +02:00
Wouter Bolsterlee
c470029ba7
Remove Python 3 support from todo list
2016-07-27 19:09:40 +02:00
Wouter Bolsterlee
0903fe261a
Update tests for Python 3 compatibility
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
c788d830b1
Allow table names to be specified as binary or text
...
In HBase, the name is a byte string, but transparently encoding text
using UTF-8 allows for cleaner code on the Python side. This makes code
like
connection.table("sometable")
work on both Python 3 and 2.
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
76ed812f5f
Rewrite str_increment() as bytes_increment()
...
...and make it work on both Python 3 and 2.
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
5cdd102b78
Column families are byte strings
...
...hence require splitting using a byte string.
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
43f93ae7ae
Clean up helpers to transform rows and cell values
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
f61a5ec420
Add ensure_bytes() helper
...
...to coerce unicode text into UTF-8 encoded byte strings.
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
c913e7c950
Use list comprehension instead of calling map()
...
...which behaves differently on Python 3.
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
f565282212
Use six.iteritems()
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
75356bf802
Accept both text and binary for table prefix args
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
a8cf18312b
Use range() instead of xrange()
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
c67ceaab04
Use Python 3 compatible 'queue' import
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
a5b32210d0
Add 'six' dependency
2016-07-27 19:08:46 +02:00
Wouter Bolsterlee
56c900f94c
Add py35 environment to tox.ini
2016-07-27 19:08:20 +02:00
Wouter Bolsterlee
78470a85ab
Bump thriftpy dependency to 0.3.8
...
Fixes #118 .
2016-07-27 19:07:54 +02:00
Wouter Bolsterlee
5a7a29bd83
Merge pull request #128 from adamchainz/readthedocs.io
...
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-06-24 18:30:10 +02:00
Adam Chainz
a3e2890600
Convert readthedocs links for their .org -> .io migration for hosted projects
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-06-16 22:20:07 +01:00
Wouter Bolsterlee
a77c71efc5
Merge pull request #114 from wbolster/port-to-thriftpy
...
Port to thriftpy
2016-03-27 21:59:08 +02:00
Wouter Bolsterlee
f66c7978d2
Ship .thrift file so that thriftpy can load it
2016-03-27 21:46:49 +02:00
Wouter Bolsterlee
ad2c660345
Remove generated code from thrift "compiler"
2016-03-27 21:46:49 +02:00
Wouter Bolsterlee
9212da0fd4
Port to thriftpy
2016-03-27 21:46:42 +02:00
Wouter Bolsterlee
1ded319c92
Do not include requirements file for tests in dist
2016-03-27 21:42:25 +02:00
Wouter Bolsterlee
9cbd718c10
Merge pull request #78 from dhellmann/allow-bdist-wheel
...
Enable building universal wheels
2015-06-11 12:29:21 +02:00
Wouter Bolsterlee
8963486da6
Merge pull request #95 from dhermes/update-todo-re-py3
...
Updating TODO to reflect Py3 support in Thrift.
2015-06-10 10:26:07 +02:00
Danny Hermes
2a7154008d
Updating TODO to reflect Py3 support in Thrift.
2015-06-09 19:33:57 -07:00
Doug Hellmann
0c7f3d3825
Enable building universal wheels
...
Remove the use of execfile() in setup.py so it can run under python 3.
Set the flag in setup.cfg to allow universal wheels.
2015-01-12 17:13:13 -05:00
Wouter Bolsterlee
6205177b34
Avoid useless round-trip when using scan(limit=...)
...
See #73 .
2014-11-29 20:37:41 +01:00
Wouter Bolsterlee
ad2673e38f
Simplify scanner logic: always use scannerGetList
2014-11-29 20:22:08 +01:00
Wouter Bolsterlee
afa022f8c6
Fix typos in NEWS
2014-11-24 23:31:47 +01:00