Commit 8c5095d9 authored by Ignacio Corderi's avatar Ignacio Corderi
Browse files

Release 0.9.0

parents 45d13e2a 4916fe7d
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
.DS_STORE
build
dist
*egg-info

# Python
build/
dist/
*egg-info/
*.pyc

# IDEs
.idea/

# scripting
tmp/
+1 −1
Original line number Diff line number Diff line
[submodule "kinetic-protocol"]
	path = kinetic-protocol
	url = https://github.com/Seagate/kinetic-protocol.git
	branch = 3.0.5
	branch = 3.0.6

.travis.yml

0 → 100644
+17 −0
Original line number Diff line number Diff line
language: python

python:
    - "2.7"

install:
    - "pip install ."
    - "pip install -r requirements.txt"

env:
    KINETIC_JAR=$TRAVIS_BUILD_DIR/simulator.jar
    KINETIC_CONNECT_TIMEOUT=1.0

before_script: ./build_simulator.sh

script: nosetests
sudo: false
 No newline at end of file
+35 −2
Original line number Diff line number Diff line
Changes since 0.8.1
Changes since 0.8.2
===========================
This section will document changes to the library since the last release
>**NOTE:** this section will document changes to the library since the last release

## Important
- Kinetic Protocol version updated to [3.0.6](https://github.com/Seagate/kinetic-protocol/tree/3.0.6)
- Deprecrated classes and methods will be removed on the next major release.

## New features
- Added support for Batch operations
- Added `reverse` parameter on GetKeyRange operation 

## Major changes
- `AsyncClient` has been renamed to `Client`
- A new `SecureClient` has been added to `kinetic`.

## Minor changes
- Added env variable _KINETIC_CONNECT_TIMEOUT_ to control default connection timeout.

## Deprecated features
- Old blocking `Client` has been moved to `kinetic.depracated.BlockingClient`
- Old `AdminClient` has been moved to `kinetic.depracated.AdminClient`

## Misc
- Added alias for `AsyncClient = Client` to smooth transition.
- Added alias on `kinetic` for `AdminClient` to smooth transition.

Changes from 0.8.1 to 0.8.2
===========================

## Bug fixes
- Keys with empty values show correctly as '' instead of None
- **WRITEBACK** set as default mode for `put` and `delete` operations

## Misc
- OSX requirements for SSL connections updated.

Changes from 0.8.0 to 0.8.1
===========================
+14 −6
Original line number Diff line number Diff line
# **Kinetic-py**
[![Travis](https://img.shields.io/travis/Seagate/kinetic-py.svg)](https://travis-ci.org/Seagate/kinetic-py)
[![PyPI](https://img.shields.io/pypi/v/kinetic.svg)](https://pypi.python.org/pypi/kinetic/0.8.2)
[![PyPI](https://img.shields.io/pypi/l/kinetic.svg)](https://github.com/Seagate/kinetic-py/blob/master/LICENSE/LGPL2.1.md)

Introduction
============
The [kinetic-protocol](https://github.com/Seagate/kinetic-protocol) python client.
Requires Python 2.7.3 or higher. Python 3.x is not supported. If you want to connect through SSL on Mac OS X, you will need to have Python 2.7.9.

## Requirements
- Requires Python 2.7.3 or higher. 
- Requires Python 2.7.9 on OSX to use SSL 

> **NOTE:** Python 3.x is not supported. 
 
Installing latest stable release
================================
@@ -13,13 +23,10 @@ Installing from Source

    git clone https://github.com/Seagate/kinetic-py.git
    cd kinetic-py
    git submodule update --init
    python setup.py develop

For devices with old firmware code:

> **NOTE:** for devices with old firmware code get version 0.7.3 of the libray
    git checkout 0.7.3
    python setup.py develop

Running Tests
=============
@@ -43,10 +50,11 @@ Getting Started with the basic client
```python
from kinetic import Client
c = Client('localhost', 8123)
c.connect()
c.put('message','hello world')
print c.get('message').value
```
Should print out _hello_ _world_
Should print out _hello world_

Troubleshooting during the installation
=======================================
Loading