Skip to content

Commit a21cac3

Browse files
committed
add travis badge to README
1 parent fce26b8 commit a21cac3

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
- Copyright: (C) Qianqian Fang (2019-2020) <q.fang at neu.edu>
44
- License: Apache License, Version 2.0
5-
- Version: 0.3.5
5+
- Version: 0.3.6
66
- URL: https://github.com/fangq/pyjdata
77

8+
[![Build Status](https://travis-ci.com/fangq/pyjdata.svg?branch=master)](https://travis-ci.com/fangq/pyjdata)
89

910
The [JData Specification](https://github.com/fangq/jdata/) defines a lightweight
1011
language-independent data annotation interface targetted at
@@ -19,9 +20,18 @@ programs of different languages.
1920
* Github: download from https://github.com/fangq/pyjdata
2021
* PIP: run `pip install jdata` see https://pypi.org/project/jdata/
2122

22-
Optional Dependency (if reading or writing Binary JData/UBJSON files):
23+
This package can also be installed on Ubuntu (Debian package is currently under
24+
review) via
25+
```
26+
sudo add-apt-repository ppa:fangq/ppa
27+
sudo apt-get update
28+
sudo apt-get install python-jdata python3-jdata
29+
```
30+
31+
Dependencies:
2332
* **bjdata**: PIP: run `pip install bjdata` see https://pypi.org/project/bjdata/
2433
* **numpy**: PIP: run `pip install numpy` or `sudo apt-get install python-numpy`
34+
* **backports.lzma**: PIP: run `pip install backports.lzma` (needed for Python 2.7)
2535

2636
Replacing `pip` by `pip3` if you are using Python 3.x. If either `pip` or `pip3`
2737
does not exist on your system, please run
@@ -74,5 +84,8 @@ newdata=jd.load('test.json')
7484
newdata
7585
```
7686

87+
To see additional data type support, please run the built-in test using below command
7788

78-
89+
```
90+
python -m unittest discover -v test
91+
```

jdata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
from .jfile import load, save, show, loadt, savet, loadb, saveb, jext
3737
from .jdata import encode, decode, jdtype, jsonfilter
3838

39-
__version__ = '0.3.5'
39+
__version__ = '0.3.6'
4040
__all__ = ['load','save','show','loadt', 'savet', 'loadb', 'saveb','encode', 'decode', 'jdtype','jsonfilter','jext']
4141
__license__ = """Apache license 2.0, Copyright (c) 2019-2020 Qianqian Fang"""
4242

0 commit comments

Comments
 (0)