Skip to content

Commit e9b111e

Browse files
committed
bump version to 0.4.0, add numpy ndarray/scalar encoding/decoding
1 parent b764979 commit e9b111e

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
- Copyright: (C) Qianqian Fang (2020-2022) <q.fang at neu.edu>
66
- Copyright: (C) Iotic Labs Ltd. (2016-2019) <vilnis.termanis at iotic-labs.com>
77
- License: Apache License, Version 2.0
8-
- Version: 0.3.4
8+
- Version: 0.4.0
99
- URL: https://pypi.org/project/bjdata/
1010
- Github: https://github.com/NeuroJSON/pybj
1111
- BJData Spec Version: [V1 Draft 2](https://neurojson.org/bjdata/draft2)
1212
- Acknowledgement: This project is supported by US National Institute of Health (NIH) grant U24-NS124027
1313

1414
[![Build Status](https://travis-ci.com/NeuroJSON/pybj.svg?branch=master)](https://travis-ci.com/NeuroJSON/pybj)
1515

16-
This is a Python v3.2+ (and 2.7+) [Binary JData](http://neurojson.org) based on
17-
the [Draft-2](Binary_JData_Specification.md) specification.
16+
This is a Python v3.2+ (and 2.7+) [Binary JData](https://neurojson.org) encoder
17+
and decoder based on the [Draft-2](Binary_JData_Specification.md) specification.
1818

1919
## Installing / packaging
2020
```shell
@@ -32,7 +32,7 @@ pip3 install bjdata --user
3232
## To get from PyPI via python
3333
python3 -mpip install bjdata
3434

35-
## To only build extension modules inline (e.g. in repository)
35+
## To only build extension modules in-place (e.g. in repository)
3636
python3 setup.py build_ext -i
3737

3838
## To build & install globally
@@ -127,6 +127,7 @@ pip install -e .[dev]
127127
- Strongly-typed containers are only supported by the decoder (apart from for
128128
**bytes**/**bytearray**) and not for No-Op.
129129
- Encoder/decoder extensions are not supported at this time.
130+
- Encoder/decoder only support numpy NDarrays and scalars, other numpy types are not supported.
130131

131132

132133
## Acknowledgement

bjdata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
from .encoder import EncoderException
3939
from .decoder import DecoderException
4040

41-
__version__ = '0.3.4'
41+
__version__ = '0.4.0'
4242

4343
__all__ = ('EXTENSION_ENABLED', 'dump', 'dumpb', 'EncoderException', 'load', 'loadb', 'DecoderException')

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def build_extension(self, ext):
7373

7474
setup(
7575
name='bjdata',
76-
version='0.3.4',
76+
version='0.4.0',
7777
description='Binary JData and UBJSON encoder/decoder',
7878
long_description=load_description('README.md'),
7979
long_description_content_type='text/markdown',
@@ -117,6 +117,7 @@ def build_extension(self, ext):
117117
'Programming Language :: Python :: 3.6',
118118
'Programming Language :: Python :: 3.7',
119119
'Programming Language :: Python :: 3.8',
120+
'Programming Language :: Python :: 3.9',
120121
'Topic :: Software Development :: Libraries',
121122
'Topic :: Software Development :: Libraries :: Python Modules'
122123
]

0 commit comments

Comments
 (0)